Skip to main content
Glama
cmendezs

mcp-facture-electronique-fr

submit_lifecycle_status

Submit a processing status for an invoice flow: choose from Refused, Approved, PartiallyApproved, Disputed, Suspended, Cashed, PaymentTransmitted, or Cancelled. Mandatory transmission of Refused and Cashed to the PPF.

Instructions

Emit a processing status on a received invoice: Refused, Approved, PartiallyApproved, Disputed, Suspended, Cashed, PaymentTransmitted, Cancelled. Refused and Cashed are mandatory transmissions to PPF. Reason is mandatory for Refused and Disputed.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
referenced_flow_idYesIdentifier of the invoice flow to which this status applies (flowId returned upon receipt, maxLength 36).
status_codeYesLifecycle status code to emit. Values defined in XP Z12-014: Refused (transmitted to PPF), Approved, PartiallyApproved, Disputed, Suspended, Cashed (transmitted to PPF), PaymentTransmitted, Cancelled. Refused and Cashed are mandatory transmissions to PPF.
reasonNoStatus reason, mandatory for Refused and Disputed. Free text describing the reason for refusal or dispute.
payment_dateNoPayment date (ISO 8601 format: YYYY-MM-DD). Provided for Cashed and PaymentTransmitted statuses.
payment_amountNoPayment amount (decimal string, e.g. '1250.00'). Provided for Cashed and PaymentTransmitted statuses.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

With no annotations, the description discloses key behavioral traits: mandatory statuses (Refused and Cashed to PPF) and conditional requirement for reason on Refused and Disputed. It implies a write operation but doesn't discuss side effects or reversibility.

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?

The description is two sentences, front-loaded with the purpose and list of statuses, with no wasted words.

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 status emission tool with an output schema, the description covers key behavioral aspects like mandatory transmissions and conditional reason, though it could briefly mention payment parameters for completeness.

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 100%; the description adds value by reinforcing mandatory transmission for Refused and Cashed and conditional requirement for reason. However, it doesn't add extra context for payment_date and payment_amount beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool emits a processing status on a received invoice and lists all possible status codes, distinguishing it from siblings like submit_flow which handles initial invoice submission.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description explicitly lists when to use the tool (to emit statuses) and highlights mandatory transmissions and conditional requirements for reason, but does not explicitly state when not to use or provide alternatives.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/cmendezs/mcp-facture-electronique-fr'

If you have feedback or need assistance with the MCP directory API, please join our Discord server