Skip to main content
Glama

search_supplier_invoices

Search supplier invoices (purchase invoices).

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": "search_supplier_invoices"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNoPage number, 1-based (default 1)
stateNoFilter by document state: draft, open, closed, cancelled. The alias "issued" means open+closed (finalised — not a draft, not cancelled). Comma-separated for several (e.g. "open,closed"). Omit for all states.
date_toNoFilter document date <= this date (YYYY-MM-DD)
currencyNoFilter by currency code, e.g. "RON", "EUR"
per_pageNoResults per page (default 20, max 100)
date_fromNoFilter document date >= this date (YYYY-MM-DD)
supplier_nameNoFilter by supplier name (partial match)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries the full burden but says nothing about read-only safety, permission requirements, pagination behavior, or result shape. Only the weak implication of "search" suggests a read operation, which is a thin basis for a mutation-free claim.

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 front-loaded sentence with a useful disambiguating parenthetical and zero filler. It is efficient, though the brevity is achieved by omitting rather than by tight construction.

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

Completeness2/5

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

For a 7-parameter, all-optional search tool in a dense family of near-identically named siblings with no annotations and no output schema, the definition should clarify which document family it covers and what a result contains. The one-line description leaves that entirely to inference.

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% — every parameter including the state alias semantics and date formats is documented in the schema. The description adds nothing beyond that, so the baseline 3 applies.

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?

Specific verb + resource ("search supplier invoices") with a clarifying gloss "(purchase invoices)" that disambiguates from sales invoices. However, it does not name the closely related siblings (search_invoices, search_simplified_supplier_invoices, search_supplier_orders), leaving the agent to infer the boundary.

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

Usage Guidelines2/5

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

No guidance on when to use this versus search_invoices (sales side) or the simplified/fiscal-receipt supplier variants, and no prerequisites stated. Usage is only implied by the word "search".

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.

Resources