Skip to main content
Glama
merit-aktiva-mcp

merit-aktiva-mcp

by roosa-dev

get_invoices

List sales invoices for a specified period of up to three months, with optional filters for unpaid status, date type, or bank.

Instructions

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

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.5/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. "List" implies a read-only operation and the 3-month span limit is a genuinely useful behavioral constraint, but it says nothing about pagination, result caps, or whether invoice lines are included, even though a get_more_data sibling suggests paging exists.

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?

Purpose is front-loaded in a single short sentence, followed by a compact field list with no filler. Density costs a little readability, since abbreviations like UnPaid and BankId appear without gloss, but nothing is wasted.

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 description documents inputs adequately but leaves the shape and size of the response, pagination behavior, and result ordering unstated. An agent knows how to call it but not what to expect back.

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 bare object with additionalProperties and no declared properties, so the description is the only documentation of the fields. It supplies the yyyymmdd format, the 3-month span rule, the boolean nature of UnPaid, and the 0/1 meaning of DateType; only BankId and any defaults go unexplained.

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?

"List sales invoices" gives a specific verb plus resource, and "sales" implicitly separates it from get_purchase_invoices. It never names the closer siblings get_invoice (single) or get_invoices_by_no_or_customer (filtered lookup), so the agent must infer the distinction.

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?

Usage is only implied through the period parameters: this is the bulk listing tool, and the "max 3 months apart" note is a real operating constraint. There is no explicit when-to-use or when-not-to-use guidance versus get_invoice or get_invoices_by_no_or_customer, which return the same resource under different access patterns.

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