Skip to main content
Glama
merit-aktiva-mcp

merit-aktiva-mcp

by roosa-dev

get_purchase_invoices

Retrieve purchase invoices for a specified period of up to three months, optionally filtering by unpaid status or document/change date.

Instructions

List purchase invoices. Body: PeriodStart, PeriodEnd (yyyymmdd, max 3 months), optional UnPaid (bool), DateType (0=doc date, 1=changed).

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_purchase_invoices"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose key behavioral constraints: the required period fields, the yyyymmdd format, the 3-month cap, and the DateType enum mapping. It omits return shape, pagination behavior (relevant given a get_more_data sibling), and any permission or result-size limits.

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 compact sentences, front-loaded with the purpose and followed by field details, with no filler. The telegraphic 'Body:' framing is efficient but slightly terse for an unfamiliar API.

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

Completeness3/5

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

For a list tool with no annotations and no output schema, the definition covers the request side adequately but says nothing about what is returned or how to page through large result sets. An agent can construct a call but not anticipate the response, which leaves a meaningful gap.

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 permissive free-form object with no declared properties, so the description is the only source of parameter meaning — and it supplies field names, date format, the 3-month boundary, optionality of UnPaid, and the 0/1 meaning of DateType. It adds substantial value beyond the schema, though the exact semantics of UnPaid and of PeriodStart/PeriodEnd boundaries could be spelled out more.

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?

States a specific verb and resource ('List purchase invoices'), which is clear enough to distinguish it from single-record siblings like get_purchase_invoice. It does not explicitly contrast with get_invoices or get_purchase_report, so an agent must infer the difference from the name alone.

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 tool versus alternatives such as get_invoices, get_purchase_invoice, or get_purchase_report. The only implicit usage constraint is the max 3-month period, which is a limitation rather than a when-to-use rule.

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