Skip to main content
Glama

Merit Aktiva MCP by usefulapi

List purchase invoices

merit_list_purchase_invoices
Read-only

List purchase invoices (vendor bills) of a period: bill number, vendor, dates, totals, paid flag. The period may span at most 3 months (Merit limit); for longer spans make several calls. POST /api/v2/getpurchorders.

Input Schema

NameRequiredDescriptionDefault
date_typeNoWhich date the period filters: 0 = document date (default), 1 = date of last change.
period_endYesLast day of the period, yyyy-mm-dd (max 3 months after the start).
max_resultsNoShow at most this many rows (default 100, max 1000); the reply says how many there are in total.
unpaid_onlyNotrue = only unpaid bills.
period_startYesFirst day of the period, yyyy-mm-dd.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

readOnlyHint=true already covers the safety profile, and the description adds real behavioral context beyond that: the hard 3-month period ceiling, the chunking strategy, and the underlying endpoint POST /api/v2/getpurchorders. It does not mention pagination interplay with max_results or rate limits, but the key constraint is disclosed.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, zero waste, and the constraint and chunking advice are front-loaded after the purpose. Nothing extraneous.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a read-only list tool with no output schema, the description usefully names the returned fields and notes that the reply reports the total row count. The main gap is that pagination behavior across max_results is not spelled out, but the essentials for correct invocation are present.

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 all five parameters are already documented in the schema, and the description adds no syntax beyond the 3-month limit on period_start/period_end. The field list it provides describes the response, not the inputs. Baseline 3 applies when the schema does the heavy lifting.

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?

States a specific verb and resource ('List purchase invoices (vendor bills)') and enumerates the returned fields (bill number, vendor, dates, totals, paid flag). This clearly separates it from merit_get_purchase_invoice (single invoice) and merit_list_sales_invoices (the sales-side sibling).

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?

Gives concrete operational guidance: the period may span at most 3 months and longer spans require several calls. It does not explicitly name alternatives (e.g. merit_get_purchase_invoice for a single bill, or merit_purchase_report for aggregates), so routing to siblings is left implicit.

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.