Skip to main content
Glama

coletiva

Documento completo por id (formato search/fetch)

fetch
Read-only

Retrieve the full content of a COLETIVA_ document by id (as returned by search). Returns id, title, full text, canonical url and metadata.

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
idYesDocument id from search results (format origem_tipo:origem_id).

Output Schema

NameRequiredDescriptionDefault
idYes
urlYes
textYes
titleYes
metadataNo

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 declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so safety and scope are covered structurally. The description adds only that the call returns full text plus metadata, which is largely duplicated by the output schema; it says nothing about behavior when an id is unknown, invalid prefix, or whether large documents are truncated.

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?

Two short sentences, front-loaded with the action and resource, with the id-provenance constraint placed immediately after. The trailing enumeration of returned fields is partly wasted since an output schema exists, but it costs little.

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?

For a single-parameter read tool with full annotation coverage and an output schema, the definition supplies everything needed to invoke it correctly. The main residual gap is failure behavior for a missing or malformed id, which the description does not address.

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 coverage is 100% and the schema already documents the id format 'origem_tipo:origem_id'. The description reinforces the provenance of the id ('as returned by search') but adds no syntax, normalization, or validation detail beyond the schema. Baseline 3 is appropriate with a single fully documented parameter.

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 names a specific verb ('Retrieve the full content') and a specific resource ('COLETIVA_ document by id'), which is clearly distinguishable from the 'search' sibling that produces those ids. It stops short of a richer scoping statement (e.g., what 'full content' includes beyond the fields already in the output schema), but an agent can tell what this tool does.

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?

The phrase 'by id (as returned by search)' establishes a clear call-order dependency: search first, then fetch with a resulting id. There are no explicit exclusions or comparisons to other document-level siblings, but the usage context is unambiguous for the primary workflow.

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