Skip to main content
Glama

Request the original

request_original
Idempotent

When the person wants the document, downloads the pending original from PNCP now. Free and idempotent. It does not start OCR. Use it when the person opens the document. The body is empty or {} (two bytes at most). A free collector downloads the original at once and the status becomes downloading; without a free collector, the request goes first into the queue.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesDocument ID from the procurement record (`get_procurement`).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Adds real context beyond annotations: the operation is 'Free', it does not trigger OCR, the request body is empty (two bytes at most), and the state machine outcome differs by collector availability (immediate download vs. queued, status becomes 'downloading'). The idempotent and cost claims are consistent with the idempotentHint annotation and the mutating/queueing behavior is consistent with readOnlyHint=false; no contradiction.

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?

Front-loads the core action and stays within a few sentences, with each clause carrying information about trigger, cost, or state outcome. The parenthetical '(two bytes at most)' is slightly pedantic but not wasteful enough to hurt.

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 and a one-parameter input, the description covers what is needed to call it correctly: the trigger, the empty body, the cost, and the resulting status. It could be more complete by telling the agent how to observe the resulting 'downloading' status, but the essentials are present.

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 required 'id' parameter is already documented as coming from get_procurement. The description adds no further parameter semantics, so the baseline of 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?

States a specific verb and resource: 'downloads the pending original from PNCP now', and explicitly excludes a related action ('It does not start OCR'). This lets an agent separate it from OCR-triggering or document-retrieval siblings, though it never names those siblings directly, so differentiation is implicit rather than explicit.

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?

Gives a clear triggering condition: 'Use it when the person opens the document' and 'When the person wants the document'. It does not, however, name alternatives such as original_status for checking progress or get_document for already-fetched content, so the when-not side is absent.

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