Skip to main content
Glama

send_order_email

Email a Fortnox order confirmation PDF to the customer by document number, with an optional dry-run preview before sending.

Instructions

E-mail the order confirmation PDF to the customer from Fortnox (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_order_email"
  }
}

Input Schema

NameRequiredDescriptionDefault
dry_runNo
document_numberYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

B3/5.0
Behavior3/5

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

With no annotations, the description does carry the most important behavioral fact: this dispatches an email externally to the customer, i.e. an irreversible outbound side effect rather than an internal record change, and it names the source system (Fortnox). It omits preconditions (order state/permissions), failure behavior, and the existence of a preview mode, so the burden is only partly met.

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

Conciseness4/5

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

A single front-loaded sentence with the action first and the scope qualifier after; the parenthetical '(customer-facing)' is slightly redundant but does convey that the recipient is external. No filler or hedging.

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 low-complexity, two-parameter tool the description covers the essential identity and the outbound nature, but with no annotations and no output schema it should also state order-state prerequisites and explain dry_run. As written an agent could call it correctly by name but not reliably reason about the side effect or preview path.

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% for both parameters, so the description must compensate and does not. It never says what 'document_number' identifies (order number vs. Fortnox document ID) and never mentions 'dry_run' at all, leaving a preview/test flag completely undocumented for a tool with an external side effect.

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 pairs a specific verb ('E-mail') with a specific artifact ('order confirmation PDF') sent to the customer, which separates it from the invoice/offer email siblings by document type. It does not explicitly name those siblings as alternatives, keeping it just short of a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use or when-not-to-use guidance: nothing says the order must first be completed/confirmed, nothing distinguishes it from send_invoice_email or send_offer_email, and nothing explains when a preview instead of a real send is appropriate. Only the word 'customer-facing' hints at its role.

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