Skip to main content
Glama

Draft Email Response

draft_email_response

Save or review one response to a verified non-automatic incoming email received within 30 days. Supply threadId, messageId, expectedRevision; saveResponse also requires text and a stable requestId, and may include up to three uploaded file manifests. Upload a PDF/PNG/JPEG/TXT/CSV up to 5 MB with uploadResponseFile, threadId, messageId, requestId, filename, contentType and contentBase64. Uploading sends no email; every file is bound into the reviewed response. Review returns the exact recipient, sender, content, current allowance, reviewHash and eligibility (eligible, or reasonCode unsubscribed/bounced/outside_window/no_permission/other). The recipient cannot change. A received reply never grants marketing consent. Uses the web composer and independent-review policy. Sends nothing. Workflow guide (MCP resource): socialloop://guides/email-campaigns.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actionYes
payloadYesAction parameters used by the web workspace: IDs, expectedRevision, draft/definition, cursor, and reviewHash where required. Identity is supplied by the connected account.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

Adds real behavioral context beyond the annotations: no email is sent by either uploading or saving, uploaded files are bound into the reviewed response, the recipient is immutable, and a received reply never grants marketing consent. It does not cover auth/permission requirements or what saveResponse returns, which keeps it short of a 5 against annotations that only declare it is non-read-only and non-idempotent.

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?

Purpose is front-loaded and nearly every sentence earns its place, including the important "Sends nothing" disclaimer. However, cramming three actions, their parameters, and the review return shape into one dense paragraph reduces scannability; bullets per action would help.

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?

With no output schema the description compensates by describing the review payload (recipient, sender, content, allowance, reviewHash, eligibility with reasonCodes) and it enumerates all three action preconditions. Minor gaps remain around what saveResponse returns and the allowed file-manifest format, but the agent has enough to invoke correctly.

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 is effectively opaque (action enum plus a free-form payload object at 50% coverage), so the description carries the semantics by enumerating required payload keys per action: threadId, messageId, expectedRevision, text, requestId, filename, contentType, contentBase64, cursor and reviewHash. It lists the fields well but does not explain expectedRevision's optimistic-concurrency meaning or the cursor's role.

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 specific verbs and resource ("Save or review one response to a verified non-automatic incoming email") and the 30-day scope, which an agent can use to tell it apart from drafting tools. The three bundled actions (saveResponse, reviewResponse, uploadResponseFile) make the single purpose slightly muddier than a one-verb tool, and no sibling is named explicitly, though "Sends nothing" implicitly contrasts with send_email_response.

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?

Gives concrete eligibility conditions (verified, non-automatic, within 30 days) and points to the workflow guide resource socialloop://guides/email-campaigns. It implies the save-then-review flow but never states explicitly when to prefer reviewResponse over saveResponse or how uploadResponseFile fits the sequence.

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.