Skip to main content
Glama

Attach sending accounts

set_campaign_inboxes
DestructiveIdempotent

Choose which mailboxes a campaign sends from. THIS REPLACES THE ATTACHED SET: any inbox you leave out is detached. Call list_inboxes with the campaign_id first and resend the ones already attached unless the user wants them removed. Works for both campaign types. Attaching does not send anything — it only decides which mailbox would be used.

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>",
      "inbox_ids": "<inbox_ids>"
    },
    "name": "set_campaign_inboxes"
  }
}

Input Schema

NameRequiredDescriptionDefault
inbox_idsYesTHE COMPLETE SET of inboxes this campaign should send from. This REPLACES what is attached now — any id you leave out is detached. Call list_inboxes with this campaign_id first and include the ones already attached, unless the user asked to change them. An empty array detaches everything, which stops the campaign being able to send.
campaign_idYesThe campaign to attach mailboxes to. Works for both types.
idempotency_keyNoOptional. Send the SAME value when retrying a call you are unsure completed.

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.7/5.0
Behavior5/5

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

Annotations only declare destructiveHint=true abstractly; the description states exactly what destruction means here — the call replaces the attached set and any omitted inbox is detached, including the empty-array case that breaks sending. It also discloses that attaching has no send side effect, which annotations cannot express.

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?

Five short sentences, front-loaded with the resource and the destructive replace warning, then workflow, then scope, then the non-sending clarification. Every sentence carries distinct information; the inline schema repeats some of it but the description itself is not padded.

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 3-parameter mutation with no output schema, the description covers the destructive semantics, the prerequisite read, the scope across campaign types, and the safety-relevant non-effect. Nothing an agent needs to call this correctly is absent.

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 the schema already documents replace semantics for inbox_ids, the empty-array caveat, and the idempotency_key retry protocol. The description's contribution is largely restatement plus "Works for both campaign types" for campaign_id, so baseline 3 applies.

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?

"Choose which mailboxes a campaign sends from" names a specific resource and effect, and the definition immediately carves out its boundary against launch/send behavior ("Attaching does not send anything"), so an agent can separate it from launch_campaign or list_inboxes 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?

Explicit workflow precondition ("Call list_inboxes with the campaign_id first and resend the ones already attached unless the user wants them removed") plus the when-not condition for detaching. Nothing about sequencing is left to inference.

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