Skip to main content
Glama
Fakturia API MCP

Fakturia API MCP

by edjufy

get_invoice_correction

Retrieve a Fakturia invoice correction by its number to view adjusted amounts, line items, and the linked original invoice for accurate billing review.

Instructions

Retrieve a single invoice correction by its number from Fakturia. Returns complete details of the correction including adjusted amounts, line items, and the reference to the original invoice.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "invoiceCorrectionNumber": "<invoiceCorrectionNumber>"
    },
    "name": "get_invoice_correction"
  }
}

Input Schema

NameRequiredDescriptionDefault
invoiceCorrectionNumberYesThe unique invoice correction number identifying the correction to retrieve.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.4

TDQS

A3.6/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 behavioral burden. It does disclose the payload contents (adjusted amounts, line items, reference to the original invoice), which is genuine value, but it says nothing about read-only semantics, permission requirements, or what happens when the number does not exist.

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 sentences with no waste: the identification and lookup key come first, then the return contents. Nothing is repeated and nothing could be cut without losing information.

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

Completeness4/5

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

With one required parameter, no nested objects, and no output schema, the definition is nearly complete — the second sentence usefully compensates for the absent output schema by naming the returned fields. The only real omission is failure behavior for an invalid or unknown correction number.

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?

Schema description coverage is 100% for the single parameter, and the schema already states it is the unique correction number. The description's 'by its number' merely restates that, adding no format, example, or sourcing guidance, so the baseline 3 applies.

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?

The description opens with a specific verb and resource ('Retrieve a single invoice correction') and scopes it to a single record looked up by number, which implicitly separates it from list_invoice_corrections. It stops short of naming the near-sibling get_invoice_correction_document, so an agent must infer that this returns data rather than a document.

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 implied by 'single ... by its number' — the agent can reason this is the lookup-by-identifier path rather than a listing or document fetch. However, there is no explicit when-to-use statement, no exclusion, and no mention of get_invoice_correction_document or list_invoice_corrections as the alternatives.

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

Deploy Server

Other Tools