Skip to main content
Glama

resendInvoice

Email an issued invoice to the customer again. Nothing about the invoice changes; it is returned as it is. Only an issued invoice can be resent. The route needs write access to customers, not only to billing. Get invoiceId from getInvoices. Never invent UUIDs; only use values from prior tool responses.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "invoiceId": "<invoiceId>"
    },
    "name": "resendInvoice"
  }
}

Input Schema

NameRequiredDescriptionDefault
invoiceIdYesThe id of the invoice.

Output Schema

NameRequiredDescriptionDefault
invoiceYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Goes well beyond the annotations by disclosing the actual side effect (an email is sent to the customer), confirming invoice data is untouched and returned as-is, and flagging the non-obvious authorization requirement of write access to customers rather than only billing. This is exactly the context an agent needs before triggering a customer-facing action.

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?

Six short sentences, front-loaded with purpose and non-mutation, then precondition, permissions, and ID sourcing. Nothing is padded; the marginal redundancy in 'Nothing about the invoice changes; it is returned as it is' reinforces a safety-relevant fact rather than wasting space.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a one-parameter, non-open-world action with an output schema covering return values, the description supplies everything else: side effect, precondition, permission scope, and ID provenance. No material gap remains.

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 coverage is 100%, so the UUID format is already documented, but the description adds provenance guidance (take invoiceId from getInvoices, never fabricate UUIDs) that the schema cannot express. That is meaningful extra semantics for the single required parameter.

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 (email/resend) and resource (an already-issued invoice), with the word 'again' making clear it is a repeat delivery rather than issuance, which separates it from issueInvoice. An agent can tell what this does without opening the schema.

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?

Gives a hard precondition ('Only an issued invoice can be resent') and routes the agent to getInvoices for the identifier. It stops short of naming the alternative action for a non-issued invoice (e.g., issueInvoice first), so the when-not path is implied rather than spelled out.

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