Skip to main content
Glama

send_document

Send a document (invoice, proforma invoice, etc.) by email.

Input Schema

NameRequiredDescriptionDefault
ccNoCC email address (optional)
toYesRecipient email address
bccNoBCC email address (optional)
bodyYesEmail body text
document_idYesDocument ID (invoice, proforma, etc.)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden and does not meet it. For an irreversible outbound-email action, it says nothing about side effects (does it mark the document as sent, does it generate and attach a PDF, is the email sent immediately, can it be undone), nor about permissions or rate limits.

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?

One short, front-loaded sentence with zero waste. It is efficient, but the brevity comes at the cost of the behavioral detail an email-sending tool needs.

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

Completeness2/5

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

With five parameters, no annotations, and no output schema, the agent gets no information about what happens on success (confirmation object? message id?), what the email looks like (template vs. raw body, attachment generation), or failure modes such as invalid document_id. Substantially incomplete for a mutation with external side effects.

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 every parameter (to, cc, bcc, body, document_id) is already documented in the schema. The description adds only that any document type is valid for document_id, which is marginal added value; baseline 3 applies.

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?

States a specific verb ('Send') and resource ('a document') plus the channel ('by email') and gives concrete examples (invoice, proforma invoice). It is the only send/email tool among a large set of create/search/update/delete siblings, so it is inherently distinguishable, though the description never says so explicitly.

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 guidance on when to use this versus alternatives, no prerequisites (must the document already exist / be issued / be finalized before sending?), and no mention of whether the send is immediate or queued. The agent must infer all of this.

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