mcp

Search, label, and manage your X (Twitter) bookmarks from any MCP client via Tweetsmash

¿Debería usar esto?

Calidad y seguridad

A
Calidad de la descripción
99%
Integridad del esquema
74%
Calidad de los nombres
95%
Riesgo de envenenamiento
100%
Coincidencia de permisos
100%
Cumplimiento del protocolo
100%

Basado en el análisis automatizado de las definiciones de herramientas y el cumplimiento del protocolo.

Costo de contexto

~10,454Tokens (definiciones de herramientas)
~1.2 KBTamaño de respuesta típico
Impacto significativo en la atención (8.17% del contexto de 128k)

Este es el número aproximado de tokens que se consumen cada vez que las herramientas del servidor se cargan en el contexto de un modelo. Los recuentos más altos reducen la atención disponible para otras tareas.

Instalar

Instalación con un clic

Agrega esto a tu archivo `claude_desktop_config.json`:

{
  "mcpServers": {
    "mcp": {
      "url": "https://mcp.tweetsmash.com/api/mcp"
    }
  }
}

Puntos de conexión remotos

https://mcp.tweetsmash.com/api/mcpstreamable-http

Qué puede hacer

Inventario de herramientas

Herramientas (53)

🟢 Solo lectura🟡 Escritura🔴 Eliminación⚪ Desconocido
🟢list_bookmarks(is_unread_only, hide_archived, media_type, author, tag, ...)

List the user's Twitter BOOKMARKS — posts they deliberately saved. Never includes X Likes; use list_likes for those. Supports filtering and pagination. Supports filtering by read status, media type, author, tags, date ranges, and sorting options. IMPORTANT: Use this tool (with the 'author' parameter) when the user asks to show tweets by a specific author.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "is_unread_only": {
      "type": "boolean",
      "description": "Filter to only unread bookmarks"
    },
    "hide_archived": {
      "type": "boolean",
      "description": "Hide archived bookmarks"
    },
    "media_type": {
      "type": "string",
      "enum": [
        "thread",
        "media",
        "replies",
        "notes",
        "links",
        "article"
      ],
      "description": "Filter by kind: thread · media (images/video) · replies · notes · links (posts linking out) · article (a native X Article — use this when someone says \"article\", not `links`)"
    },
    "author": {
      "type": "string",
      "description": "Filter by author username. Use this parameter when the user wants to find tweets by a specific author (e.g., 'Show tweets by @user'). Do NOT use 'q' for author names."
    },
    "tag": {
      "type": "string",
      "description": "Filter by tag"
    },
    "posted_from": {
      "type": "string",
      "description": "Filter tweets posted after this date (ISO 8601 string)"
    },
    "posted_to": {
      "type": "string",
      "description": "Filter tweets posted before this date (ISO 8601 string)"
    },
    "bookmarked_from": {
      "type": "string",
      "description": "Filter bookmarks added after this date (ISO 8601 string)"
    },
    "bookmarked_to": {
      "type": "string",
      "description": "Filter bookmarks added before this date (ISO 8601 string)"
    },
    "limit": {
      "type": "number",
      "minimum": 1,
      "maximum": 100,
      "default": 20,
      "description": "Number of bookmarks to retrieve (1-100)"
    },
    "cursor": {
      "type": "string",
      "description": "Pagination cursor for next page"
    },
    "sort_by": {
      "type": "string",
      "enum": [
        "POSTED_DATE_ASC",
        "POSTED_DATE_DESC",
        "OLDEST_FIRST",
        "NEWEST_FIRST"
      ],
      "default": "NEWEST_FIRST",
      "description": "Sort order for results"
    },
    "sort_cursor": {
      "type": "string",
      "description": "Cursor for pagination when using sort_by (use value from meta.sort_cursor of previous response)"
    }
  },
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢list_likes(is_unread_only, hide_archived, media_type, author, tag, ...)

