Skip to main content
Glama

Detail dokladu

get_document
Read-onlyIdempotent

Detail jednoho dokladu vcetne rozpisu DPH podle sazeb a polozek (bez souboru dokladu).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "id": "<id>"
    },
    "name": "get_document"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesID dokladu z list_documents

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so safety is covered. The description adds genuine context beyond them by specifying the response scope: VAT breakdown by rate and line items are included, the document file is not, which prevents an agent from expecting a downloadable artifact.

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?

One front-loaded sentence: resource scope first, then the included content, then the parenthetical exclusion. No filler and nothing repeated from the title or annotations.

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?

For a single-parameter read-only detail tool with no output schema, the description adequately conveys what comes back (VAT breakdown, line items) and what does not (the file). Only minor gaps remain, such as error behavior for an unknown id or whether the VAT breakdown is aggregated per rate.

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?

There is a single parameter and schema description coverage is 100%, with the schema itself stating the id comes from list_documents. The prose adds no meaning about the identifier's format or sourcing beyond that, so the schema carries the load and baseline 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?

The description names a specific verb+resource ('Detail jednoho dokladu') and goes beyond the title by stating what the payload contains (rozpis DPH podle sazeb, polozky) and what it deliberately omits ('bez souboru dokladu'). That content-scope statement is what separates it from list_documents, though the sibling is not named explicitly.

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?

Usage is only implied: the singular 'jednoho dokladu' signals a fetch-one-by-id operation versus the list siblings, and the required id points back to list_documents. There is no explicit when-to-use/when-not-to-use statement or named alternative in the description itself.

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