Skip to main content
Glama

Podklady DPH

get_vat_summary
Read-onlyIdempotent

Souhrn DPH jedne firmy za obdobi: zaklady a dan podle sazeb, vstup a vystup, vse v CZK. Podklad pro priznani, ne priznani samotne. Bez companyId se pouzije hlavni firma, pokud je platce DPH. Doklady bez firmy se nezapocitavaji (vraci se zvlast jako nezarazene). Vychozi jen schvalene doklady; vystup vzdy ukazuje rozdeleni schvalene / neschvalene a varovani (chybejici kurz, podezrela data, nesedici rozpad). Prenesena danova povinnost (sluzby ze zahranici, zbozi z EU, § 92a) je na vystupu i jako odpocet; doklady bez naroku na odpocet a nedanove doklady jsou v excluded s duvodem. Obdobi se urcuje podle DUZP (datum uskutecneni zdanitelneho plneni, § 21 ZDPH); doklad bez DUZP podle data vystaveni. U mesice vraci i souhrn: danova povinnost nebo nadmerny odpocet, radky priznani, oddily KH a lhuta podani. Pole turnover: obrat z vydanych faktur za poslednich 12 mesicu a kalendarni rok, hranice 2 000 000 / 2 536 500 Kc a odkdy je firma platcem ze zakona (pro neplatce; proformy a zalohove faktury se nepocitaji).

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

Input Schema

NameRequiredDescriptionDefault
yearYesRok, napr. 2026
monthNoMesic; zadej bud quarter, nebo month
quarterNo
companyIdNoId firmy z list_companies; vychozi hlavni firma platce DPH
includePendingNotrue = zapocitat i neschvalene doklady, vychozi false

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / companyId
      Added value: +{
      +  "description": "Id firmy z list_companies; vychozi hlavni firma platce DPH",
      +  "type": "string"
      +}
    • addedInput schema / properties / includePending
      Added value: +{
      +  "description": "true = zapocitat i neschvalene doklady, vychozi false",
      +  "type": "boolean"
      +}
  2. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already cover read-only/idempotent/non-destructive, and the description adds substantial behavior beyond them: documents without a company are excluded and returned separately, the output always splits approved/unapproved with warnings for missing exchange rates or mismatched breakdowns, and reverse-charge and excluded documents are itemized with reasons. It also states the period is determined by DUZP (§ 21 ZDPH) with a fallback to issue date, which is essential for correct interpretation.

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 purpose and the filing distinction, then progressively adds output and edge-case detail; every sentence carries information. It is dense and long, but the density is content rather than padding.

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?

There is no output schema, so the description carries the full burden of describing returns, and it does: approved/unapproved split, warnings, excluded documents with reasons, monthly summary with tax liability or excess deduction, return lines, KH sections, filing deadline, and the turnover field's 12-month and calendar-year thresholds. Little an agent needs to call or interpret this tool is missing.

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?

With 80% schema coverage the baseline is 3, and the description earns more by explaining that companyId defaults to the main VAT-payer company and by clarifying how year/month/quarter select the period via DUZP rather than issue date. The includePending semantics (approved-only default) are reinforced, though the quarter enum and its interaction with month are left to the schema.

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 opening sentence gives a specific verb+resource (VAT summary for one company for a period) with concrete contents: bases and tax by rate, input and output, all in CZK. The second sentence explicitly distinguishes it from the VAT return itself ("Podklad pro priznani, ne priznani samotne"), so an agent can tell it apart from get_vat_filing or generate_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?

It clearly frames when to use it — as a preparation basis before filing, not the filing — and explains default behavior (main company if it is a VAT payer, only approved documents unless includePending). It does not explicitly name the sibling tools to use instead, so it stops short of full routing guidance.

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