Skip to main content
Glama

Stop or resume a recurring invoice

stop_recurring_invoice
Idempotent

Stop, pause, or restart a recurring invoice by invoice ID or payer name. Set resume to true to restart; invoices already sent remain unchanged.

Instructions

Use when the user wants to stop (cancel, pause, end) or restart a repeating invoice, e.g. "stop billing Acme every month". Pass the invoice ID or who. Set resume to true to restart it. Invoices already sent stay as they are.

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

Input Schema

NameRequiredDescriptionDefault
whoNoName the recurring invoice was created with, e.g. "Acme".
resumeNotrue restarts a stopped recurring invoice.
requestIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.4.0

TDQS

A4/5.0
Behavior4/5

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

The annotations already state mutation, idempotency, open-world access, and non-destructiveness. The description adds useful lifecycle context by saying already-sent invoices stay unchanged and that resume=true restarts the invoice, though it does not discuss auth, rate limits, or precise schedule effects.

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 front-loaded with the usage condition and structured as short, purposeful sentences. Every sentence contributes to identifying the operation, its trigger, or its effect on existing invoices.

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 three-parameter mutation tool with no output schema, the description covers the core stop/resume behavior and the effect on sent invoices. However, it leaves ambiguity about how to identify the invoice and omits requestId entirely, so the definition is only minimally complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is only 67%, so the description should compensate, but it references an 'invoice ID' parameter that is absent from the schema and never documents requestId. It does clarify `who` and `resume`, though the resume explanation mostly duplicates the schema and the identifier guidance is misleading.

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 states a specific verb and resource: stopping or restarting a repeating invoice. It includes synonyms and an example, making the lifecycle-specific purpose immediately clear and distinguishable from billing tools that create, list, or inspect invoices.

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?

It gives explicit usage guidance with 'Use when the user wants to stop... or restart...' and includes common synonyms and an example. It does not name alternatives or exclusions, but the triggering context is clear.

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