Skip to main content
Glama
Fakturia API MCP

Fakturia API MCP

by edjufy

get_credit_note_correction

Retrieve a credit note correction by its unique correction number to access full details, including line items, amounts, tax, references, customer, contract associations, and metadata.

Instructions

Retrieve a single credit note correction by its unique correction number. Returns the full correction details including line items, amounts, tax information, references to the original credit note, customer and contract associations, and document metadata.

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": {
      "creditNoteCorrectionNumber": "<creditNoteCorrectionNumber>"
    },
    "name": "get_credit_note_correction"
  }
}

Input Schema

NameRequiredDescriptionDefault
creditNoteCorrectionNumberYesThe unique credit note correction number identifying the correction to retrieve.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.4

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 disclosure burden. 'Retrieve' establishes a read-only, non-destructive operation and the second sentence usefully enumerates what is returned (line items, amounts, tax, original-credit-note references, customer/contract associations, metadata), but nothing is said about error behavior for an unknown correction number or any permission requirements.

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 sentences, front-loaded with the verb and scope, then the return payload; nothing is redundant. Slightly dense enumeration in the second sentence but every element is informative.

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?

For a one-parameter read tool with no output schema, the description adequately compensates by listing the returned fields. Remaining gaps are the not-found/failure semantics and differentiation from the correction-document sibling, which keep it short of full completeness.

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 required parameter, so the schema already explains the correction number. The description adds only the notion of uniqueness and identity-by-identifier, which is marginal added meaning; 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?

States a specific verb (Retrieve) and resource (a single credit note correction) and constrains the lookup to a unique correction number, which implicitly distinguishes it from list_credit_note_corrections. It does not, however, say how it differs from the close sibling get_credit_note_correction_document, which arguably returns a different artifact for the same identifier.

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: an agent can infer this is the fetch-one-by-identifier tool, but the description gives no explicit when-to-use, no pointer to the list tool for discovering identifiers, and no statement about when to prefer the document sibling.

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