Skip to main content
Glama

E-mail invoice (bexio)

bexio_send_invoice

Sends an issued bexio invoice by email to the contact's own address, including a document link and PDF; a custom recipient cannot be entered.

Instructions

E-mail an issued invoice to the contact's own e-mail address in bexio (no receiver can be given), with a link and the PDF. Off unless writes are enabled (BEXIO_ENABLE_WRITES, or the gateway host policy enableWrites).

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

Input Schema

NameRequiredDescriptionDefault
messageNoMessage; bexio puts the link to the document where "[Network Link]" stands (added at the end when missing).
subjectNoSubject (default the document number).
invoiceIdYesThe invoice.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare this as a non-read-only, non-destructive, non-idempotent, open-world action, so the safety profile is covered. The description adds real context beyond that: the writes-enabled gating condition, the fact that a recipient cannot be chosen, and what the outgoing mail contains (link plus PDF). It does not state what happens if the invoice is not yet issued or if delivery fails.

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 sentences, no filler. The core action and its recipient constraint are front-loaded, and the operational gating follows as secondary information.

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 three-parameter action with no output schema, the definition covers precondition, gating, recipient constraint, and message content. Remaining gaps (behavior when the invoice is unissued, delivery failure reporting) are modest but real for an irreversible send operation.

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% and the schema already explains the subject default and the [Network Link] substitution behavior. The description's only added parameter meaning is the negative constraint that no receiver can be supplied, which is useful but minimal; baseline 3 is appropriate when the schema does the heavy lifting.

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 names a specific verb (e-mail) and resource (an issued invoice), and immediately scopes the behavior: the message goes to the contact's own address and no receiver parameter exists. That detail alone separates it from generic 'send' or 'mark sent' siblings, so an agent can distinguish it 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?

It states a clear precondition (the invoice must already be 'issued') and an availability gate (writes must be enabled via BEXIO_ENABLE_WRITES or the gateway's enableWrites policy). It does not explicitly point to an alternative such as marking an invoice sent without e-mailing, so it falls short of a full when/when-not treatment.

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

Deploy Server

Other Tools