Skip to main content
Glama
stornoro

Storno CLI

by stornoro

invoices_email

Send an invoice by email with optional PDF and XML attachments, using default templates or custom subject and body. Recipients must be registered client emails.

Instructions

Send an invoice via email with optional PDF and XML attachments. Use invoices_email_defaults first to get pre-filled subject and body. Emails are sent asynchronously via queue. PDF attachment requires Pro plan. Recipients (to, cc, bcc) must be client emails registered on the company; other addresses are rejected with EMAIL_RECIPIENT_NOT_CLIENT.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ccNoCC email address (comma-separated for multiple)
toYesRecipient email address
bccNoBCC email address (comma-separated for multiple)
bodyNoEmail body text (uses default template if not provided)
uuidYesInvoice UUID to email
subjectNoEmail subject (uses default template if not provided)
languageNoEmail template language: ro (default) or en
attachPdfNoAttach PDF invoice (default: true, requires Pro plan)
attachXmlNoAttach UBL XML file (default: false)
companyIdNoCompany UUID override (uses active company if not set)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.17

TDQS

A4.7/5.0
Behavior5/5

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

Discloses key runtime behavior: emails are sent asynchronously, PDF attachment requires Pro, and non-client recipient addresses are rejected with a specific error. With no annotations present, this description carries the full transparency burden and does so well.

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?

Concise and front-loaded: action first, then usage note, then constraints. No redundant or filler content.

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

Completeness5/5

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

Covers the essential preconditions (defaults, Pro, registered recipients) and side effects (async queue) for a 10-parameter tool with no annotations or output schema. It leaves little ambiguity about how to invoke or what to expect.

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?

Schema descriptions already cover all 10 parameters, and the description adds meaningful constraints such as recipient email registration and the Pro requirement for PDFs. It reinforces the default-template flow without restating every enum or default.

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?

Clearly states the action ('Send an invoice via email') and the resource, including optional PDF/XML attachments. The tool name and sibling context make it distinct from delivery note and receipt email tools.

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?

Provides actionable guidance to call invoices_email_defaults first for pre-filled subject/body, and spells out recipient restrictions. It does not explicitly contrast with delivery_notes_email/receipts_email, but the invoice-specific wording and constraints give clear context.

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