Skip to main content
Glama

send_invoice_email

Sends a Fortnox invoice by email to the customer address on the invoice, with an optional dry-run preview before delivery.

Instructions

E-mail the invoice from Fortnox to the address on the invoice (customer-facing).

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": {
      "document_number": "<document_number>"
    },
    "name": "send_invoice_email"
  }
}

Input Schema

NameRequiredDescriptionDefault
dry_runNo
document_numberYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It does disclose the key behavioral trait — this sends a real, external, customer-facing email using the address stored on the invoice — but says nothing about whether the invoice status changes (e.g. marked sent), permissions required, failure modes when no address exists, or whether the send is reversible.

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?

A single front-loaded sentence with zero filler; the scope and audience qualifier are attached directly to the action. Nothing is wasted.

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

Completeness2/5

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

For a mutation tool with an external side effect, no annotations, no output schema and 0% schema coverage, the description is too thin: it leaves dry_run unexplained, gives no success/failure expectations, and does not say what happens when the invoice lacks an email address.

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 description coverage is 0%, so the description must compensate. It only implicitly explains document_number ('the invoice') and completely omits dry_run, which is the more surprising parameter for a send operation and needs an explanation of what a dry run does or does not do.

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?

The description states a specific verb+resource combination ('E-mail the invoice'), plus the destination ('the address on the invoice') and audience ('customer-facing'). The resource word 'invoice' separates it from send_offer_email and send_order_email, though it never names those siblings explicitly.

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 strongly implied: call this when the customer should receive the invoice by email. However, there is no explicit when/when-not guidance, no note on prerequisites (e.g. an email address existing on the customer record), and no mention of how dry_run fits into a safe trial.

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