Skip to main content
Glama
Fakturia API MCP

Fakturia API MCP

by edjufy

update_contract_recurring_payment_config

Update a contract's recurring payment configuration, including provider, method, reference ID, active status, and auto-booking, to keep billing details accurate.

Instructions

Update the recurring payment configuration for a contract. Can modify the payment provider, method, reference ID, active status, and auto-booking settings.

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": {
      "contractNumber": "<contractNumber>"
    },
    "name": "update_contract_recurring_payment_config"
  }
}

Input Schema

NameRequiredDescriptionDefault
activeNoWhether this recurring payment config is active.
referenceIdNoThe external reference ID at the payment provider.
paymentMethodNoThe payment method (e.g. DIRECT_DEBIT, CREDIT_CARD).
contractNumberYesThe unique contract number whose recurring payment config to update.
paymentProviderNoThe payment service provider name.
pspPaymentMethodNoThe payment method identifier at the PSP.
bookIncomingPaymentNoWhether to automatically book incoming payments.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.4

TDQS

B3.1/5.0
Behavior2/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. For a mutation tool it omits the critical question of partial vs. full replacement semantics (whether unspecified fields are preserved or cleared), permission/authorization requirements, and failure behavior when the contract has no recurring config; it only restates which fields exist.

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 compact sentences, front-loaded with the verb and resource before the field list. Nothing is redundant, though the second sentence largely duplicates field names available in the schema.

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

Completeness2/5

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

With seven parameters, one required, no annotations, and no output schema, the definition is thin for a mutation tool: it says nothing about partial-update behavior, validation rules (e.g. valid paymentProvider/paymentMethod values), or what the caller gets back. A reader still cannot predict the effect of passing only contractNumber.

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%, so every parameter is already documented in the input schema and the description adds no syntax, format, or constraint detail beyond what is there. Baseline 3 applies when the schema does the heavy lifting.

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 pairs a specific verb ("Update") with a specific resource ("the recurring payment configuration for a contract") and enumerates the mutable fields, making it distinguishable from create_contract_recurring_payment_config and get_contract_recurring_payment_configs without opening a schema. It stops short of naming a sibling 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 only implied by the word "Update": an agent can infer this applies to an existing config rather than creating one, but nothing states prerequisites (the config must already exist), when to prefer this over create_contract_recurring_payment_config, or what to do if no config is present.

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