Skip to main content
Glama

Send email

send_email

Send an email to one or more recipients (via Resend, from a shared diairize.com address). reply_to defaults to the tenant's notification_email if set. Optionally link the send to a business record via entity_type/entity_id for the audit trail (email_send_log).

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": {
      "to": "<to>",
      "subject": "<subject>"
    },
    "name": "send_email"
  }
}

Input Schema

NameRequiredDescriptionDefault
toYesRecipient email address(es)
htmlNoHTML body — provide html or text (or both)
textNoPlain-text body
subjectYes
agent_idNo
reply_toNo
entity_idNo
from_nameNoDisplay name, e.g. the tenant's company name (default 'diAIrize')
entity_typeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already declare non-read-only, non-idempotent, open-world and non-destructive. The description adds real context beyond that: the fixed shared sending domain, the reply_to default derived from the tenant's notification_email, and that every send is written to email_send_log for the audit trail. It omits the practical consequence of idempotentHint=false (retries create duplicate emails) and says nothing about failure modes.

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?

Three dense sentences, front-loaded with the core action and sender constraint before the optional details. The parentheticals are slightly compressed but nothing is filler; a small structural loss is that the entity-linking note reads as an afterthought.

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 a mutating, open-world send tool with no output schema and 44% parameter coverage, the description covers sender identity, defaults and logging but never states what comes back (message id, status) or what happens on invalid recipients. Adequate to invoke, thin on outcomes.

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?

With only 44% schema coverage across 9 parameters, the description usefully explains the least self-evident ones: reply_to's default, and the purpose of entity_type/entity_id (audit-trail linkage to a business record). agent_id and subject remain unexplained, and the interaction of from_name with the fixed shared address is only implied.

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 and resource ('Send an email to one or more recipients') plus the transport ('via Resend, from a shared diairize.com address'), so the agent knows exactly what happens. It does not name a sibling such as send_draft_message or explain how the two differ, so it stops short of a 5.

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 when-to-use or when-not-to-use guidance: nothing says when to call this versus send_draft_message, or whether a draft must exist first. The only conditional language ('reply_to defaults to...', 'Optionally link the send...') describes behavior, not tool selection.

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