Skip to main content
Glama
ucetka-mcp

ucetka-mcp

List documents needing manual entry

list_import_issues
Read-onlyIdempotent

Lists documents the last import could not process, showing each PDF path and reason (no ISDOC, unknown format, foreign supplier, duplicate number, or missing PDF).

Instructions

List documents the last import could not process, one per line with the PDF path and the reason: no ISDOC, unknown format, foreign supplier, duplicate number, or a recorded document whose PDF has disappeared.

Read-only: it shows the lists stored by the last sync and does not re-scan — call sync_invoices first for a fresh state. For each received ('Přijatá') document read the PDF and record it with add_expense (pass pdf_path); for each issued ('Vydaná') one use add_manual_invoice. If a received PDF was deleted on purpose, use remove_expense. Ask the user about unclear points (reverse charge, private use) instead of guessing. Returns 'Nic, vše načteno.' when there is nothing to do.

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_import_issues"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.8/5.0
Behavior5/5

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

Beyond the readOnly/idempotent annotations, it discloses that the tool reads the stored lists from the last sync rather than re-scanning, and that it returns the sentinel string 'Nic, vše načteno.' when nothing is pending. It also warns against silently deleting documents whose PDF was intentionally removed.

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 purpose is front-loaded in the first sentence, followed by a scoping caveat and then remediation routing, which is a logical structure. The enumeration of failure reasons is slightly verbose but each item maps to a distinct handling path, so most of the text earns its place.

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-parameter, read-only triage tool with an output schema, the description supplies everything needed: what it lists, freshness requirements, per-category next steps, and the empty-state return. Nothing an agent needs to act correctly 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?

The tool takes zero parameters, so the schema baseline of 4 applies; there is nothing additional the description could clarify. It does usefully note the pdf_path argument name for the downstream add_expense call, which helps the agent chain invocations.

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 first sentence names a specific verb and resource ('List documents the last import could not process') and then enumerates the exact failure categories (no ISDOC, unknown format, foreign supplier, duplicate number, missing PDF). It is clearly distinguishable from siblings like list_invoices or sync_invoices.

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?

The description explicitly states this is read-only, does not re-scan, and that sync_invoices must be called first for fresh state. It then routes each issue category to the correct next tool (add_expense with pdf_path, add_manual_invoice, remove_expense) and advises asking the user about ambiguity rather than guessing.

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