Skip to main content
Glama

Appty

Send an invoice

send_invoice
Destructive

Create one invoice per currency for a client's sessions (by id or by calendar month) and email it. Returns a preview first and only acts when confirm=true. No money moves through the assistant. The invoice only sends a request the client pays on Appty.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
periodNoCalendar month YYYY-MM in the provider's time zone. Uninvoiced sessions in that month.
confirmNoSet true only after the caller has seen a preview and wants it done. Anything else, including the string "true", is a preview and changes nothing.
client_idYes
booking_idsNoSessions to put on the invoice. Pass this or period.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already flag destructiveHint=true and openWorldHint=true, but the description adds real behavioral detail beyond them: a preview-first two-step flow gated on strict confirm=true, client-facing email being sent, and the clarification that no funds move through the assistant. That is exactly the context an agent needs before firing a destructive operation.

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?

Four short sentences, front-loaded with the core action and immediately followed by the preview/confirm safety model. Every clause carries information; nothing is restated from the title or schema.

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, schema-rich tool with no output schema, the description covers the essential risk model (preview then confirm), the side effect (email dispatched), and the boundary (no money movement). It stops short of describing what the preview contains or how multiple currencies are surfaced, which is a minor gap.

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 coverage is 75% and the schema already documents period, confirm, and booking_ids thoroughly. The description still adds meaning by framing period vs booking_ids as mutually alternative selection modes (id-based or calendar-month) and clarifying the per-currency invoice granularity that no single parameter expresses.

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 precise verb+resource and scope: create one invoice per currency for a client's sessions, by booking id or calendar month, then email it. The 'no money moves through the assistant' clause also distinguishes it in spirit from send_pay_link, so an agent can tell what this tool is without opening the schema.

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?

Gives clear invocation context: it returns a preview first and only acts when confirm=true, and it explains the two input modes (by id or by calendar month). It does not explicitly compare itself to siblings like send_pay_link or who_owes, so no exclusion guidance is present.

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