Skip to main content
Glama

set_email_account_active_status

Destructive

Toggle whether an email account is used in campaigns ("active"): emailAddress + isActive. A mailbox a teammate shared with the user (with campaign permission) can be switched too, and the change applies to everyone who uses it. Activating resumes the campaign emails queued for it, lets running campaigns pick it as a sender again, and lifts a switch-off the system applied after rejected sends or a provider rate limit. Deactivating holds its queued campaign emails and stops new campaign sends from it; a running campaign left with no active sending account may stop.

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": {
      "emailAddress": "<emailAddress>",
      "isActive": "<isActive>"
    },
    "name": "set_email_account_active_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
isActiveYes
emailAddressYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior5/5

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

Annotations already flag this as non-read-only and destructive, and the description adds real behavioural context on top: shared mailboxes change for every user, activation lifts a system-applied switch-off after rejected sends or rate limits, and deactivation holds queued emails and can stall a running campaign that has no other active sender. Those are exactly the side effects an agent needs before committing.

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-loaded with the core purpose, then consequences in a compact, dense form. Every sentence carries behavioural information, though the shared-mailbox aside is embedded mid-sentence and slightly interrupts the activate/deactivate contrast.

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?

For a two-parameter mutation with annotations and no output schema, the description covers both directions of the toggle and the cross-user and campaign-level fallout thoroughly. It does not say what happens on failure for an unknown or disconnected email address, which is the remaining gap.

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 0%, so the description must carry the load; it names both parameters and defines the meaning of isActive as whether the account is used in campaigns. emailAddress is only passed through as a name with the implicit email format, and valid/invalid handling is not described.

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?

The first clause gives a specific verb+resource+scope: toggling whether an email account is used in campaigns, parameterised by emailAddress and isActive. It is clearly distinct from profile-editing or bulk siblings, though no sibling is named explicitly to sharpen the boundary.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied through consequences rather than stated: the description explains what activating and deactivating do, which lets an agent infer when to call it. There is no explicit when-to-use vs when-not framing, and no pointer to alternatives such as bulk_update_email_accounts.

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.