Skip to main content
Glama
TwitterViewer MCP Server

TwitterViewer MCP Server

Convert an X link to Markdown

convert_x_url
Read-onlyIdempotent

Convert X (Twitter) post, thread, or profile links into clean Markdown, text, or JSON so AI agents can read and reuse public content.

Instructions

Turn an X (Twitter) post, thread, or profile link into clean Markdown (or text / JSON). Costs 1 credit per post returned (quoted posts count too); author profile data is free; errors are free. A repeated call for the same link and options within 10 minutes is free. Profile links return recent posts (default 20, up to 200).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "url": "<url>"
    },
    "name": "convert_x_url"
  }
}

Input Schema

NameRequiredDescriptionDefault
maxNoProfile links only: how many recent posts (default 20)
urlYesX post, thread or profile URL, or an @handle
scopeNothread (default): the author's whole thread; post: only this post; conversation: thread plus the first page of replies
statsNoEngagement numbers: all (default), root (first post only), off
formatNomarkdown (default), obsidian (with YAML frontmatter), text, or json

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, open-world), so the description's added value is the cost model: 1 credit per post returned, quoted posts billed, author profile data free, errors free, and a 10-minute repeat-call cache window. That is genuinely useful context an agent could not get from the schema or annotations. It still omits auth requirements and what happens on invalid or private links.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single tight paragraph with the core conversion purpose front-loaded, followed by billing rules. Every clause carries information (costs, free cases, cache window, profile defaults), though the parenthetical billing detail is dense and could be split for readability.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 5-parameter read-only tool with 100% schema coverage, no output schema, and clear annotations, the description supplies the remaining decision-relevant facts: output formats, credit costs, free-error and cache behavior, and profile result limits. An agent can call this correctly and predict its cost without further information.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the schema already explains url, max, scope, stats, and format with enums and defaults. The description only reinforces the profile default of 20 and the 200 ceiling and adds that quoted posts count toward cost; it does not clarify the scope or stats enum semantics further. Baseline 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

Opens with a specific verb and resource: 'Turn an X (Twitter) post, thread, or profile link into clean Markdown (or text / JSON).' That is far more informative than the title alone and names the input types and output formats. It does not explicitly distinguish itself from siblings like get_x_replies, so it stops short of a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied rather than stated: the tool is for converting X links, and the description notes profile links return recent posts. There is no explicit when-to-use vs. get_x_replies or get_credits guidance, and no stated exclusions, so the agent must infer routing.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools