Skip to main content
Glama

Weir: Reddit and X (Twitter) data

Read an X Article

get_x_article
Read-onlyIdempotent

Read a long-form X Article in full: title, cover image, and the whole body as Markdown (plus plain text and X's blocks), with its images. Use it for any x.com post or link that shares an Article (the post's own text is just a link). Pass the post's x.com/…/status/ link or id; for an x.com/i/article/ link use get_x_article_by_id. 404 when the post is not an Article. Costs 1 credit + 1 credit per post returned.

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": {
      "id": "<id>"
    },
    "name": "get_x_article"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesX post id (digits). An x.com or twitter.com status URL also works.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, so the safety profile is covered. The description still adds genuine context beyond them: the exact return shape, the 404 failure mode, and the cost model ('1 credit + 1 credit per post returned').

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?

Front-loaded with the verb and payload, then routing rules, then failure and cost. Dense but every clause carries information; only the parenthetical aside about post text is mildly redundant.

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

Completeness4/5

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

Covers output contents, the link/id forms to pass, the sibling alternative, the failure case, and the cost — everything an agent needs for a one-parameter read tool. No output schema exists, but the description enumerates the returned fields itself, so it is close to complete.

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 coverage is 100% and the id field already documents that an x.com or twitter.com status URL works. The description reinforces which link form to pass, which is useful routing info but largely restates the schema rather than adding new syntax or format detail.

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

Purpose5/5

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

States a specific verb and resource ('Read a long-form X Article in full') and enumerates the returned payload (title, cover image, body as Markdown, plain text, blocks, images). It also distinguishes itself from sibling get_x_post by noting a shared Article post's own text is just a link.

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

Usage Guidelines5/5

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

Explicitly says when to use it ('for any x.com post or link that shares an Article') and routes the alternative case to get_x_article_by_id for x.com/i/article/ links. The 404 condition ('when the post is not an Article') tells the agent when this tool will fail.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources