Skip to main content
Glama

SmartBill MCP by usefulapi

Email an invoice or proforma

smartbill_send_document
Destructive

Send an issued invoice or proforma by email from SmartBill. This EMAILS A THIRD PARTY and cannot be recalled. Without to it goes to the client's email on the document; without subject/body_text the account's email template is used. Confirm the recipient with the user first. POST /document/send.

Input Schema

NameRequiredDescriptionDefault
ccNoCC addresses, comma separated.
toNoRecipient (default: the client's email on the document).
bccNoBCC addresses, comma separated.
typeYesfactura = invoice, proforma = proforma.
numberYesDocument number as text, e.g. "0025" (keep leading zeros).
subjectNoEmail subject, plain text (default: the account template).
body_textNoEmail body, plain text (default: the account template).
series_nameYesDocument series name exactly as configured in SmartBill Cloud (smartbill_list_series lists them).

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?

Adds substantial context beyond the destructiveHint=true annotation: it emails an external third party, is irreversible ('cannot be recalled'), falls back to the client's address and the account's template, and requires user confirmation. This is exactly the behavioral disclosure an agent needs before invoking an irreversible outbound action.

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?

Four tight sentences, front-loaded with the action and its irreversibility, followed by defaults and the POST path. The endpoint reference mildly duplicates what an agent already infers from the tool call, but nothing is bloated.

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 an 8-parameter irreversible action with no output schema and only a destructiveHint annotation, the description supplies the precondition, defaults, safety warning, and confirmation requirement. It omits only error/rate-limit behavior and result reporting, which are secondary here.

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 description coverage is 100%, so baseline is 3. The description restates the fallback semantics for `to` and the template defaults for subject/body, which the schema already documents per-parameter; it adds no new syntax or format detail.

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?

States a specific verb and resource ('Send an issued invoice or proforma by email') and constrains scope to already-issued documents. No sibling tool sends documents, so it is clearly distinguishable from the cancel/create/restore family.

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?

Explains the default behavior when `to`, `subject`, and `body_text` are omitted, warns that the action cannot be recalled, and instructs the agent to confirm the recipient with the user first. It does not name any alternative tool, but no sibling performs a comparable send operation, so the guidance is effectively complete.

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.