Skip to main content
Glama

Facturama MCP Server and API by Cotlet

Cancel invoice in Facturama

facturama_cancel_invoice
Read-onlyIdempotent

Cancel invoice in the user's own Facturama account from ChatGPT, Claude or any AI agent. Returns how to do it in Facturama step by step (screens, buttons, fields) and opens nothing by itself; then do it with the cotlet_browser_* tools in the user's Facturama Cloud Browser. Facturama's official API: Yes.

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": "facturama_cancel_invoice"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, idempotentHint=true and openWorldHint=false, and the description is consistent with them by stating the tool "opens nothing by itself." Beyond that, it discloses the return content (step-by-step screens, buttons, fields), which is the key behavioral fact an agent needs since there is no output schema. The trailing "Facturama's official API: Yes." is cryptic and adds little clarity.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The core point (returns instructions, does not act) is front-loaded and clear, but the opening marketing clause "from ChatGPT, Claude or any AI agent" and the dangling fragment "Facturama's official API: Yes." do not earn their place. Trimming those would make the definition tighter without losing meaning.

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 zero-parameter, no-output-schema guidance tool, the description covers the essentials: what it returns, that it is non-acting, and which tools to use next. Minor gaps remain, such as what happens if the invoice cannot be cancelled or is already cancelled, and any account/permission prerequisites.

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 tool takes zero parameters, so there is nothing for the description to disambiguate; the baseline for a no-parameter tool applies. No misleading parameter expectations are introduced.

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 ("Cancel invoice") scoped to the user's own Facturama account, and immediately corrects the likely misreading by saying it "Returns how to do it in Facturama step by step" and "opens nothing by itself." It also names the sibling family that performs the action (cotlet_browser_*), so an agent can tell this is a guidance tool rather than an executor. It falls short of 5 because the name/title imply the cancellation is performed, and the description has to spend a clause undoing that.

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?

Usage is implied and partly explicit: call this to learn the Facturama cancellation steps, then perform them with the cotlet_browser_* tools in the Cloud Browser. That handoff is genuinely useful. However, there is no guidance on when NOT to use it — most importantly the distinction from facturama_issue_credit_note (cancelling a CFDI vs. issuing a credit note), which is the main adjacent decision an agent would face.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources