Skip to main content
Glama

Fetch a datosmcp document

fetch
Read-onlyIdempotent

Returns the full text of a result from search: an answer to a query (data with sources), an indicator (definition, unit, latest values by country) or a place (everything known about it).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesAn id returned by search, e.g. "indicator:CRIME.HOMICIDE_RATE".

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already cover the safety profile (readOnlyHint=true, idempotentHint=true, destructiveHint=false), so the bar is lower. The description adds useful context by listing what the returned full text contains for each document type, but it does not disclose auth requirements, rate limits, or error behavior.

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?

The description is a single, well-structured sentence that front-loads the core action ('Returns the full text...') and then efficiently specifies the document types. Every clause earns its place with no wasted words.

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 no output schema, the description carries the burden of explaining return values, and it does so by describing the three document types and their contents. It is largely complete for a simple fetch tool, though it could mention the return format or how to handle errors.

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%, so the input schema already fully documents the single 'id' parameter with an example. The description reinforces that the id comes from search but adds no syntax or format details beyond what the schema provides, so 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 states a specific verb (Returns) and resource (full text of a result from search), then enumerates three document types (answer, indicator, place). It distinguishes from the sibling 'search' by focusing on full-text retrieval, but does not clarify overlap with siblings like describe_indicator or enrich_place.

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 phrase 'from search' implies this tool is used after obtaining an id via search, giving implicit usage context. However, there is no explicit when-to-use guidance, no when-not conditions, and no named alternatives for overlapping siblings.

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