Skip to main content
Glama
ucetka-mcp

ucetka-mcp

List issued invoices

list_invoices
Read-onlyIdempotent

List issued invoices and credit notes from the local ledger to find unpaid, overdue, paid or cancelled ones. Filter by month or status; read-only, shows number, customer, total and due date.

Instructions

List issued invoices (and credit notes) from the local ledger, oldest first, one line each: number, issue date, customer, total incl. VAT, due date and state — unpaid ('nezaplacena'), overdue ('PO SPLATNOSTI'), paid with date, or cancelled ('STORNO' with reason).

Read-only, no network. Use it to find unpaid/overdue invoices or an invoice number; for one invoice's items, bank details, QR string and PDF path use get_invoice. It does not pick up new PDFs — run sync_invoices first if invoices were added to the folder outside ucetka. Received invoices (expenses) are not included. Returns 'Žádné faktury.' when nothing matches.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

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

Input Schema

NameRequiredDescriptionDefault
monthNoOnly invoices issued in this month, format YYYY-MM, e.g. '2026-10'. Omitted = all months. Combines with status.
statusNoFilter by state: 'issued' = unpaid (includes overdue ones), 'paid' = paid. Omitted = all invoices, including cancelled ones and credit notes.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / month / anyOf
      Previous value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "pattern": "^\\d{4}-\\d{2}$",
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedInput schema / properties / month / description
      Previous value: -"Měsíc vystavení YYYY-MM."New value: +"Only invoices issued in this month, format YYYY-MM, e.g. '2026-10'. Omitted = all months. Combines with status."
    • changedInput schema / properties / status / description
      Previous value: -"issued = nezaplacené, paid = zaplacené."New value: +"Filter by state: 'issued' = unpaid (includes overdue ones), 'paid' = paid. Omitted = all invoices, including cancelled ones and credit notes."
  2. First observedv0.1.0

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint=false and destructiveHint=false, so the safety profile is covered; the description still adds real operational context beyond that — ordering (oldest first), the exact per-line fields returned, the state vocabulary including Czech literals like 'PO SPLATNOSTI' and 'STORNO', the empty-result string, and the important staleness caveat that it does not pick up new PDFs.

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 scoping and result format are front-loaded and each clause carries information. Minor waste: 'Read-only, no network' restates what readOnlyHint/openWorldHint already say, and the parenthetical Czech state names make the first paragraph long, though they are genuinely useful.

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?

For a zero-required-parameter read tool with an output schema, this is complete: purpose, filtering intent, prerequisite sync step, exclusions, return line shape and the empty-result sentinel are all covered. Nothing an agent needs to decide to call it or interpret the result is missing.

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% and both parameters (month, status) are fully documented in the schema itself, including the YYYY-MM pattern, defaults and combination behavior. The description adds only an indirect hint about unpaid/overdue filtering and does not elaborate on month or status semantics, so the baseline 3 applies.

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?

Opens with a specific verb+resource ('List issued invoices... from the local ledger') and immediately scopes what is and is not included: credit notes are in, received invoices/expenses are out. It also names the sibling get_invoice for the single-invoice case, so an agent can route correctly without opening either schema.

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

Usage Guidelines5/5

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

Gives explicit when-to-use ('find unpaid/overdue invoices or an invoice number'), an explicit alternative ('for one invoice's items, bank details, QR string and PDF path use get_invoice'), and a prerequisite ('run sync_invoices first if invoices were added to the folder outside ucetka'). Exclusions are stated too, so the boundaries are unambiguous.

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