Skip to main content
Glama
Matthieusabourin2

pennylane-mcp-server

pennylane_finalize_customer_invoice

Finalize a draft customer invoice by assigning a definitive invoice number. This irreversible action converts the draft into a finalized invoice once it is ready.

Instructions

Transforme un brouillon de facture client en facture finalisée. Attention : cette action est irréversible. La facture reçoit un numéro définitif.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesIdentifiant de la facture brouillon à finaliser.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, idempotentHint=false and destructiveHint=false, so the safety profile is partly covered. The description adds genuinely new behavioral context beyond the annotations: the action is irreversible and the invoice acquires a definitive number. It does not mention auth requirements or exactly which fields become immutable, keeping it short of a 5.

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?

Three tightly-scoped sentences with no filler. The purpose is front-loaded and the irreversibility warning is given immediately after, in an easy-to-spot position.

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 single-parameter mutation with an output schema present, the description covers what the agent needs: what it does, that it is irreversible, and the numbering consequence. Minor gaps (auth/permission prerequisites, whether it can fail on an already-finalized invoice) remain but are non-blocking.

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% and there is only one parameter, whose meaning ('identifiant de la facture brouillon') is fully documented in the schema. The description adds nothing about the id beyond what the schema already provides, so the baseline of 3 applies.

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?

States a specific verb (transforme/finalise) and resource (brouillon de facture client → facture finalisée), making the state transition explicit. This clearly distinguishes it from the sibling create_customer_invoice and update_customer_invoice tools without opening either schema.

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 description implies the trigger condition (you have a draft to finalize), but never names an alternative or states when-not to use it. There is no explicit routing against update_customer_invoice or mark_customer_invoice_paid, so usage is only implied.

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