Skip to main content
Glama

Get Tdoc

get_tdoc
Read-only

Get metadata and status for one TDoc by number.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
includeNoComma-separated extras: 'units' (labeled proposals, observations, agreements, and other units as quotes with anchors), 'text' (document text blocks with anchors), 'revisions' (revision chain). Example: include=units,revisions.
tdoc_idYes
text_offsetNoFirst text block to return when include has 'text'. Use text.next_offset to page.
max_text_charsNoCharacter budget for text blocks.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/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 the safety profile is covered by structured data. The description adds that metadata and status are returned, which is modest extra value, but it says nothing about pagination or how the 'include' extras change the fetch behavior.

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?

A single tight sentence with the resource and scope front-loaded and zero filler. It is arguably too terse for a 4-parameter tool, but there is no wasted language.

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?

With no output schema, the description should carry more of the return-shape burden, yet it only says 'metadata and status.' The input schema is self-documenting and annotations cover safety, so the gaps are moderate rather than severe.

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 75%, and the schema itself richly documents include, text_offset, and max_text_chars (including an example and paging hint). The description adds no parameter meaning beyond that, 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 ('Get metadata and status for one TDoc by number'), and the scope (single TDoc, addressed by number) clearly differentiates it from list_tdocs and search_tdocs. It does not, however, address the near-identical sibling fetch_tdoc, so an agent cannot tell those two apart from the description alone.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No when-to-use guidance, no exclusions, and no mention of the alternative sibling fetch_tdoc. The only implied usage is 'you already have a TDoc number,' which is left to inference.

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.