Skip to main content
Glama

Opravit DPH podani

correct_vat_filing
DestructiveIdempotent

Pripravi opravu uz odeslaneho DPH podani (stav SUBMITTED, CONFIRMED nebo REJECTED). Druhy: priznani opravne (pred lhutou, cele znovu) nebo dodatecne (po lhute, jen rozdily a ř. 66); kontrolni hlaseni opravne (pred lhutou) nebo nasledne (po lhute, s datem zjisteni); souhrnne hlaseni nasledne. Bez kind se vybere podle lhuty. Vytvori NAVRH XML, NIC neodesila; prepise drivejsi neodeslany navrh opravy.

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": "correct_vat_filing"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesId puvodniho podani
kindNo
okecNo
cisloUfoNo
discoveredAtNoDen zjisteni duvodu opravy YYYY-MM-DD (dodatecne, nasledne); vychozi dnes
includePendingNotrue = i neschvalene doklady, vychozi false

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior5/5

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

Goes well beyond the annotations by disclosing that only a DRAFT XML is created and nothing is sent, and that an earlier unsent correction draft is overwritten — directly explaining the destructiveHint. It also states the deadline-driven behavior and the meaning of the discovery date for late corrections.

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?

Front-loaded with the outcome and eligibility, then the type taxonomy, then the critical caveat that nothing is sent. It is dense with semicolon chains and legal shorthand ("ř. 66") that make it harder to scan, but no sentence is filler.

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 destructive, non-read-only mutation with no output schema, the description covers the essential behavior: what is produced (draft XML), what is not done (nothing submitted), and what is overwritten. It omits what the returned draft identifier looks like and whether validation/submission must follow, which are the remaining gaps.

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 only 50%, but the description carries the most important gap: it defines each `kind` enum value in business terms (opravne vs dodatecne vs nasledne) and the auto-selection rule when `kind` is omitted. It implicitly ties `discoveredAt` to the after-deadline corrections, but leaves `okec`, `cisloUfo` and `includePending` unelaborated.

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?

States a specific verb and resource ("Pripravi opravu uz odeslaneho DPH podani") plus the eligibility scope (status SUBMITTED, CONFIRMED or REJECTED). It also enumerates the filing kinds it can correct (priznani, kontrolni hlaseni, souhrnne hlaseni), which separates it cleanly from generate_vat_filing and submit_vat_filing.

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

Usage Guidelines4/5

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

Gives explicit when-to-use conditions: only already-submitted filings, and which correction type applies before versus after the deadline, plus the fallback rule "Bez kind se vybere podle lhuty." No sibling tool is named as the alternative for the post-step (submitting the draft), so the routing guidance stops just short of fully explicit.

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