Skip to main content
Glama

send_email_template_test

Destructive

Send one real test email to the user's specified toEmail address using a template in the selected template library. Supply the version to send; the server resolves its current content. useSyntheticData=true needs only template access and requires no humanId; false requires guest-read access and an attendee humanId in the template's event. Use only an explicitly requested recipient address. A returned messageId confirms provider acceptance, not delivery. This tool has no delivery-status lookup. Retry only a confirmed rejection before submission; a timeout or missing result may mean the email was sent, so report an unresolved outcome instead of automatically sending again. Supply operationId; repeating it with identical arguments returns its persisted outcome without sending again. Pending or unknown outcomes require reconciliation, never a replacement send.

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": {
      "templateScope": "<templateScope>",
      "emailId": "<emailId>",
      "version": "<version>",
      "toEmail": "<toEmail>",
      "useSyntheticData": "<useSyntheticData>",
      "operationId": "<operationId>"
    },
    "name": "send_email_template_test"
  }
}

Input Schema

NameRequiredDescriptionDefault
emailIdYes
humanIdNo
toEmailYes
versionYes
operationIdYesUnique ID for this intended delivery. Reuse it with identical arguments after a timeout. Never use a new ID to retry an uncertain send.
templateScopeYes
useSyntheticDataYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • removedInput schema / properties / sourceHash
      Removed value: -{
      -  "type": "string"
      -}
    • addedInput schema / properties / templateScope / properties / EventId / minLength
      Added value: +1
    • removedInput schema / properties / templateScope / properties / OrganizationId
      Removed value: -{
      -  "type": "string"
      -}
    • addedInput schema / properties / templateScope / required
      Added value: +[
      +  "EventId"
      +]
    • changedInput schema / required
      Previous value: -[
      -  "templateScope",
      -  "emailId",
      -  "version",
      -  "sourceHash",
      -  "toEmail",
      -  "useSyntheticData",
      -  "operationId"
      -]New value: +[
      +  "templateScope",
      +  "emailId",
      +  "version",
      +  "toEmail",
      +  "useSyntheticData",
      +  "operationId"
      +]
  2. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Goes well beyond the annotations: destructive/openWorld are confirmed by the fact that a live email is dispatched, and the description adds that messageId means provider acceptance rather than delivery, that no delivery-status lookup exists, and how operationId makes repeats safe. The operationId paragraph effectively describes idempotent behavior while idempotentHint=false, but the scoping to a reused identical ID (a new ID sends again) makes this a nuance rather than a contradiction.

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?

Front-loads the action and recipient rule, then the access-mode rules, then response and retry semantics, which is the right ordering. It is dense but nearly every sentence carries operational safety information; the final 'pending or unknown outcomes require reconciliation' sentence partly restates the earlier timeout guidance.

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, no-output-schema, live-send tool with a nested parameter object, it covers the essentials an agent needs: access prerequisites, recipient restriction, return-signal meaning, and safe retry/idempotency behavior. The remaining hole is identifying what emailId and templateScope.EventId actually reference.

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 only 14%, so the description must carry the load, and it does for most parameters: toEmail constraints, version resolution, useSyntheticData's two access modes and its humanId coupling, and operationId reuse semantics. Gaps remain: emailId is never explained (presumably the template identifier), and templateScope's required EventId is not justified in prose.

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 one real test email to a given toEmail using a template from the selected template library, with the server resolving the version's current content. That is far more precise than the name alone. It does not explicitly contrast with the sibling send_email_broadcast_test, so the agent must infer the single-recipient vs broadcast split.

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

Usage Guidelines5/5

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

Gives explicit when/when-not rules: use only an explicitly requested recipient address; useSyntheticData=true needs only template access and no humanId, false needs guest-read access plus an attendee humanId in the template's event. It also spells out retry conditions (retry only a confirmed pre-submission rejection) and what to do with timeouts or unknown outcomes (report unresolved, reconcile, never resend).

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.