Skip to main content
Glama

Email Invoice

email_invoice

Email the booking's itemised invoice (PDF) to the client (comms scope).

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": {
      "id": "<id>"
    },
    "name": "email_invoice"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe record's numeric id, from the matching list/get/search tool.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / id / description
      Added value: +"The record's numeric id, from the matching list/get/search tool."
  2. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, openWorldHint=true, idempotentHint=false and destructiveHint=false, so the safety profile is covered. The description adds one thing beyond that: the "comms scope" authorisation requirement, which is genuinely useful context the agent cannot get from the schema. It does not address what happens on a second call or on a client without a deliverable address, leaving the non-idempotent consequence undisclosed.

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?

A single sentence with zero waste, front-loaded on the action and artifact. Every clause (PDF, client, comms scope) contributes information not carried elsewhere in the definition.

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

Completeness3/5

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

For an outward-facing send with a single required id and no output schema, the description covers the essentials of what is sent and to whom. It falls short on preconditions and failure behaviour, which an agent needs to avoid invoking a non-idempotent external email inappropriately.

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?

There is one parameter at 100% schema description coverage, and the schema already explains that the id comes from a matching list/get/search tool. The description adds no interpretation of that id (e.g. the booking id vs. the invoice id), which matters given a sibling named get_invoice. 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 ("Email") plus three concrete qualifiers: the artifact (the booking's itemised invoice as PDF), the recipient (the client), and the permission scope (comms). That is enough to distinguish it from a generic send_email or get_invoice, though it never names those siblings so the agent must infer the boundary.

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

Usage Guidelines3/5

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

Usage is only implied: an agent can infer it should call this when the client should receive the invoice. There is no statement of preconditions (an invoice must exist, the client must have an email on file), no note on when to prefer this over the sibling send_email, and no guidance on repeat invocation.

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