Skip to main content
Glama
CodeMill-Solutions

yuki-mcp

get_document

Retrieve metadata for an archived document by its Yuki document ID. Get file name, folder, date, amount, and status, and find IDs via list_documents or search_documents.

Instructions

Retrieve metadata for a single archived document by its Yuki document ID. Returns file name, folder, date, amount, and status. Use list_documents or search_documents to find document IDs. To download the file binary use download_document.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
documentIdYesYuki document ID (GUID or integer, from list_documents or search_documents).
administrationIdNoAdministration ID (GUID). Defaults to YUKI_DOMAIN_ID env var.
Behavior3/5

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

No annotations are provided, so the description must bear the full burden of behavioral disclosure. It clarifies that the tool returns metadata and not the binary, and it names the returned fields. However, it does not mention error behavior (e.g., for non-archived documents), authorization requirements, or any side effects. While it avoids contradiction, it misses opportunities to add context beyond the return value list.

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 three short, purposeful sentences. The first sentence states the primary function and output, the second guides to finding IDs, and the third points to the download sibling. No fluff; every sentence earns its place and is front-loaded with the verb+resource.

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?

Given lack of output schema, the description compensates by listing returned fields (file name, folder, date, amount, status). It also provides sufficient navigation among sibling tools (list_documents, search_documents, download_document). It could mention failure modes or authentication, but for a simple metadata retrieval tool, the coverage is adequate and well directed.

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?

Input schema coverage is 100% so baseline is 3, but the description adds meaning by explaining that documentId can be obtained from list_documents/search_documents, and administrationId defaults to YUKI_DOMAIN_ID env var. This enriches the schema descriptions, especially around where parameter values come from.

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 action: 'Retrieve metadata for a single archived document by its Yuki document ID.' It lists specific return fields (file name, folder, date, amount, status) and distinguishes itself from siblings like download_document (binary) and list_documents/search_documents (finding IDs). This is a specific verb+resource definition with explicit sibling differentiation.

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?

The description gives explicit guidance on when to use this tool vs alternatives: 'Use list_documents or search_documents to find document IDs. To download the file binary use download_document.' It clearly states prerequisites (need a Yuki document ID) and directs to other tools for discovery and binary retrieval, covering both when and when-not.

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/CodeMill-Solutions/yuki-mcp'

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