Skip to main content
Glama

bulk_unshare_email_accounts

Destructive

DESTRUCTIVE: Revoke one teammate's access (sharedWithUserId) across several owned email accounts; omit permissions[] to revoke all access. Removing USE_IN_CAMPAIGN makes the teammate's campaign emails from these mailboxes fail, including queued ones and later steps for contacts already emailed from them, and a campaign of theirs left with no other sending mailbox is paused; revoking all access also cancels their scheduled one-off emails from them. Same selection contract as bulk_share_email_accounts (emailAddresses[] OR selectAll+filter). Confirm with the user first.

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": {
      "sharedWithUserId": "<sharedWithUserId>"
    },
    "name": "bulk_unshare_email_accounts"
  }
}

Input Schema

NameRequiredDescriptionDefault
filterNo
selectAllNo
permissionsNo
emailAddressesNo
sharedWithUserIdYes
excludedEmailAddressesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Annotations only flag destructiveHint=true; the description goes far beyond by spelling out concrete downstream damage: campaign emails from these mailboxes fail (including queued steps and later steps for already-emailed contacts), a campaign with no other mailbox gets paused, and scheduled one-off emails are cancelled. It also flags the human confirmation requirement before execution.

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?

The destructive warning is front-loaded as a single token, followed by the action, then the consequences, then the selection contract and the confirmation requirement. Dense but every clause carries operational information; only the nested clause about queued and later steps is slightly convoluted.

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, six-parameter bulk mutation with no output schema, the description supplies the safety profile, the blast radius, and the selection model. The remaining gap is selection edge cases such as how excludedEmailAddresses interacts with selectAll.

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?

With 0% schema coverage, the description carries the full burden and partially does: it explains sharedWithUserId's role, the semantics of omitting permissions[], and the emailAddresses/selectAll/filter selection contract. However, excludedEmailAddresses and the filter sub-fields (onlyActive, emailAccountType) are never explained, and USE_AND_READ_INBOX is not distinguished from USE_IN_CAMPAIGN in effect.

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 (revoke access to email accounts) with both scope qualifiers: one teammate (sharedWithUserId) and several accounts. The 'bulk' framing plus the required single-user parameter makes it distinguishable from singular unshare and from bulk_share_email_accounts 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 concrete operating instructions: omit permissions[] to revoke everything, use the same selection contract as bulk_share_email_accounts (emailAddresses[] OR selectAll+filter), and confirm with the user first. It doesn't explicitly name the singular unshare_email_account as the alternative for one mailbox, so the when-not is implied rather than stated.

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.