Skip to main content
Glama

Merit Aktiva MCP by usefulapi

Find sales invoices by number or customer

merit_search_sales_invoices
Read-only

Find sales invoices by invoice number, customer name or customer id (give at least one). POST /api/v2/getinvoices2.

Input Schema

NameRequiredDescriptionDefault
invoice_noNoInvoice number.
customer_idNoCustomer id (from merit_list_customers).
max_resultsNoShow at most this many rows (default 100, max 1000); the reply says how many there are in total.
customer_nameNoCustomer name.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

The readOnlyHint annotation already establishes that this is a safe read operation, so the description only needs to add context beyond that. It adds the "at least one" filter requirement and exposes the underlying POST endpoint, but says nothing about matching behavior (exact vs partial), result ordering, or pagination semantics.

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 compact sentence carries the purpose, keys, and constraint; the trailing endpoint path is low-value but harmless. Nothing is buried or padded.

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 four-parameter read-only search with full schema coverage and no output schema, the description covers the essentials: what it finds, by which keys, and the minimum input requirement. The main omission is routing guidance relative to the list/get siblings, which is a modest gap rather than a blocker.

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 100%, so the parameter details are already documented, but the description adds a genuine cross-parameter constraint the schema lacks: at least one of invoice_no, customer_id, or customer_name must be supplied (the schema declares zero required fields). That elevates it above the baseline 3.

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?

The description names a specific verb+resource ("Find sales invoices") and the three search keys, so an agent can tell this is a lookup-by-identifier tool. It does not explicitly distinguish itself from siblings like merit_list_sales_invoices or merit_get_sales_invoice, leaving that inference to the reader.

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?

"give at least one" provides a useful invocation constraint, but there is no explicit when-to-use guidance, no mention of alternatives (e.g., use merit_list_sales_invoices to enumerate all invoices), and no statement of when this tool is inappropriate.

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.