Skip to main content
Glama
merit-aktiva-mcp

merit-aktiva-mcp

by roosa-dev

get_invoice

Retrieves one sales invoice with its rows and payments by GUID, optionally including its attachment.

Instructions

Get one sales invoice with rows and payments. Body: Id (GUID), optional AddAttachment (bool).

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

B3.4/5.0
Behavior3/5

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

No annotations exist, so the description carries the full burden. It does disclose that this is a single-record read returning header rows plus payments, which is genuine behavioral context, but it says nothing about permissions, not-found behavior, or what AddAttachment actually attaches.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two short sentences, result stated first and request body second, with no filler. Every clause carries information an agent needs to invoke the tool.

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?

With no annotations and no output schema, the definition still conveys enough to make a single-record read call, but leaves the meaning of AddAttachment and the identity of Id unresolved. Adequate for a simple getter, thin for a tool whose only parameter source is prose.

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 no declared properties, so the description is the only place Id (GUID) and the optional AddAttachment (bool) are documented — that is real value added. It omits where Id comes from (invoice identifier vs. document number) and the effect of setting AddAttachment, so it is not complete.

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 ("Get one sales invoice") plus the payload scope ("with rows and payments"), which distinguishes it from the list-style sibling get_invoices and the purchase-side get_purchase_invoice. It stops short of naming those siblings, so the differentiation is implicit rather than explicit.

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 when-to-use guidance: nothing says to use this instead of get_invoices (list), get_invoices_by_no_or_customer (lookup), or get_invoice_pdf (document retrieval). The reader must infer the selection rule purely from the tool name.

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