Skip to main content
Glama
fatturafacile-mcp-server

fatturafacile-mcp-server

Official

refund_payment

Process a refund for a previously registered payment by reversing the transaction in the ERP backend, enabling agents to correct or cancel settled payments.

Instructions

Process a refund for a previously registered payment.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "refund_payment"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/5.0
Behavior2/5

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

No annotations exist, so the description carries the full behavioral burden and largely fails. For a money-moving mutation it says nothing about whether the refund is full or partial, whether it is reversible, what permissions are needed, whether it is idempotent, or what happens on failure.

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?

A single short sentence with no filler, and the precondition ('previously registered payment') is placed where it is read first. It is lean without being cryptic, though it stops well short of what such an operation warrants.

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?

For a financial mutation with no annotations, no output schema, and no parameters, the description is far too thin. An agent cannot tell how the target payment is specified, what the result looks like, or what a failure means, which are all material for an irreversible money operation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema declares zero properties, so per the baseline there are no parameter semantics for the description to add. The description's silence is consistent with the empty schema, though it is notable that a refund tool exposes no way to identify the payment — a schema defect rather than a description one.

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?

Names a specific verb and resource ('Process a refund for a ... payment'), which is clearly distinct from siblings like register_payment and search_payment. It does not explicitly state what separates it from those siblings, but the verb 'refund' is unambiguous.

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?

The phrase 'for a previously registered payment' implies a prerequisite (the payment must already exist via register_payment), giving some usage context. However, it never states when to use this versus cancel_invoice or other correction paths, nor what to do if the payment was never registered.

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