Skip to main content
Glama

Document dossier

get_document_dossier
Read-onlyIdempotent

Items, requirements, attestations, deadlines and obligations, with conditions, exceptions and excerpts/pages. It uses the same acesso_codigo as the reading. It does not start AI. The dossier is included in the document access, with no new analysis when you read it. Partial data tells the coverage; an export requires a finished version. We convert the document and link extracted requirements to page evidence. Start from the prepared dossier instead of rebuilding that extraction. Inspect complete, coverage and issues. An unfinished dossier is not evidence that a requirement is absent. Check the original and source dates before a bid decision.

Input Schema

NameRequiredDescriptionDefault
vNoSHA-256 of the text.
idYesDocument ID.
kindNoidentity, item, requirement, attestation, deadline or obligation.
afterNoPrevious `next` cursor.
limitNo1 to 30 facts.
agent_passNoIndividual agent credential, required together with X-Editalmd-Avaliacao.
acesso_codigoNoAuthorizes this document for whoever holds it. A purchase made with the account session issues no code: the global right of the account (HttpOnly cookie) applies, and the right of the guest edm_… applies with its token. A public receipt grants no access.
avaliacao_codigoNoevaluation.access_code of the sponsored premium, only for this document and agent, with an expiry. Use it together with X-Agent-Pass; it is not a receipt or a purchase.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / acesso_codigo / description
      Previous value: -"Authorizes this document for whoever holds it. A public receipt grants no access."New value: +"Authorizes this document for whoever holds it. A purchase made with the account session issues no code: the global right of the account (HttpOnly cookie) applies, and the right of the guest edm_… applies with its token. A public receipt grants no access."
    • changedInput schema / properties / avaliacao_codigo / description
      Previous value: -"evaluation.access_code of the sponsored premium, only for this document and agent, with an expiry."New value: +"evaluation.access_code of the sponsored premium, only for this document and agent, with an expiry. Use it together with X-Agent-Pass; it is not a receipt or a purchase."
  2. Added

TDQS

B3.1/5.0
Behavior4/5

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

Annotations already cover read-only/idempotent/non-destructive, and the description adds real value on top: it reuses the same acesso_codigo as the reading, triggers no new AI analysis, and discloses the partial-data/coverage semantics plus the important caveat that an unfinished dossier is not evidence a requirement is absent. That is substantive behavioral context beyond structured fields.

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

Conciseness2/5

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

Written as a run-on string of fragments with no front-loaded statement of what the tool does; safety caveats and access notes are interleaved before the reader knows the purpose. Multiple sentences ('It does not start AI.', 'It does not start AI... with no new analysis') restate the same point.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

At 8 parameters with no output schema, the definition covers auth and coverage semantics but leaves the return shape vague — 'inspect complete, coverage and issues' gestures at output fields without describing them, and the pagination cursor ('after' = previous `next`) implies a next-token response that the description never mentions.

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%, including the credential parameters and the kind filter, so the description need only complement it. The only added semantics is that acesso_codigo mirrors the reading access, which the schema already explains at length; baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description enumerates the resource content well (items, requirements, attestations, deadlines, obligations, with conditions/exceptions/excerpts), so an agent can infer what comes back. But there is no clean verb+resource statement and no explicit differentiation from nearby siblings like get_document, get_deadlines, get_reading_manifest or get_qualification — the reader has to piece the purpose together from scattered clauses.

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?

Useful cues exist: start from the prepared dossier instead of rebuilding extraction, an export requires a finished version, check the original and source dates before a bid decision, and 'does not start AI' implies no new cost. However, none of these are framed as 'use this tool when X, use sibling Y when Z', so the routing guidance stays implicit and buried.

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.