Skip to main content
Glama

Fetch document

fetch
Read-only

Fetch a document by id from search results (e.g. "dataset:macro"): the dataset description plus its recent daily pressure readings.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesDocument id from search results.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes
urlYes
textYesDescription plus a recent daily preview as CSV.
titleYes
metadataYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • removedOutput schema / properties / metadata / properties / history_start
      Removed value: -{
      -  "type": "string"
      -}
    • changedOutput schema / properties / metadata / required
      Previous value: -[
      -  "history_start",
      -  "output",
      -  "read_with",
      -  "your_access"
      -]New value: +[
      +  "output",
      +  "read_with",
      +  "your_access"
      +]
  2. First observed

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, openWorldHint=false and destructiveHint=false, so the safety profile is covered. The description adds what the payload contains, which is genuine behavioral context, but says nothing about auth, rate limits, or behavior on a missing/invalid id.

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?

A single sentence that front-loads the action and resource, then the id source, then the return content. No padding or redundancy.

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?

An output schema exists, so return values need not be detailed, yet the description briefly characterizes them anyway. For a one-parameter read tool with full schema coverage and annotations, this is essentially complete; only missing-id error behavior is absent.

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% and there is only one parameter, so the schema carries the load. The description still adds value beyond it by giving a concrete id example ('dataset:macro') and clarifying the id originates from search results.

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 (fetch) and resource (document by id), scopes the source to 'search results', and names what is returned ('description plus recent daily pressure readings'). This is enough to distinguish it from the metric/pressure sibling tools, though it doesn't explicitly contrast with them.

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?

'From search results' implies the tool is used after a search to drill into a result, which is useful contextual guidance. However, there is no explicit when-to-use versus alternatives (e.g., get_latest_pressure, get_recent_pressure) and no stated prerequisites.

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