Skip to main content
Glama

Send Test Email

send_test_email

Send a test email for a campaign to specified recipients before the actual send. Set dry_run: true to validate the recipients without sending.

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": {
      "campaign_id": "<campaign_id>",
      "recipients": "<recipients>"
    },
    "name": "send_test_email"
  }
}

Input Schema

NameRequiredDescriptionDefault
dry_runNoValidate and show what would be sent without sending
recipientsYesTest email recipients
campaign_idYesCampaign ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / campaign_id / description
      Previous value: -"Campaign ID,required"New value: +"Campaign ID"
    • changedInput schema / properties / recipients / description
      Previous value: -"Test email recipients,required"New value: +"Test email recipients"
  2. Changed2 schema fields changed
    • removedInput schema / properties / api_key
      Removed value: -{
      -  "description": "MailerCloud API key",
      -  "type": "string"
      -}
    • addedInput schema / properties / dry_run
      Added value: +{
      +  "description": "Validate and show what would be sent without sending",
      +  "type": "boolean"
      +}
  3. First observed

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, idempotentHint=false, openWorldHint=true and destructiveHint=false, so the mutating/external nature is covered. The description usefully adds that dry_run=true is a no-send validation path, but it says nothing about side effects such as whether test sends count toward campaign stats, whether the campaign must be in a draft state, or that repeated calls (non-idempotent) send multiple real emails.

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, zero waste, with the primary action and the safety-mode flag front-loaded. Nothing extraneous or repeated.

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 3-parameter, non-nested tool with full schema coverage and annotations, the description covers the essentials of what it does and how to validate safely. However, with no output schema, it leaves unanswered what dry_run returns (validation results? list of invalid recipients?) and what constraints exist on campaign state before sending.

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 description coverage is 100%, so all three parameters are already documented, giving a baseline of 3. The description adds modest meaning by making clear that recipients are test recipients distinct from the campaign audience, but its dry_run explanation largely restates the schema's "Validate and show what would be sent without sending".

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+resource ("Send a test email for a campaign") and scopes it to "specified recipients before the actual send", which reads clearly against siblings like send_personalized_email and send_transactional_email. It stops short of naming those siblings, so the differentiation is inferred from the word "test" rather than stated.

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?

"before the actual send" gives a clear temporal/pre-condition context for when to call it, and the dry_run sentence tells the agent how to use it safely for validation only. There is no explicit exclusion (e.g., use test_transactional_webhook for transactional templates), so it falls short of a 5.

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