Skip to main content
Glama

agent-cold-email

reply

Destructive

Send a reply on an existing thread, from the mailbox that sent it. Inputs: threadId, body. Returns { messageId, deduplicated }. A reply is real sending volume and is governed exactly like campaign sends: it counts against that mailbox's daily cap (sentToday +1, visible in infrastructure_status), and it is REFUSED — never silently dropped — when the recipient is suppressed, the mailbox is deliverability-paused, or the cap is used up. A refusal returns { error, code:'send_blocked', reason:'suppressed'|'mailbox_paused'|'daily_cap_reached', retryable }: retryable (cap) clears at the next daily rollover, non-retryable does not, so stop retrying and don't loop replies to manufacture volume. Idempotent: identical retries collapse to one send — pass a stable idempotencyKey (else a body hash is used) so a dropped-response retry can't double-send. deduplicated: true means NO new email was sent — messageId is from an earlier send this call matched. deduplicated: false means this platform sent the call onward as a NEW send, which is normally a new email — but it is not a guarantee one left the building: with NO idempotencyKey the body hash is only matched here for 10 minutes, while the sending provider keeps its own record of an identical body on the same thread for longer, and can collapse a much later repeat into the original send. So on a long-delayed identical repeat you may get deduplicated: false with the ORIGINAL send's messageId and no new email. PASS AN IDEMPOTENCYKEY, or vary the body, if you need a repeat to genuinely go out. 404 if no sending mailbox is on record for the thread.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bodyYes
threadIdYesThe thread id, e.g. from inbox() or campaign events.
idempotencyKeyNoOptional idempotency key: resend the SAME key when retrying this call so a dropped-response retry is not applied twice (no duplicate campaign/provision/send).

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observed

TDQS

A4.9/5.0
Behavior5/5

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

Despite the destructiveHint annotation already indicating mutation, the description goes far beyond by detailing side effects (daily cap counting, refusals with specific error codes), idempotency mechanics (same-key retries collapse), and deduplication nuances (what deduplicated:true/false actually means, the 10-minute body-hash window, and the possibility of deduplicated:false on a long-delayed repeat). This is rich behavioral disclosure that prevents misuse. No contradiction with annotations.

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?

The description is long but every sentence provides non-redundant information. It front-loads the core purpose, then logically progresses from send consequences, to refusal conditions, to idempotency, to deduplication semantics. There is no fluff or repetition; the density is justified by the complexity of the tool's behavior. Each clause earns its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The tool has no output schema, so the description must fully explain return values, which it does: it explains messageId and deduplicated semantics, error codes, and retryability. It also covers prerequisites (mailbox on thread), side effects (cap increments), and edge cases (provider-side dedup). For a tool with this level of subtlety, the description is comprehensive and leaves no critical ambiguity.

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?

The schema covers threadId and idempotencyKey with descriptions, but body lacks one. The description compensates by explicitly listing 'Inputs: threadId, body' and explaining how body is used (it can be varied to avoid deduplication) and how idempotencyKey works in detail (body hash fallback, need for stable key). It adds meaningful context beyond the schema, especially for idempotencyKey, though it doesn't individually describe each parameter. Given the 67% schema coverage, the description fills the gap well.

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?

The description opens with a clear, specific verb+resource statement: 'Send a reply on an existing thread, from the mailbox that sent it.' This immediately distinguishes the tool from siblings like launch_campaign or ack_message, and the scope is well-defined. It also states the return shape, making the purpose unambiguous.

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?

The description provides explicit guidance on when to use the tool (to reply to an existing thread), conditions that cause refusals, and clear advice on retry behavior (e.g., 'stop retrying and don't loop replies to manufacture volume'). It also contrasts with campaign sends ('governed exactly like campaign sends'), which clarifies its place among alternatives, and notes the 404 condition when no sending mailbox exists.

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.

TDQS

A4.4/5.0
Disambiguation4/5

Most tools have distinct purposes, but pause/pause_all and metrics/campaign_results/list_campaigns have overlapping scopes. Descriptions clarify the differences, so ambiguity is low.

Naming Consistency4/5

Uses snake_case with a mix of verb_noun (list_campaigns) and noun_verb (infrastructure_status), but patterns are predictable. Minor inconsistency between setup_infrastructure and infrastructure_status.

Tool Count4/5

25 tools is at the upper bound for a focused server, but the domain (cold email automation) justifies the number. Each tool covers a distinct aspect of the workflow.

Completeness4/5

Covers account management, campaigns, leads, threads, infrastructure, webhooks, and dashboards. Missing resume for paused campaigns and delete for campaigns, but core operations are present.