Skip to main content
Glama

Fetch one item (deep research shape)

fetch
Read-onlyIdempotent

Only for ChatGPT deep research and company knowledge: read one item by the id from search (such as skill/ad-angle-planner). Every other client: use get_item with the id from search_library. Returns its full text (the SKILL.md, or the AI tool or mini tool record), url to cite and metadata. Text over 48,000 characters is cut; metadata.rest says how to read the rest.

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
idYesAn id from search.

Output Schema

NameRequiredDescriptionDefault
idYes
urlYes
textYes
titleYes
metadataYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.9/5.0
Behavior5/5

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

Annotations already cover safety (readOnly, idempotent, non-destructive), so the description focuses on what annotations cannot express: the payload contents (full text, cite URL, metadata) and a hard truncation at 48,000 characters with metadata.rest as the continuation path. That truncation signal is the single most important behavioral fact for a caller and it is disclosed.

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

Conciseness5/5

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

Four short sentences, front-loaded with the audience restriction that determines whether to call it at all, then the payload, then the truncation caveat. No sentence is filler and no required fact is deferred to the end unnecessarily.

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?

Output schema exists, so return values need no elaboration, yet the description still flags truncation behavior that a schema alone would not make obvious. For a one-parameter read tool, nothing an agent needs to select or invoke it correctly is missing.

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 coverage is 100% for the single id parameter, so the baseline is 3. The description earns an increment by stating the provenance of the value ('from search') and giving a concrete format example ('such as skill/ad-angle-planner'), which tells the agent what a valid id looks like rather than leaving it a bare string.

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 one item by the id from search') and immediately scopes it against the sibling get_item. An agent knows exactly what it retrieves and what it does not, without opening a schema.

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?

Gives an explicit when-to-use gate ('Only for ChatGPT deep research and company knowledge') and names the alternative with its own id source for every other client ('use get_item with the id from search_library'). Both sides of the routing decision are stated.

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