Skip to main content
Glama

Get Talonic Document

talonic_get_document
Read-only

Get full metadata including filename, page count, document type, language, and links for a document already in the Talonic workspace via its document ID.

Instructions

STATUS: stable.

Fetch full metadata for a single document already in the user's Talonic workspace. Returns id, filename, page count, detected document type, language, processing log, and link URLs (self, extractions, dashboard).

USE WHEN:

  • You need details about a specific document the user already extracted or uploaded.

  • You have a document_id from a previous extract or search call and want more context.

  • The user asks 'tell me about document X' or similar.

DO NOT USE WHEN:

  • The user wants the document's full text content (use talonic_to_markdown for OCR markdown).

  • The user wants extracted structured data (use talonic_extract with a schema, or fetch the extraction by id).

  • The user has a file but no document_id yet (call talonic_extract first to ingest the document).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
document_idYesThe Talonic document ID. Get this from a previous talonic_extract or talonic_search response.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes
filenameNo
pagesNo
size_bytesNo
mime_typeNo
type_detectedNo
language_detectedNo
statusNo
sourceNo
triageNo
original_pathNo
extraction_countNo
latest_extraction_idNo
processing_logNo
created_atNo
linksNo
Behavior4/5

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

Annotations already declare readOnlyHint: true, so the description adds value by specifying the returned fields (metadata, not text content) and stating 'stable' status. No contradictions.

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 well-organized into clear sections: status, purpose, use-cases, and exclusions. No redundant sentences; every line adds value.

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

Completeness5/5

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

Given the tool's simplicity (one parameter), presence of annotations, and implied output schema, the description covers all necessary context: what it returns, when to use, and when not to use.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, but the description adds context for the parameter: 'Get this from a previous talonic_extract or talonic_search response.' This goes beyond the schema's own description.

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

Purpose5/5

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

The description clearly states the tool fetches full metadata for a single document, listing specific fields like id, filename, page count, etc. It distinguishes itself from siblings by explicitly naming alternatives (talonic_to_markdown, talonic_extract).

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

Usage Guidelines5/5

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

Provides explicit USE WHEN and DO NOT USE WHEN sections with specific scenarios (e.g., need details about a document, have document_id) and clear alternatives for each exclusion case.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/talonicdev/talonic-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server