Skip to main content
Glama
merit-aktiva-mcp

merit-aktiva-mcp

by roosa-dev

get_invoice_pdf

Fetches a sales invoice PDF as base64 file name and content by invoice GUID, with an optional flag to include delivery note details.

Instructions

Get sales invoice PDF as base64 (FileName + FileContent). Body: Id (GUID), optional DelivNote (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_pdf"
  }
}

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?

No annotations are supplied, so the description carries the full burden. It does disclose the response shape (FileName + FileContent in base64) and the body fields, which is real value, but it omits permission requirements, behavior when the invoice ID does not exist, and whether DelivNote alters the returned document. The read-only nature is only implied by 'Get'.

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?

A single front-loaded sentence plus a compact field list; nothing is padded. The 'Body:' fragment is terse API jargon and slightly opaque, but it does not waste space.

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 simple one-document fetch with no output schema, the description covers return format and parameters adequately. It stops short of explaining error cases or the semantic effect of DelivNote, which an agent would still need to guess.

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 declares no properties, so the description is the sole source of parameter meaning: it names Id as a GUID and DelivNote as an optional boolean. That is a genuine addition over the schema, though the effect of DelivNote (include delivery note?) is not spelled out, keeping it below a 5.

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 sales invoice PDF') plus the return encoding (base64 with FileName + FileContent), which cleanly separates it from data-returning siblings like get_invoice and get_invoices. It does not explicitly name get_purchase_invoice as the counterpart for the other document type, so differentiation is by implication from the 'sales' qualifier.

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?

The word 'Get' plus 'PDF' implies you call this when you need the rendered document rather than invoice data, but no explicit when-to-use, prerequisites, or alternative is given. An agent must infer that get_invoice returns fields while this returns a file.

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