List the posts the user LIKED on X (not their bookmarks). Likes are a lighter signal than a save — use list_bookmarks for things the user deliberately saved, and this when the user explicitly asks about likes or about what they react to. Same filters and pagination as list_bookmarks.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "is_unread_only": {
      "type": "boolean",
      "description": "Filter to only unread bookmarks"
    },
    "hide_archived": {
      "type": "boolean",
      "description": "Hide archived bookmarks"
    },
    "media_type": {
      "type": "string",
      "enum": [
        "thread",
        "media",
        "replies",
        "notes",
        "links",
        "article"
      ],
      "description": "Filter by kind: thread · media (images/video) · replies · notes · links (posts linking out) · article (a native X Article — use this when someone says \"article\", not `links`)"
    },
    "author": {
      "type": "string",
      "description": "Filter by author username. Use this parameter when the user wants to find tweets by a specific author (e.g., 'Show tweets by @user'). Do NOT use 'q' for author names."
    },
    "tag": {
      "type": "string",
      "description": "Filter by tag"
    },
    "posted_from": {
      "type": "string",
      "description": "Filter tweets posted after this date (ISO 8601 string)"
    },
    "posted_to": {
      "type": "string",
      "description": "Filter tweets posted before this date (ISO 8601 string)"
    },
    "bookmarked_from": {
      "type": "string",
      "description": "Filter bookmarks added after this date (ISO 8601 string)"
    },
    "bookmarked_to": {
      "type": "string",
      "description": "Filter bookmarks added before this date (ISO 8601 string)"
    },
    "limit": {
      "type": "number",
      "minimum": 1,
      "maximum": 100,
      "default": 20,
      "description": "Number of bookmarks to retrieve (1-100)"
    },
    "cursor": {
      "type": "string",
      "description": "Pagination cursor for next page"
    },
    "sort_by": {
      "type": "string",
      "enum": [
        "POSTED_DATE_ASC",
        "POSTED_DATE_DESC",
        "OLDEST_FIRST",
        "NEWEST_FIRST"
      ],
      "default": "NEWEST_FIRST",
      "description": "Sort order for results"
    },
    "sort_cursor": {
      "type": "string",
      "description": "Cursor for pagination when using sort_by (use value from meta.sort_cursor of previous response)"
    }
  },
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢search_bookmarks(is_unread_only, hide_archived, media_type, author, tag, ...)

Search through a user's Twitter bookmarks using keyword search (q), semantic search (vector_search_term), or author filtering (author). At least one of q, vector_search_term, or author should be provided. IMPORTANT: Use the 'author' parameter for filtering by author, not the 'q' field.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "is_unread_only": {
      "type": "boolean",
      "description": "Filter to only unread bookmarks"
    },
    "hide_archived": {
      "type": "boolean",
      "description": "Hide archived bookmarks"
    },
    "media_type": {
      "type": "string",
      "enum": [
        "thread",
        "media",
        "replies",
        "notes",
        "links",
        "article"
      ],
      "description": "Filter by kind: thread · media (images/video) · replies · notes · links (posts linking out) · article (a native X Article — use this when someone says \"article\", not `links`)"
    },
    "author": {
      "type": "string",
      "description": "Filter by author username. Use this parameter when the user wants to find tweets by a specific author (e.g., 'Show tweets by @user'). Do NOT use 'q' for author names."
    },
    "tag": {
      "type": "string",
      "description": "Filter by tag"
    },
    "posted_from": {
      "type": "string",
      "description": "Filter tweets posted after this date (ISO 8601 string)"
    },
    "posted_to": {
      "type": "string",
      "description": "Filter tweets posted before this date (ISO 8601 string)"
    },
    "bookmarked_from": {
      "type": "string",
      "description": "Filter bookmarks added after this date (ISO 8601 string)"
    },
    "bookmarked_to": {
      "type": "string",
      "description": "Filter bookmarks added before this date (ISO 8601 string)"
    },
    "q": {
      "type": "string",
      "minLength": 1,
      "description": "Keyword or text search query for finding bookmarks by exact words or phrases in tweet content. Do NOT use this for author names - use the 'author' parameter instead."
    },
    "vector_search_term": {
      "type": "string",
      "minLength": 1,
      "description": "Semantic search query for retrieving bookmarks based on meaning and context, not just keywords. Use for natural language questions or topic-based searches."
    },
    "limit": {
      "type": "number",
      "minimum": 1,
      "maximum": 100,
      "default": 20,
      "description": "Number of bookmarks to retrieve (1-100)"
    },
    "cursor": {
      "type": "string",
      "description": "Pagination cursor for next page"
    },
    "sort_by": {
      "type": "string",
      "enum": [
        "POSTED_DATE_ASC",
        "POSTED_DATE_DESC",
        "OLDEST_FIRST",
        "NEWEST_FIRST"
      ],
      "default": "NEWEST_FIRST",
      "description": "Sort order for results"
    },
    "sort_cursor": {
      "type": "string",
      "description": "Cursor for pagination when using sort_by (use value from meta.sort_cursor of previous response)"
    }
  },
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢get_bookmark_count(is_unread_only, hide_archived, media_type, author, tag, ...)

