Skip to main content
Glama
Fakturia API MCP

Fakturia API MCP

by edjufy

get_credit_note

Retrieve a single credit note by its unique number, including line items, amounts, tax details, customer and contract references, payment status, and document metadata.

Instructions

Retrieve a single credit note by its unique credit note number. Returns the full credit note details including line items, amounts, tax information, customer and contract references, payment status, 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": {
      "creditNoteNumber": "<creditNoteNumber>"
    },
    "name": "get_credit_note"
  }
}

Input Schema

NameRequiredDescriptionDefault
creditNoteNumberYesThe unique credit note number identifying the credit note 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 exist, so the description carries the full burden. It does disclose the payload shape (line items, amounts, tax, customer/contract references, payment status, metadata), which is genuinely useful given there is no output schema, but it says nothing about not-found behavior, permissions, or whether corrections are included.

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, both load-bearing: the first front-loads the action and lookup key, the second enumerates the returned fields. No filler or repetition.

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-only getter with no output schema, the field enumeration gives an agent a reasonable picture of the response. The remaining gap is error/failure behavior for an unknown credit note number, which is minor but not covered anywhere else.

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?

There is a single required parameter with 100% schema description coverage, so the schema already explains it fully. The description only restates that the number uniquely identifies the note, adding no format, source, or validation detail beyond the schema.

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') plus the identifying key, which clearly separates it from the batch siblings like list_credit_notes. It does not explicitly name the correction or document siblings, so the differentiation is implicit rather than stated.

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: 'by its unique credit note number' signals the caller must already hold an identifier, hinting that list_credit_notes precedes this call. There is no explicit when-to-use versus get_credit_note_correction, get_credit_note_document, or any exclusion guidance.

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