Skip to main content
Glama
Fatture in Cloud MCP Server

Fatture in Cloud MCP Server

mark_paid

Idempotent

Marks all open installments of one or more documents as paid. Sets the paid date and payment account, using a specified or configured default account when an installment lacks one.

Instructions

Segna come saldate tutte le rate aperte di uno o più documenti. Se una rata non ha conto, usa payment_account_id o il primo conto configurato.

Input Schema

NameRequiredDescriptionDefault
idsYes
paid_dateNoDefault: oggi
company_idNoAzienda su cui operare. Default: FIC_COMPANY_ID o l'unica azienda del token
payment_account_idNoConto di saldo (vedi lookup payment_accounts)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.1

TDQS

A3.5/5.0
Behavior3/5

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

Annotations only supply idempotentHint=true, so the description must carry most of the burden. It usefully discloses bulk scope ('tutte le rate aperte' across multiple documents) and the fallback chain for assigning a payment account, but says nothing about permissions, what happens when a document has no open installments, or reversibility (mark_unpaid exists but isn't referenced).

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 scope-changing action and followed by the account-resolution rule; nothing is redundant. Minor looseness: 'conto' and 'payment_account_id' are used interchangeably, which could read as two distinct concepts.

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?

For a mutation tool with a single weak annotation and no output schema, the definition covers the essential mechanics but omits what is returned and the outcome when no open installments exist. An agent could call it correctly, but cannot predict the result or error behavior.

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?

Schema description coverage is 75%, and the description adds real meaning on top of it: 'ids' is revealed to be document identifiers whose open installments are affected, and the fallback rule for the account parameter is spelled out beyond the schema's brief 'Conto di saldo' note. It does not clarify paid_date beyond the schema default.

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 and resource: 'Segna come saldate tutte le rate aperte di uno o più documenti' makes clear it is a bulk state change over open installments of the given documents. The sibling mark_unpaid exists but is never named, so differentiation is left to inference 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?

There is no explicit when-to-use or when-not-to-use guidance and no pointer to alternatives such as mark_unpaid or update_received_document. The only conditional guidance is about account resolution when an installment lacks a payment account, which is operational rather than selection 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