Get the total count of user's bookmarks with optional filtering. Useful for understanding the size of bookmark collections before listing them.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "is_unread_only": {
      "type": "boolean",
      "description": "Filter to only unread bookmarks"
    },
    "hide_archived": {
      "type": "boolean",
      "description": "Hide archived bookmarks"
    },
    "media_type": {
      "type": "string",
      "enum": [
        "thread",
        "media",
        "replies",
        "notes",
        "links",
        "article"
      ],
      "description": "Filter by kind: thread · media (images/video) · replies · notes · links (posts linking out) · article (a native X Article — use this when someone says \"article\", not `links`)"
    },
    "author": {
      "type": "string",
      "description": "Filter by author username. Use this parameter when the user wants to find tweets by a specific author (e.g., 'Show tweets by @user'). Do NOT use 'q' for author names."
    },
    "tag": {
      "type": "string",
      "description": "Filter by tag"
    },
    "posted_from": {
      "type": "string",
      "description": "Filter tweets posted after this date (ISO 8601 string)"
    },
    "posted_to": {
      "type": "string",
      "description": "Filter tweets posted before this date (ISO 8601 string)"
    },
    "bookmarked_from": {
      "type": "string",
      "description": "Filter bookmarks added after this date (ISO 8601 string)"
    },
    "bookmarked_to": {
      "type": "string",
      "description": "Filter bookmarks added before this date (ISO 8601 string)"
    }
  },
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢list_labels

List all user's labels with their usage counts. Useful for discovering existing labels before adding new ones.

Esquema de entrada

{
  "type": "object",
  "properties": {},
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟡add_labels_to_tweets(tweet_ids, label_id, label_name)

Add a label to a list of tweets. Can use an existing label by ID or create a new label by name. Either label_id or label_name must be provided.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "tweet_ids": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "minItems": 1,
      "description": "Array of tweet IDs to add the label to"
    },
    "label_id": {
      "type": "string",
      "description": "ID of existing label (use either label_id or label_name)"
    },
    "label_name": {
      "type": "string",
      "description": "Name of the label to create/add (use either label_id or label_name)"
    }
  },
  "required": [
    "tweet_ids"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🔴remove_labels_from_tweets(tweet_ids, label_name)

Remove a label from a list of tweets using label_name.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "tweet_ids": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "minItems": 1,
      "description": "Array of tweet IDs to remove label from"
    },
    "label_name": {
      "type": "string",
      "minLength": 1,
      "description": "Name of the label to remove"
    }
  },
  "required": [
    "tweet_ids",
    "label_name"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🔴delete_label(label_name, label_id)

Delete a label from the account entirely — the label itself plus every bookmark's assignment of it. The BOOKMARKS are not deleted; they simply lose this label. IRREVERSIBLE: before calling, tell the user how many bookmarks carry the label (list_labels returns the count) and get an explicit yes. To take a label off SOME bookmarks instead, use remove_labels_from_tweets. If the name matches more than one label the call fails with the candidates — re-run with label_id.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "label_name": {
      "type": "string",
      "minLength": 1,
      "description": "Name of the label to delete, exactly as it appears in list_labels."
    },
    "label_id": {
      "type": [
        "string",
        "number"
      ],
      "description": "The label's id. Use this when a name matched more than one label."
    }
  },
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢setup_vector_store

Initialize the vector store for semantic bookmark search. CRITICAL: When vector/semantic search fails with 'Vector Store Not Setup' error, call this tool. This is an async operation that may take a few minutes for large bookmark collections.

Esquema de entrada

{
  "type": "object",
  "properties": {},
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢list_skills

START HERE for any open-ended request. Lists the task playbooks this server supports — systematic learning from bookmarks, organising into themes, cleaning up, X-list intelligence, exporting data out, finding a half-remembered save, digests, and diagnosing sync. Each names when to use it; call get_skill for the exact tool sequence.

Esquema de entrada

{
  "type": "object",
  "properties": {},
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢get_skill(name)

Get the full playbook for a task: when to use it, the exact tool sequence with the arguments that matter, tips, and the pitfalls that cause empty results. `name` takes EITHER an exact skill name (learn_from_bookmarks, organise_into_themes, cleanup_library, list_intelligence, get_my_data_out, find_that_thing, stay_on_top, diagnose_sync, connect_your_tool) OR a plain description of the job — both resolve. You do NOT need list_skills first: if you already know what the user is trying to do, call this directly with their request and skip the round trip. Reach for list_skills only to browse what exists.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "Either an exact skill name (learn_from_bookmarks, organise_into_themes, cleanup_library, list_intelligence, get_my_data_out, find_that_thing, stay_on_top, diagnose_sync) or a plain description of the job — the closest match is returned either way, so passing the user's own words is fine."
    }
  },
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢get_library_overview

