Skip to main content
Glama
odelvalle

MCP Customer Support Example

by odelvalle

sendCustomerEmail

Send a customer email using authorized templates. Choose from refund-approved, ticket-created, or order-status-update templates.

Instructions

Envía un email a un cliente usando una plantilla autorizada. No se acepta contenido libre — solo templates registrados: refund-approved, ticket-created, order-status-update. Requiere rol SUPPORT.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
paramsYesVariables a sustituir en la plantilla
customerIdYesID del cliente destinatario
templateIdYesPlantilla de email a usar
callerTokenYesToken de autenticación
Behavior4/5

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

No annotations provided, so description carries burden. Discloses role requirement, template restriction, and no free content. Could mention idempotency or side effects, but is fairly transparent for a simple email tool.

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?

Two sentences, no waste. Front-loaded with main purpose, immediately followed by constraints. Efficient and clear.

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?

Covers purpose, allowed templates, role, and param usage. Does not describe return value or error behavior, but for a simple send tool this is mostly sufficient given no output schema.

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 coverage is 100%, so baseline is 3. Description adds that templateId must be one of the three listed and that params are substitution variables, but does not further explain the nested structure or authentication token format.

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 it sends an email with an authorized template, lists specific templates, and notes the required role. Distinct from sibling tools which handle refunds, tickets, orders, and profiles.

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?

Explicitly says when to use (send email with template) and lists allowed templates and required role. Does not explicitly mention when not to use or alternatives, but context is sufficient.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/odelvalle/mcp-support-example'

If you have feedback or need assistance with the MCP directory API, please join our Discord server