Skip to main content
Glama
Fakturia API MCP

Fakturia API MCP

by edjufy

update_customer_sepa_mandate

Update an existing customer SEPA debit mandate's type, status, mandate number, or validity dates to keep payment details accurate.

Instructions

Update an existing SEPA debit mandate for a customer. Allows modifying mandate details such as type, status, and validity period.

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": {
      "customerNumber": "<customerNumber>"
    },
    "name": "update_customer_sepa_mandate"
  }
}

Input Schema

NameRequiredDescriptionDefault
statusNoThe status of the mandate (e.g. "ACTIVE", "INACTIVE").
validToNoThe expiration date of the mandate, in ISO 8601 format (YYYY-MM-DD).
debitTypeNoThe SEPA debit type (e.g. "CORE", "B2B").
issueDateNoThe date the mandate was issued, in ISO 8601 format (YYYY-MM-DD).
mandateTypeNoThe mandate type (e.g. "RECURRENT", "ONE_OFF").
mandateNumberNoThe unique mandate reference number.
customerNumberYesThe unique customer number whose SEPA mandate should be updated.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.4

TDQS

B3.2/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description carries the full behavioral burden and largely does not. It does not say whether this is a partial update (omitted fields untouched) or a full replacement, whether the mandate must be ACTIVE, what permissions are needed, or whether a change to status/validity is reversible. For a mutation of a payment instrument, these are material gaps.

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, front-loaded with the core action, and no filler. Slightly redundant since the second sentence largely restates the first.

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?

Adequate minimum for a seven-parameter mutation tool: purpose and affected fields are covered and the schema documents every parameter. It falls short on update semantics (partial vs full, required customerNumber behavior) that an agent needs before invoking a mutation on a financial mandate.

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 coverage is 100%, so the schema already defines all seven parameters with examples. The description echoes three of them (type, status, validity period) but adds no format, default, or interaction semantics beyond the schema; 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?

Clear specific verb+resource: 'Update an existing SEPA debit mandate for a customer'. The second sentence narrows scope to mandate details. Sibling differentiation is implicit only — create/get variants are distinguishable by name but the description never states the boundary explicitly.

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 'existing' and 'update', suggesting it applies to already-created mandates rather than new ones. No explicit when-to-use versus create_customer_sepa_mandate, and no prerequisites or conditions for choosing this over alternatives are given.

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