A snapshot of the whole library: total bookmarks, unread, untagged, breakdown by type (threads/media/links/notes), every label with its count, and the years covered. Use this FIRST for anything open-ended (organise, clean up, learn from my saves, 'how many do I have per topic') instead of paging through bookmarks.

Esquema de entrada

{
  "type": "object",
  "properties": {},
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢search_docs(query)

Answer questions about Tweetsmash itself — features, how-to, pricing, plans, limits, account/subscription. Searches the bundled product guide and returns the most relevant sections for you to answer from. Call with an empty query to list the help topics.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "query": {
      "type": "string",
      "description": "What the user is asking about the product (pricing, a feature, how-to). Empty returns the list of help topics."
    }
  },
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢get_bookmark(id, include)

Get a single saved bookmark with FULL content in one call — the full X Article body, the unrolled thread, notes, and (optionally) replies. Use `include` (comma list of article,thread,notes,replies) to narrow it; defaults to article,thread,notes. Use this when the user wants to read or summarize a specific saved tweet/thread/article in depth.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "minLength": 1,
      "description": "The tweet/bookmark id to fetch."
    },
    "include": {
      "type": "string",
      "description": "Comma list of extra content to include: article,thread,notes,replies. Defaults to article,thread,notes."
    }
  },
  "required": [
    "id"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟡tag_bookmarks_by_filter(is_unread_only, hide_archived, media_type, author, tag, ...)

Add a label to EVERY bookmark matching a filter, in a single call. Prefer this over listing then looping when the user says 'tag all my … as …'. Resolves an author name to its id automatically. Reports matched/tagged/failed counts.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "is_unread_only": {
      "type": "boolean",
      "description": "Filter to only unread bookmarks"
    },
    "hide_archived": {
      "type": "boolean",
      "description": "Hide archived bookmarks"
    },
    "media_type": {
      "type": "string",
      "enum": [
        "thread",
        "media",
        "replies",
        "notes",
        "links",
        "article"
      ],
      "description": "Filter by kind: thread · media (images/video) · replies · notes · links (posts linking out) · article (a native X Article — use this when someone says \"article\", not `links`)"
    },
    "author": {
      "type": "string",
      "description": "Filter by author username. Use this parameter when the user wants to find tweets by a specific author (e.g., 'Show tweets by @user'). Do NOT use 'q' for author names."
    },
    "tag": {
      "type": "string",
      "description": "Filter by tag"
    },
    "posted_from": {
      "type": "string",
      "description": "Filter tweets posted after this date (ISO 8601 string)"
    },
    "posted_to": {
      "type": "string",
      "description": "Filter tweets posted before this date (ISO 8601 string)"
    },
    "bookmarked_from": {
      "type": "string",
      "description": "Filter bookmarks added after this date (ISO 8601 string)"
    },
    "bookmarked_to": {
      "type": "string",
      "description": "Filter bookmarks added before this date (ISO 8601 string)"
    },
    "q": {
      "type": "string",
      "description": "Keyword search to scope which bookmarks get tagged."
    },
    "label_id": {
      "type": "string",
      "description": "Existing label id (use label_id or label_name)."
    },
    "label_name": {
      "type": "string",
      "description": "Label to create/apply (use label_id or label_name)."
    }
  },
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🔴archive_bookmarks(action, tweet_ids)

