delete_invoice
Delete a specific invoice by its ID to clean up your records and remove erroneous entries from your invoicing system.
Instructions
Delete an invoice by ID.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| invoiceId | Yes |
Delete a specific invoice by its ID to clean up your records and remove erroneous entries from your invoicing system.
Delete an invoice by ID.
| Name | Required | Description | Default |
|---|---|---|---|
| invoiceId | Yes |
Changes observed during successful MCP inspections.
v1.0.0Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
The annotations already declare destructiveHint=true and idempotentHint=true, so the destructive nature is covered. The description adds no additional behavioral context beyond those annotations, but it does not contradict them either.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, front-loaded sentence with no filler. It is appropriately sized for a simple one-parameter delete tool.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a simple one-parameter delete operation with annotations already describing destructive and idempotent behavior, the description is largely complete. It doesn't describe return values or side effects, but the lack of an output schema and the tool's simplicity make this acceptable.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The input schema has 0% description coverage for 'invoiceId'. The phrase 'by ID' indicates the parameter's role, but it adds little beyond the property name and doesn't mention format or usage details beyond the schema's number type.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states a specific verb, resource, and selection key: 'Delete an invoice by ID.' It is clearly distinct from sibling tools like delete_estimate and delete_customer, and from get/update/send invoice operations.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The intended use is implied by the verb and resource, but no explicit when-to-use guidance or alternatives are provided. It doesn't say to prefer this over delete_estimate or delete_customer, though the resource is obvious from the name.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.