Skip to main content
Glama

Send an invoice

send_invoice
Destructive

Prepares emailing a draft invoice to the client. Does not perform the action itself: returns a confirmUrl, valid for 30 minutes. The action runs only after the user opens that link and presses Confirm in Netto.

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>",
      "customerName": "<customerName>"
    },
    "name": "send_invoice"
  }
}

Input Schema

NameRequiredDescriptionDefault
invoiceIdYesUUID of the draft invoice to send.
customerNameYesClient name for the confirmation reply.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/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 two-phase mechanism: the call itself does not send anything, it returns a confirmUrl that expires in 30 minutes, and the send only happens after the user opens the link and presses Confirm in Netto. This is exactly the non-obvious behavior an agent needs to avoid assuming a send already occurred; the destructiveHint=true annotation is consistent with the eventual user-confirmed send.

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?

Two short sentences, zero filler, and the key constraint (does not perform the action itself) is front-loaded immediately after the purpose statement. The return value and its TTL follow in logical order.

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 two-parameter tool with no output schema, the description covers what matters: the call's effect, the returned confirmUrl, and its expiry. Minor gaps remain—what happens on expiry or whether repeat calls mint new links—but nothing essential for correct invocation is missing.

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 coverage is 100%, so both parameters (invoiceId, customerName) are already documented in the schema, including that customerName is for the confirmation reply. The description adds no further meaning about parameter constraints or validation, so the baseline 3 applies.

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: it 'prepares emailing a draft invoice to the client' and returns a confirmUrl. This distinguishes it clearly from query or draft-creation siblings, though it never names the adjacent send tools (send_quote, send_reminder) to differentiate by resource.

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?

Clear context for use: call this when a draft invoice must go to a client, and the description makes plain the send is not immediate. There is no explicit exclusion (e.g., when to prefer send_reminder or what to do for a non-draft invoice), so it stops short of full when/when-not guidance.

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