Archive, unarchive, delete, undelete, or mark read/unread a list of bookmarks by id (max 500). This is a bulk write; for destructive actions (delete) confirm with the user first. Reports how many changed.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "action": {
      "type": "string",
      "enum": [
        "archive",
        "unarchive",
        "delete",
        "undelete",
        "read",
        "unread"
      ],
      "description": "The action to apply."
    },
    "tweet_ids": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "minItems": 1,
      "description": "Bookmark ids to act on (max 500)."
    }
  },
  "required": [
    "action",
    "tweet_ids"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🔴archive_bookmarks_by_filter(action, search_query, filter, value, tags)

Apply archive/unarchive/delete/undelete to EVERY bookmark matching a filter, in one call. Destructive by nature — confirm with the user before delete. Reports counts.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "action": {
      "type": "string",
      "enum": [
        "archive",
        "unarchive",
        "delete",
        "undelete"
      ],
      "description": "The action to apply to every match."
    },
    "search_query": {
      "type": "string"
    },
    "filter": {
      "type": "string"
    },
    "value": {
      "type": "string"
    },
    "tags": {
      "type": "array",
      "items": {
        "type": "string"
      }
    }
  },
  "required": [
    "action"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢list_smart_views

List the user's Smart Views (saved filtered views). Each has a slug you pass to the other smart-view tools.

Esquema de entrada

{
  "type": "object",
  "properties": {},
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢get_smart_view(slug)

Get a single Smart View by slug (its filter, tabs/buckets, and sort).

Esquema de entrada

{
  "type": "object",
  "properties": {
    "slug": {
      "type": "string",
      "minLength": 1,
      "description": "The smart view slug."
    }
  },
  "required": [
    "slug"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢get_smart_view_bookmarks(slug, bucket, limit, cursor)

List the bookmarks inside a Smart View, optionally scoped to one tab/bucket. Use the returned ids with archive_bookmarks / tagging tools to act on the view.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "slug": {
      "type": "string",
      "minLength": 1,
      "description": "The smart view slug."
    },
    "bucket": {
      "type": "string",
      "description": "Which tab/bucket of the view to read (default: all)."
    },
    "limit": {
      "type": "number",
      "minimum": 1,
      "maximum": 100,
      "description": "Page size (1-100)."
    },
    "cursor": {
      "type": "number",
      "description": "Numeric offset for the next page."
    }
  },
  "required": [
    "slug"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟡create_smart_view(name, description, base_query, triage_buckets, default_sort)

Create a Smart View from a filter so the user can reuse it. Provide a name and the base_query (filter).

Esquema de entrada

{
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "minLength": 1,
      "description": "View name."
    },
    "description": {
      "type": "string"
    },
    "base_query": {
      "type": "string",
      "description": "The filter query that defines the view."
    },
    "triage_buckets": {
      "description": "Optional tab/bucket definitions."
    },
    "default_sort": {
      "type": "string"
    }
  },
  "required": [
    "name"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟡update_smart_view(slug, name, description, base_query, triage_buckets, ...)

Update a Smart View (name, filter, tabs, sort) by slug.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "slug": {
      "type": "string",
      "minLength": 1,
      "description": "The smart view slug to update."
    },
    "name": {
      "type": "string"
    },
    "description": {
      "type": "string"
    },
    "base_query": {
      "type": "string"
    },
    "triage_buckets": {},
    "default_sort": {
      "type": "string"
    }
  },
  "required": [
    "slug"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🔴delete_smart_view(slug)

Delete a Smart View by slug.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "slug": {
      "type": "string",
      "minLength": 1,
      "description": "The smart view slug."
    }
  },
  "required": [
    "slug"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟡create_share_link(tweet_ids, search_query, filter, value, tags)

Create a public, read-only share link for a set of bookmarks (explicit ids or everything matching a filter). Returns a share_url valid for 7 days. Free plans share up to 10 bookmarks.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "tweet_ids": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Explicit ids to export. Omit to export everything matching the filter, or the whole library."
    },
    "search_query": {
      "type": "string"
    },
    "filter": {
      "type": "string"
    },
    "value": {
      "type": "string"
    },
    "tags": {
      "type": "array",
      "items": {
        "type": "string"
      }
    }
  },
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🔴revoke_share_link(token)

Revoke a previously created share link by its token.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "token": {
      "type": "string",
      "minLength": 1,
      "description": "The share link token to revoke."
    }
  },
  "required": [
    "token"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
⚪trigger_pdf_export(tweet_ids, search_query, filter, value, tags)

Start a PDF export of the user's bookmarks (explicit ids, everything matching a filter, or the whole library). Returns a job id; tell the user the file will appear in the Export Center.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "tweet_ids": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Explicit ids to export. Omit to export everything matching the filter, or the whole library."
    },
    "search_query": {
      "type": "string"
    },
    "filter": {
      "type": "string"
    },
    "value": {
      "type": "string"
    },
    "tags": {
      "type": "array",
      "items": {
        "type": "string"
      }
    }
  },
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
⚪trigger_csv_export(tweet_ids, search_query, filter, value, tags)

