Skip to main content
Glama

bulk_update_email_accounts

Destructive

Bulk-update profile fields (profileUpdate: {name?, title?, capacity?, signature?} — at least one) across several email accounts the user owns or that teammates shared with them, replacing the current values for everyone who uses those mailboxes. name, title and signature are what recipients see on campaign emails sent from these mailboxes: name is the From name (on emails already queued too; an Outlook mailbox's in-thread follow-ups carry the name set in Microsoft) and the three fill the {Sender …} placeholders. capacity is each mailbox's daily campaign send limit (0 stops its campaign sends). An empty title or signature clears the stored value. Selection: pass emailAddresses[] (specific accounts) OR selectAll:true with filter ({emailAccountType?: "GMAIL"|"OUTLOOK"|"SMTP", onlyActive?}); excludedEmailAddresses[] only combines with selectAll.

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": {
      "profileUpdate": "<profileUpdate>"
    },
    "name": "bulk_update_email_accounts"
  }
}

Input Schema

NameRequiredDescriptionDefault
filterNo
selectAllNo
profileUpdateYes
emailAddressesNo
excludedEmailAddressesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior3/5

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

Annotations already flag destructiveHint=true and openWorldHint=true, so the mutation risk is declared structurally. The description adds real value beyond that: it says current values are replaced for everyone using those mailboxes, that an empty title/signature clears the stored value, and that capacity 0 halts campaign sends. It does not state permission requirements for shared mailboxes, partial-failure behavior across the batch, or limits on how many accounts a single call can touch.

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 purpose and effect, then selection rules, and every clause carries information. Structure suffers from dense nested parentheticals and a run-on sentence about Outlook in-thread follow-ups that could be split or trimmed for faster scanning.

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 destructive bulk mutation with a nested schema, no output schema and 0% schema coverage, the description supplies the needed semantics — what is overwritten, what clears values, and how the target set is chosen. The remaining gap is the return value (e.g., how many mailboxes were updated, how failures are reported), which must be explained in prose since no output schema exists.

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 description coverage is 0%, so the description carries the full burden — and it does, documenting every one of the five parameters including nested profileUpdate fields, their meanings (From name, {Sender …} placeholders, daily send limit), the clear-on-empty semantics, and the filter sub-fields and enum values. Nothing in the schema is left semantically undefined.

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 — bulk-update profile fields across several email accounts the user owns or that were shared with them — and enumerates exactly which fields are mutable. An agent can tell this apart from single-account updates and from the share/unshare/disconnect bulk siblings without opening the schema.

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 explicit selection rules: pass emailAddresses[] for specific accounts OR selectAll:true with filter, and notes that excludedEmailAddresses[] only combines with selectAll — that is genuine when/how guidance for the riskiest decision in the call. It stops short of naming the single-account alternative (update_email_account_profile) as the choice for one mailbox, so the sibling routing is only implied.

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.