Skip to main content
Glama

Octobooks

Ask to issue an invoice

invoice_issue
Destructive

Issue, send or mark as sent an invoice or credit note (by id or number). what=issue (the default, with reason and idempotency_key): the draft is frozen and its release is asked for at once. Under My AI decides with the owner's switch for the AI's issue of invoices on (the default) it is issued now; otherwise it waits on the approval page. The release draws the number, makes and stores the PDF and the XML, and posts the entry; issuing is final. withdraw=true withdraws the request and makes it a draft again. what=send_again: the same mail once more when the person asks (the same mail within 24 hours is otherwise not sent twice). what=send: mail the issued invoice's PDF to the customer from Octobooks (From hello@octobooks.ai with the company's name, Reply-To the company's own address), to = another address than the customer's on file (several by comma), cc = copies, message = the text (the company's company's default email text otherwise, its mail_text); only where the owner's switch Send invoices from Octobooks is on, and not from books that are a copy or a demo. what=mark_sent: record that it went out some other way (sent_on YYYY-MM-DD, note). what=xrechnung: make, validate and store the XRechnung 3.0 of an issued invoice (syntax ubl or cii; an Austrian invoice also ebinterface, ebInterface 6.1, and at_public, the Peppol file for e-Rechnung.gv.at), which a German public body asks for (a buyer reference, the Leitweg-ID, and email addresses of both sides needed; the draft takes buyer_reference); it is stored with the invoice and sent nowhere. Round 650, Approve and email in one step: what=issue with email=true (to and message as for send) issues and mails it together: once released (by the owner's switches) the PDF goes to the customer; where it waits, Approve and email on the approval page does both. Whatever what is, no money moves: the customer pays at their bank.

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": {
      "invoice": "<invoice>"
    },
    "name": "invoice_issue"
  }
}

Input Schema

NameRequiredDescriptionDefault
ccNo
toNo
noteNo
whatNoissue
emailNo
reasonNo
syntaxNoubl
companyNo
invoiceYes
messageNo
sent_onNo
withdrawNo
issue_anywayNo
idempotency_keyNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Beyond the annotations (destructive, open-world, non-idempotent), the description discloses that issuing is final, that it freezes the draft, draws the number, generates and stores PDF/XML, posts the entry, and that release may block on an approval page depending on the owner's switches. It also adds non-obvious behavior such as the 24-hour mail dedupe, the From/Reply-To addresses used, and the explicit note that no money moves.

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

Conciseness3/5

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

The purpose is front-loaded, but the body is a dense run-on mixing modes, gating rules, and mail formatting, with garbled fragments ('the company's company's default email text', 'Round 650'). Structure is mode-by-mode but would be far more usable as discrete bullets; the length is justified by the mode count, the phrasing is not.

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 destructive, 14-parameter, multi-mode tool with an output schema (so return values need not be described), the description covers release gating, side effects, mail constraints, and mode selection well. Gaps remain around the unexplained `company` and `issue_anyway` parameters and the stray `buyer_reference` reference, which could mislead an agent filling the schema.

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?

With 0% schema description coverage across 14 parameters, the description carries the burden and mostly succeeds: it defines `what`, `reason`, `idempotency_key`, `withdraw`, `to`, `cc`, `message`, `sent_on`, `note`, `syntax` (ubl/cii/ebinterface/at_public), and `email`. However, `company` and `issue_anyway` are never explained, and one sentence references a `buyer_reference` that is not an actual parameter of this schema.

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 opening sentence states a specific verb set and resource: 'Issue, send or mark as sent an invoice or credit note (by id or number)', and enumerates the modes via the `what` parameter. It is unambiguous what the tool does, though it never names or contrasts a sibling (e.g. release, invoice_action), leaving that routing work to the agent.

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

Usage Guidelines5/5

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

It explicitly separates when to use each mode: `what=issue` as the default, `withdraw=true` to revert to draft, `send_again` when the person asks vs `send` for the first mail, `mark_sent` for other channels, and `xrechnung` specifically for German public bodies. Conditions and prerequisites (owner switches on, not a copy/demo book, buyer reference and Leitweg-ID required) are spelled out rather than implied.

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