Start a CSV export (explicit ids, a filter, or the whole library). Returns a job id; the file appears in the Export Center.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "tweet_ids": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Explicit ids to export. Omit to export everything matching the filter, or the whole library."
    },
    "search_query": {
      "type": "string"
    },
    "filter": {
      "type": "string"
    },
    "value": {
      "type": "string"
    },
    "tags": {
      "type": "array",
      "items": {
        "type": "string"
      }
    }
  },
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
⚪trigger_json_export(tweet_ids, search_query, filter, value, tags)

Start a JSON export (explicit ids, a filter, or the whole library). Returns a job id; the file appears in the Export Center.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "tweet_ids": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Explicit ids to export. Omit to export everything matching the filter, or the whole library."
    },
    "search_query": {
      "type": "string"
    },
    "filter": {
      "type": "string"
    },
    "value": {
      "type": "string"
    },
    "tags": {
      "type": "array",
      "items": {
        "type": "string"
      }
    }
  },
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢list_digest_preferences

List the user's email-digest schedules (frequency, time, paused state) for bookmark and Smart View digests.

Esquema de entrada

{
  "type": "object",
  "properties": {},
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟡update_digest_preference(id, is_enabled, is_paused, send_frequency, week_info, ...)

Update a digest schedule (enable/pause, frequency, time) by id.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "minLength": 1,
      "description": "The digest preference id to update."
    },
    "is_enabled": {
      "type": "boolean"
    },
    "is_paused": {
      "type": "boolean"
    },
    "send_frequency": {
      "type": "string",
      "description": "e.g. DAILY, WEEKLY."
    },
    "week_info": {},
    "schedule_time": {
      "type": "string"
    },
    "time_to_read": {}
  },
  "required": [
    "id"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🔴delete_digest_preference(id)

Remove a digest schedule by id.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "minLength": 1,
      "description": "The digest preference id."
    }
  },
  "required": [
    "id"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢list_past_digests

List past digests sent to the user's email, newest first. This is Digest 1.0 (the cluster pipeline). For the AI-composed Digest 2.0, use list_mash_digests.

Esquema de entrada

{
  "type": "object",
  "properties": {},
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢list_mash_digests

The user's Mash Digest 2.0 digests — the AI-composed ones. An account can have SEVERAL (a morning read and an evening skim are two digests, not two sections of one), so START HERE and use the returned `id` for the other digest tools. Returns each digest's name, where its sections read from, and its schedule.

Esquema de entrada

{
  "type": "object",
  "properties": {},
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢list_mash_digest_issues(digest_id, limit)

Past issues of the user's Digest 2.0, newest first — what arrived and when. Deliberately WITHOUT the content: pick one and call get_mash_digest_issue for the whole thing. Pass digest_id to narrow to one digest.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "digest_id": {
      "type": "string",
      "description": "Narrow to one digest (from list_mash_digests). Omit for every digest."
    },
    "limit": {
      "type": "integer",
      "minimum": 1,
      "maximum": 100,
      "description": "How many issues, newest first. Default 20."
    }
  },
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢get_mash_digest_issue(issue_id)

One digest issue in full: its title, intro, every section, and per item the summary, why it was picked and why it matters to this user. Use it to answer 'what was in my digest?', 'why was this in there?' or to carry on a conversation about something the user just read. Items carry tweet IDS, not post text — resolve them with get_bookmark if the user asks about a specific post.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "issue_id": {
      "type": "string",
      "minLength": 1,
      "description": "The issue id, from list_mash_digest_issues."
    }
  },
  "required": [
    "issue_id"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢compose_mash_digest(digest_id)

Compose one of the user's Digest 2.0 digests NOW rather than waiting for its schedule. SPENDS A DIGEST CREDIT and takes about a minute, so only call it when the user asks for a fresh digest — not to inspect the current one (use get_mash_digest_issue for that). Returns an issue_id to read back once composing finishes.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "digest_id": {
      "type": "string",
      "minLength": 1,
      "description": "Which digest to compose, from list_mash_digests."
    }
  },
  "required": [
    "digest_id"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢get_sync_status

Show the user's app-sync integrations (Notion, Google Sheets, Zotero): whether each is connected/enabled, synced vs pending counts, and any errors.

Esquema de entrada

{
  "type": "object",
  "properties": {},
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢get_bookmark_sync_status(tweet_id, connect_id)

Show whether a specific bookmark has synced to a given integration connection.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "tweet_id": {
      "type": "string",
      "minLength": 1
    },
    "connect_id": {
      "type": "string",
      "minLength": 1,
      "description": "The integration connection id."
    }
  },
  "required": [
    "tweet_id",
    "connect_id"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢list_twitter_lists

List the X (Twitter) lists the user follows in Tweetsmash. Returns each list's name plus its `connect_id` — pass that to get_list_tweets / send_list_digest. START HERE for any 'what's in my list' request.

Esquema de entrada

{
  "type": "object",
  "properties": {},
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢get_list_tweets(connect_id, hours, sort, limit, max_age_hours)

Get recent tweets for a followed X list — the latest, or (sort=POPULARITY) the top/trending tweets in a look-back window. Serves a cached copy when it's fresh and otherwise fetches from X automatically, so it always returns real tweets; `meta.source` says cache or fetched and `meta.cache_age_hours` how old it is. Pass max_age_hours:0 to force a refresh. Get connect_id from list_twitter_lists. hours defaults to 24.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "connect_id": {
      "type": "string",
      "minLength": 1,
      "description": "The list connection id (the `connect_id` from list_twitter_lists)."
    },
    "hours": {
      "type": "number",
      "description": "Look-back window in hours (default 24)."
    },
    "sort": {
      "type": "string",
      "enum": [
        "LATEST",
        "POPULARITY"
      ],
      "description": "LATEST or POPULARITY (trending/top)."
    },
    "limit": {
      "type": "number",
      "minimum": 1,
      "maximum": 100
    },
    "max_age_hours": {
      "type": "number",
      "minimum": 0,
      "description": "How stale cached tweets may be before refetching from X (default 4). Pass 0 to force a fresh fetch."
    }
  },
  "required": [
    "connect_id"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢get_list_digests

List past Twitter-list email digests for the user.

Esquema de entrada

{
  "type": "object",
  "properties": {},
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟡send_list_digest(connect_id, list_id)

Build and email a digest of a Twitter list's high-signal tweets to the user now.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "connect_id": {
      "type": "string",
      "minLength": 1,
      "description": "The list connection id."
    },
    "list_id": {
      "type": "string",
      "description": "The X list id, if required."
    }
  },
  "required": [
    "connect_id"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢preview_list_ranking(connect_id, list_id, limit, sort, window_days)

Rank a followed X list exactly the way the digest ranker would, WITHOUT sending anything, and show the work: each unit carries its rank_signals (lane_fit = matches what the user builds/studies, affinity = an author they trust, engagement, substance, noise demotions) plus author groups (`group_size` + `related_items` = several posts by one author, best one leading). Use this to answer 'what's worth reading in my list?', 'why was this picked?', or to check how a preference change would land. `meta.inert_dimensions` names signals that had no data for this pool.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "connect_id": {
      "type": "string",
      "minLength": 1,
      "description": "The list connection id (the `connect_id` from list_twitter_lists)."
    },
    "list_id": {
      "type": "string",
      "description": "The X list id, if known."
    },
    "limit": {
      "type": "number",
      "minimum": 1,
      "maximum": 40,
      "description": "How many ranked units to return (default 20)."
    },
    "sort": {
      "type": "string",
      "enum": [
        "auto",
        "popular"
      ],
      "description": "auto (the digest's blend) or popular (engagement-led)."
    },
    "window_days": {
      "type": "number",
      "minimum": 1,
      "maximum": 7,
      "description": "Look-back window in days (default 1)."
    }
  },
  "required": [
    "connect_id"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢get_author_preferences

The user's stated author preferences for list digests: `boost` = never-miss authors, `hide` = muted authors.

Esquema de entrada

{
  "type": "object",
  "properties": {},
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟡set_author_preference(handle, action)

Remember how the user feels about an author in their list digests. action=boost → never miss this author's posts (they will always be included, low-signal ones collapsed rather than dropped); action=hide → mute them; action=clear → forget the preference. Use when the user says things like 'don't let me miss marclou's updates' or 'stop showing me X'. Takes effect from the next digest and in preview_list_ranking immediately.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "handle": {
      "type": "string",
      "minLength": 1,
      "description": "The author's X handle, with or without the @."
    },
    "action": {
      "type": "string",
      "enum": [
        "boost",
        "hide",
        "clear"
      ],
      "description": "boost = never miss this author in list digests; hide = mute them; clear = remove any preference."
    }
  },
  "required": [
    "handle",
    "action"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢get_me

Get the current user's account: identity, current plan and status, and usage (e.g. AI chat credits). Use this to answer 'who am I' / 'what plan am I on'.

Esquema de entrada

{
  "type": "object",
  "properties": {},
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢get_connection_status

Check whether the user's tweets can be pulled: the X (Twitter) API connection (connected / disconnected), whether the browser extension has synced recently, and a rolled-up can_pull + how (x_api or extension). Use this before a sync, or when the user asks why bookmarks aren't updating. Note: the extension is browser-only and can't be driven by an agent.

Esquema de entrada

{
  "type": "object",
  "properties": {},
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢fetch_recent_bookmarks(max, force)

Force-pull the user's most recent bookmarks from the X API now (server-side). Requires a connected X account; if the account only syncs via the browser extension, this reports that a browser sync is needed. Use when the user asks to refresh / fetch their latest saves. For Twitter-list freshness, use get_list_tweets instead.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "max": {
      "type": "number",
      "minimum": 1,
      "maximum": 800,
      "description": "How many recent bookmarks to pull (max 800)."
    },
    "force": {
      "type": "boolean",
      "description": "Force the pull even if a recent sync exists."
    }
  },
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟡remember(kind, key, value, mode)

Save a durable PREFERENCE about how this user wants their bookmark library handled — the themes they organise by, topics to exclude, preferred summary length/format, which account is their main one. It carries across sessions AND into the Tweetsmash web app, which your own client memory cannot reach. Use it for lasting preferences the user states or confirms, not for general chat context, task state, or anything secret.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "kind": {
      "type": "string",
      "enum": [
        "preference",
        "style",
        "fact",
        "instruction"
      ],
      "description": "preference = how they want the library handled (themes, exclusions); style = how output should read (length, tone, format); fact = a stable fact about their setup (main account, workflow); instruction = a standing rule."
    },
    "key": {
      "type": "string",
      "minLength": 1,
      "description": "A short stable key, e.g. organising_themes or summary_format. Reusing a key updates that preference instead of duplicating it."
    },
    "value": {
      "type": "string",
      "minLength": 1,
      "maxLength": 2000,
      "description": "The preference itself, in plain words. Never a secret, token or password."
    },
    "mode": {
      "type": "string"
    }
  },
  "required": [
    "kind",
    "key",
    "value"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢recall(query)

Read back the user's saved library preferences (optionally filtered by a substring). Worth calling before an open-ended organise, summarise or cleanup task so you follow how they already like things done.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "query": {
      "type": "string",
      "description": "Optional substring to filter the preferences returned."
    }
  },
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🔴forget(key, kind)

