Skip to main content
Glama

Email a creator

send_email
Idempotent

Sends a plain-text email to the creator’s revealed address (call reveal_contact first). Replies arrive in the conversation (see get_conversation). A later email to the same creator in the same campaign is a follow-up: it joins the creator’s existing email thread, keeps the conversation’s stage, and copies whoever last replied for the creator (a manager, say); leave subject out to reply as "Re: ". Subject and body can carry variables, filled in for this creator when it is sent, so one draft fits every creator: {name} (how to address them, cleaned from the channel name), {handle} (@handle), {platform}, {followers} (e.g. 75K) and {country}. A misspelled variable, or one this creator has no value for, fails the send with a message naming it. The first 100 emails each day are free; after that each costs 0.1 credits, up to the daily limit (see get_account). Sending the same subject and body to the same creator in the same campaign again returns the first send instead of emailing twice; pass a new idempotencyKey to send it again on purpose, for example after a send that failed.

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": {
      "campaignId": "<campaignId>",
      "creatorId": "<creatorId>",
      "body": "<body>"
    },
    "name": "send_email"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyYesEmail body, plain text; may use {name}, {handle}, {platform}, {followers} and {country}
subjectNoEmail subject. Required for the first email; leave it out on a follow-up to reply in the same thread
creatorIdYesCreator id, from search_creators results
campaignIdYesCampaign id, from list_campaigns or create_campaign
idempotencyKeyNoRetries with the same key never send twice

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / body / description
      Previous value: -"Email body, plain text"New value: +"Email body, plain text; may use {name}, {handle}, {platform}, {followers} and {country}"
  2. Changed2 schema fields changed
    • changedInput schema / properties / subject / description
      Previous value: -"Email subject"New value: +"Email subject. Required for the first email; leave it out on a follow-up to reply in the same thread"
    • changedInput schema / required
      Previous value: -[
      -  "campaignId",
      -  "creatorId",
      -  "subject",
      -  "body"
      -]New value: +[
      +  "campaignId",
      +  "creatorId",
      +  "body"
      +]
  3. First observed

TDQS

A4.9/5.0
Behavior5/5

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

Goes well beyond the annotations: thread merging, stage preservation, copying the last replier (e.g. a manager), variable interpolation and failure on missing/misspelled variables, per-day free quota then 0.1 credits each, and dedupe behavior with idempotencyKey. These are non-obvious side effects and costs an agent must know before calling a billing-affecting send.

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 core action and prerequisite, then layers follow-up, variables, pricing, and idempotency. Every sentence earns its place, but it is one dense paragraph with several parenthetical asides, so it is slightly harder to scan than it could be.

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?

For a mutation tool with no output schema, it covers side effects, thread behavior, cost, error modes, and retry semantics. There is no significant piece of information an agent would need before invoking this that is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline would be 3, but the description adds genuine meaning: why subject is optional (follow-up threaded reply with Re: prefix), what idempotencyKey does operationally (new key to deliberately resend after a failure), and that variables apply to both subject and body with a defined list. That is meaning the schema alone does not convey.

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?

States a specific verb and resource ('Sends a plain-text email to the creator's revealed address') and immediately distinguishes itself from siblings by naming reveal_contact as a prerequisite and get_conversation as where replies land. An agent can tell exactly what this does without opening a schema.

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 preconditions ('call reveal_contact first'), explicit follow-up conditions ('a later email to the same creator in the same campaign'), and the concrete action that selects follow-up mode ('leave subject out to reply as "Re: <subject>"'). The only mild gap is no stated when-not-to-use case, but the routing to reveal_contact and get_conversation covers the decision the agent actually faces.

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