Skip to main content
Glama

RelayX — X/Twitter data

fetch

Read-only

Fetch one X item by id: "tweet:" (or a bare numeric tweet id) returns the post with author and metrics; "user:" returns a profile. Charged like tweets / user_info.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint, so safety is covered; the description adds value beyond them by disclosing the credit-charging behavior ('Charged like tweets / user_info') and sketching the return content (post with author and metrics vs. a profile). It omits error behavior for malformed ids, which keeps it from a 5.

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?

Everything is packed into one front-loaded sentence with no filler, and the two id forms are presented in parallel. The trailing 'Charged like tweets / user_info' is terse to the point of being cryptic, but it does earn its place as cost information.

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?

With an output schema present, the description need not enumerate return fields, and the annotations cover the safety profile, so the remaining burden is the input format — which is fully explained. The only gap is behavior on invalid or ambiguous ids.

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

Parameters4/5

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

Schema description coverage is 0% for the single 'id' parameter, so the description must carry the burden — and it does, spelling out two accepted formats ("tweet:<id>" or bare numeric, "user:<handle>") and tying each to a different return type. It does not mention failure modes for unrelated prefixes or non-numeric input.

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?

States a specific verb and resource ('Fetch one X item by id') and enumerates the two supported id namespaces with what each returns, so an agent can see this is a polymorphic single-item lookup rather than a bulk list. It is distinguishable from siblings like tweets/user_info by the id-prefix mechanism, though it never names an alternative tool explicitly.

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?

The prefix syntax ('tweet:<id>' / 'user:<handle>') implicitly tells the agent when this tool applies, and the pricing note hints at the cost context. However, there is no explicit when-to-use/when-not guidance or named alternative (e.g. when to prefer tweets or user_info instead).

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