Skip to main content
Glama
uol-mcp

uol-mcp

by jakubbegera

Search received invoices

search_purchase_invoices
Read-onlyIdempotent

Search received purchase invoices by tax date, received date, supplier, invoice number, amount, currency, or type to find UOL bookkeeping records; use tax_date or received_date for date filtering.

Instructions

Search received (purchase) invoices — přijaté faktury. UOL ignores issue-date filters on this endpoint, so filter by tax_date_* (DUZP) or received_date_*. The UOL API exposes no payment status for purchase invoices.

Input Schema

NameRequiredDescriptionDefault
pageNoPage number, starting at 1
typeNo
limitNoRows per page (max 100)
queryNoFull-text: invoice number, supplier name or text
numberNoPartial match of the supplier's invoice number
currencyNoISO code, e.g. EUR
seller_idNoContact id from search_contacts
total_maxNo
total_minNo
due_date_toNoDate as YYYY-MM-DD
tax_date_toNoDate as YYYY-MM-DD
due_date_fromNoDate as YYYY-MM-DD
tax_date_fromNoDate as YYYY-MM-DD
variable_symbolNo
received_date_toNoDate as YYYY-MM-DD
received_date_fromNoDate as YYYY-MM-DD

Output Schema

NameRequiredDescriptionDefault
invoicesYes
paginationYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.6.1

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive and openWorld, so safety is covered. The description adds two pieces of non-obvious behavioral context the annotations cannot convey: the API silently ignores issue-date filters on this endpoint, and the UOL API exposes no payment status for purchase invoices, which warns the agent away from an unavailable filter or expected field.

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?

Three short sentences, front-loaded with the resource identification followed by the two constraints that matter before calling. The Czech gloss and the filter caveat each earn their place; nothing is redundant, though the phrasing is slightly terse for a 16-parameter tool.

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 16-parameter, all-optional search tool with an output schema present, the description covers what structured fields cannot: the identity of the resource, which date filters actually work, and a data limitation (no payment status). Pagination, formats and limits are already documented in the schema, so nothing an agent needs in order to call it 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?

Schema coverage is 75%, so the schema already documents most parameters, but several date fields (tax_date_from/to, received_date_from/to, due_date_from/to) exist with identical YYYY-MM-DD descriptions and no differentiation. The description resolves that ambiguity by naming tax_date_* as DUZP and marking it and received_date_* as the working date filters, which is real added meaning beyond 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 description states a specific verb and resource ('Search received (purchase) invoices') plus the Czech equivalent 'přijaté faktury', which unambiguously separates it from sibling search_sales_invoices and get_purchase_invoice. An agent can tell it is a filtered list operation on the received-invoice resource without opening the schema.

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?

It gives one concrete usage rule — because UOL ignores issue-date filters on this endpoint, filter by tax_date_* (DUZP) or received_date_* instead — which is genuinely actionable. However, it never says when to pick this over get_purchase_invoice (single-record lookup) or search_sales_invoices (direction), and gives no exclusions or prerequisites, so the routing guidance is only partial.

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