Skip to main content
Glama

Roman Kryvolapov Engineering Blog

Read an article

fetch
Read-only

Return the full text of one article by the id from search results (its canonical URL), as markdown with code listings preserved verbatim.

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": "fetch"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesArticle id from search: its canonical URL.

Output Schema

NameRequiredDescriptionDefault
idYes
urlYes
textYesThe article as markdown.
titleYes
metadataNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / properties / metadata / properties / language / description
      Previous value: -"en, ru or uk."New value: +"en, uk, ru or bg."
  2. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and a closed-world scope, so safety is covered. The description adds genuine behavioral detail beyond them: the result is markdown and code listings are preserved verbatim, which matters for an extraction tool. It says nothing about truncation or handling of very long articles, which is the main remaining gap.

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?

One front-loaded sentence with the resource and return format stated before the parenthetical clarification. The parenthetical partially duplicates the schema's parameter description, which is the only wasted wording.

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 explain return structure, and annotations cover the safety profile. For a single documented parameter, the definition is close to complete; only edge-case behavior (invalid id, content limits) is unaddressed.

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% and the single parameter already documents itself as 'Article id from search: its canonical URL'. The description restates the same meaning without adding format or validation detail, so the schema does the heavy lifting and the baseline 3 applies.

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?

The description gives a specific verb and resource ('Return the full text of one article') plus the scope of exactly one item, which separates it from a list/search style tool. It also specifies the output form (markdown, verbatim code listings). It does not explicitly distinguish itself from the sibling 'get_page', so an agent must infer that this is the article-specific reader.

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

Usage Guidelines4/5

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

'by the id from search results' establishes the intended workflow: search first, then fetch a single result. There are no explicit exclusions or named alternatives, so it stops short of full when/when-not guidance, but the usage context is clear.

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