Skip to main content
Glama
merit-aktiva-mcp

merit-aktiva-mcp

by roosa-dev

get_purchase_invoice

Retrieve a single purchase invoice by GUID, including its rows and payments, to inspect invoice details and payment status.

Instructions

Get one purchase invoice with rows and payments. Body: Id (GUID), optional SkipAttachment.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

C2.9/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 full behavioral burden, and it discloses only that the result contains header data plus rows and payments. It says nothing about auth/permission requirements, behavior when the Id does not exist, or the concrete effect of SkipAttachment on the response size.

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, with the core purpose front-loaded before the body-field note. Nothing is wasted, though the terse 'Body:' fragment style is slightly less readable than a plain sentence would be.

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 description must cover both safety profile and return shape; it partially does by naming rows and payments, and it enumerates the request fields absent from the empty schema. It remains incomplete on error behavior, permissions, and the meaning of SkipAttachment for a single-record fetch.

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?

The input schema declares no properties at all (loose object with additionalProperties), so the description is the only source of field names and it usefully identifies Id as a GUID and SkipAttachment as optional. However, it does not explain what SkipAttachment excludes from the payload, leaving an agent to guess at the field's effect.

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 purchase invoice') and adds that the response includes 'rows and payments', which tells an agent what payload to expect. The singular 'one' implicitly contrasts with the plural sibling get_purchase_invoices, but the description never names an alternative, so it stops short of full sibling differentiation.

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 when-to-use guidance, no mention of prerequisites, and no named alternative for the bulk-retrieval or PDF cases handled by siblings like get_purchase_invoices or get_invoice_pdf. The only guidance an agent can infer is from the word 'one', which is thin.

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