Skip to main content
Glama

Zkontrolovat DPH podani

validate_vat_filing
Read-onlyIdempotent

Kontrola obdobi pred podanim DPH, nic neuklada: chyby a varovani pro priznani, kontrolni a souhrnne hlaseni (chybejici DIC u radku KH nad 10 000 Kc, nesoulad souctu priznani a KH, neschvalene a nezarazene doklady, vyrazene doklady, prenesena povinnost, XSD chyby) a souhrn s lhutou. Bez companyId hlavni firma, pokud je platce DPH. Mesicni platce zadava month, ctvrtletni platce quarter 1-4.

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": {
      "year": "<year>"
    },
    "name": "validate_vat_filing"
  }
}

Input Schema

NameRequiredDescriptionDefault
okecNo
yearYesRok, napr. 2026
monthNoMesic 1-12 (mesicni platce). Zadej bud month, nebo quarter
quarterNoCtvrtleti 1-4 (ctvrtletni platce)
cisloUfoNo
companyIdNoId firmy z list_companies; vychozi hlavni firma platce DPH
includePendingNotrue = i neschvalene doklady, vychozi false

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / month / description
      Previous value: -"Mesic 1-12"New value: +"Mesic 1-12 (mesicni platce). Zadej bud month, nebo quarter"
    • addedInput schema / properties / quarter
      Added value: +{
      +  "description": "Ctvrtleti 1-4 (ctvrtletni platce)",
      +  "maximum": 4,
      +  "minimum": 1,
      +  "type": "integer"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "year",
      -  "month"
      -]New value: +[
      +  "year"
      +]
  2. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent and non-destructive, and the description reinforces this with "nic neuklada" rather than contradicting it. It adds real behavioral context beyond the annotations: the concrete defect classes reported (missing DIC on KH lines over 10 000 Kc, return-vs-KH total mismatch, unapproved/unqueued/excluded documents, reverse charge, XSD errors) and that the summary includes a deadline. It does not describe result shape or severity ordering, but for a read-only validator that is a modest gap.

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?

The two highest-value facts, what it checks and that it writes nothing, are front-loaded in the first clause. The long parenthetical error list is dense but every item is substantive diagnostic information. Slightly heavy as a single run-on sentence, but nearly zero 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?

With 7 parameters, no output schema, and 71% schema coverage, the description does the important extra work by effectively enumerating the findings the agent will receive. The remaining gap is that two schema parameters, okec and cisloUfo, carry no explanation in either the schema or the description, so an agent cannot confidently populate them.

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 coverage is 71%, so most parameters are already documented in the schema, and the description largely restates them (month for monthly payers, quarter for quarterly, companyId defaulting to the main company). It adds one genuine nuance absent from the schema's companyId text: the default applies only "pokud je platce DPH". It says nothing about okec or cisloUfo, leaving those opaque in both places.

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?

"Kontrola obdobi pred podanim DPH, nic neuklada" gives a specific verb (check/validate), an explicit resource (VAT period/filing) and an explicit scope limit (persists nothing), which separates it from the generate/submit siblings. The parenthetical enumeration of what is validated (DPH return, KH, summary statement) further pins down the exact object of the check.

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?

"pred podanim DPH" tells the agent precisely when to call this: as a pre-submission check. It also gives the payer-type branching (monthly -> month, quarterly -> quarter 1-4) that selects the correct call shape. It stops short of naming an alternative tool to use instead when the agent wants to actually file, so it is clear context but not a full when/when-not routing rule.

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