Skip to main content
Glama
merit-aktiva-mcp

merit-aktiva-mcp

by roosa-dev

get_invoices_by_no_or_customer

Retrieve sales invoices filtered by invoice number or customer name to locate and review specific billing records.

Instructions

List sales invoices filtered by invoice number or customer. Body: InvoiceNo and/or Customer name filters.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

B3/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the entire burden of behavior disclosure. It does not say whether matching is exact or partial, whether returning no match is an error, whether results are paginated, or what rows are returned, all of which matter for a filtered list tool.

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?

Two short sentences, front-loaded with the purpose and followed by the body fields; nothing is padded. The second sentence is slightly redundant with the first's mention of number/customer filters.

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 lookup tool with no output schema and no annotations, the description should clarify matching behavior, result shape, and limits. It names the filter fields but leaves return content, pagination, and no-match behavior entirely unspecified.

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 input schema is a free-form object with no declared properties, so the description is the only place that names the accepted body fields ('InvoiceNo and/or Customer name') and that either or both may be supplied. That is genuine added meaning, though it omits casing, format, or partial-match rules.

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 gives a concrete verb and resource ('List sales invoices') plus the filter dimension ('invoice number or customer'), which is more specific than the bare name. It does not, however, distinguish this from the sibling get_invoices beyond implying a filtering capability, so an agent must infer the difference.

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?

There is no explicit guidance on when to choose this tool over get_invoices or get_invoice, nor any stated preconditions. The filtering wording hints at a lookup use case, but the agent is left to infer the alternative.

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