Skip to main content
Glama
ucetka-mcp

ucetka-mcp

add_expense

Manually record a received invoice as an expense, including documents the import cannot read, with supplier, tax point date, VAT, and reverse-charge details.

Instructions

Ručně zapíše přijatou fakturu (výdaj) — hlavně doklady, které import neumí přečíst.

Input Schema

NameRequiredDescriptionDefault
vatNoDPH v Kč dle dokladu. Prázdné = dopočítat ze základu.
baseYesZáklad (bez DPH) v Kč.
noteNoPoznámka.
goodsNoReverse charge: pořízení zboží z EU (ř. 3), jinak služba.
pdf_pathNoCesta k PDF (u flagovaných dokladů z list_import_issues).
vat_rateNoSazba DPH v % (21/12/0).21
paid_dateNoDatum úhrady YYYY-MM-DD — při skutečných výdajích se výdaj počítá až zaplacený.
claim_dateNoYYYY-MM-DD: doklad dorazil až po podání období DUZP → odpočet uplatnit v období tohoto data (§ 73).
expense_idYesID dokladu = název PDF bez přípony (např. '2603002').
supplier_dicNoDIČ / VAT ID dodavatele.
supplier_nameYesDodavatel.
business_shareNoPodíl použití pro podnikání v % (telefon napůl soukromě = 50).
reverse_chargeNoZahraniční služba bez české DPH (Google, OpenAI…) — DPH se samovyměří.
tax_deductibleNoDaňově uznatelný pro daň z příjmů. Nedaňový doklad (pohoštění…) zadej s vat_rate 0, aby DPH nešlo do odpočtu.
tax_point_dateYesDUZP YYYY-MM-DD.
document_numberYesČíslo faktury dodavatele.
supplier_countryNoZemě SÍDLA dodavatele (ISO, např. IE, PL, US) — u reverse charge povinné. Podle adresy na faktuře, ne podle prefixu DIČ (Anthropic, PBC s irským DIČ = US).

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It says the tool writes a record but is silent on what happens if expense_id already exists (overwrite vs. duplicate error), whether the write is reversible, what validation failures look like, or that this is a mutating, non-read-only operation requiring accurate accounting data. For a 17-parameter write tool with zero annotation coverage, this is a significant 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?

A single front-loaded sentence with no filler and the purpose stated first. It is efficient, though for a tool with 17 parameters and a multi-step import-recovery workflow the brevity edges toward under-specification rather than true concision.

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?

Has an output schema, so return values need not be described, and 100% schema coverage handles parameters. Given that, the description only needs to establish purpose and the import-failure entry point, which it does. The gap is the missing tie to list_import_issues, not missing return or param detail.

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 description coverage is 100%, so every one of the 17 parameters already carries its own meaning (including the non-obvious reverse_charge, claim_date, supplier_country and business_share semantics). The description adds no parameter guidance beyond what the schema states, so the 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?

States a specific verb and resource in Czech: 'Ručně zapíše přijatou fakturu (výdaj)' — manually records a received invoice as an expense. It also scopes it to documents the import cannot read. However, it does not distinguish itself from the similarly-named sibling add_manual_invoice, so an agent must guess between the two.

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?

'hlavně doklady, které import neumí přečíst' implies the entry point (documents flagged by import), but never names the sibling that surfaces those documents (list_import_issues) nor contrasts with add_manual_invoice, remove_expense, or mark_expense_paid. Usage is inferable but not stated as an explicit condition.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.