Delete a saved library preference by key (optionally narrowed by kind). Use when the user changes their mind or asks you to drop something.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "key": {
      "type": "string",
      "description": "The memory key to forget."
    },
    "kind": {
      "type": "string"
    }
  },
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢get_interests

Read what this user is actually interested in, inferred from their saved bookmarks, hand labels, questions and digest clicks — not from anything they typed. Returns topics with a 0-1 strength, whether each is active this week, and a `coverage` field saying how much evidence exists (`lite` means a new account: treat it as a first guess and check before relying on it). Use it to prioritise, filter or explain — then confirm with the user rather than asserting it back as fact. Evidence itself is not returned.

Esquema de entrada

{
  "type": "object",
  "properties": {},
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢correct_interest(interest_key, action, value)

Record the user's correction to an inferred interest, using a key from get_interests. Corrections are sticky — they survive every future recompute. Use `confirm` when they agree, `rename` for their own wording, `hide` to stop using an interest while keeping its history, `boost` when they want it weighted higher. `forget` is different and IRREVERSIBLE: it erases the underlying history so the topic cannot re-form — only use it when the user clearly asks to delete, and say what it means first.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "interest_key": {
      "type": "string",
      "minLength": 1,
      "description": "The interest's key, exactly as returned by get_interests."
    },
    "action": {
      "type": "string",
      "enum": [
        "confirm",
        "boost",
        "rename",
        "hide",
        "forget"
      ],
      "description": "confirm = the user says this is right (keeps it alive as it ages); boost = they want it weighted higher; rename = give it their own name; hide = stop showing or using it, evidence kept; forget = ERASE the underlying history, irreversible."
    },
    "value": {
      "type": "string",
      "maxLength": 120,
      "description": "Required for rename: the user's own name for this interest."
    }
  },
  "required": [
    "interest_key",
    "action"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}

Comunidad

Califica este servidor

Evidencia

Observaciones recientes

verificadoversión no registrada53 herramientas
verificadoversión no registrada53 herramientas