Skip to main content
Glama

bulk_share_email_accounts

Destructive

Share several owned email accounts with one teammate (sharedWithUserId + permissions[] of "USE_IN_CAMPAIGN"/"USE_AND_READ_INBOX"). Selection: emailAddresses[] OR selectAll:true with filter ({emailAccountType?: "GMAIL"|"OUTLOOK"|"SMTP", onlyActive?}); excludedEmailAddresses[] only combines with selectAll. Permissions are added to any the teammate already has; none are removed. USE_IN_CAMPAIGN lets the teammate's campaigns send from these mailboxes and draw on their daily capacity; their active campaigns can start sending from them on steps that have no fixed inbox list. USE_AND_READ_INBOX lets the teammate read these mailboxes, send from them, and archive, trash or mark their emails as spam.

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>",
      "permissions": "<permissions>"
    },
    "name": "bulk_share_email_accounts"
  }
}

Input Schema

NameRequiredDescriptionDefault
filterNo
selectAllNo
permissionsYes
emailAddressesNo
sharedWithUserIdYes
excludedEmailAddressesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

With destructiveHint=true already declared, the description adds real behavioral context: permissions are additive and never removed, which is the key nuance for a mutation that expands another user's access. It also spells out downstream side effects of USE_IN_CAMPAIGN (teammate campaigns can begin sending from these mailboxes on steps without a fixed inbox list), though it says nothing about partial-failure behavior or what the response contains.

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?

Dense but front-loaded: what it does, then selection rules, then permission semantics, with no filler sentences. The permission explanation runs as one long block that would read better split into its two cases, but every sentence earns its place.

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 six-parameter open-world mutation with no output schema, the definition covers selection logic and permission effects thoroughly. It omits result/error behavior (what happens with 1000+ addresses or partial failures), which is the remaining gap an agent would want before calling it.

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 0%, so the description has to carry all six parameters, and it does: sharedWithUserId and permissions[] with both enum values, emailAddresses vs selectAll with the nested filter fields, and the constraint tying excludedEmailAddresses to selectAll. The OR/branching relationships are not expressible in the schema and are the highest-value information here.

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?

"Share several owned email accounts with one teammate" gives a specific verb, resource, bulk scope, and target, and the mention of 'several' implicitly separates it from the singular share_email_account and the inverse bulk_unshare_email_accounts. An agent can pick this tool over its 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?

Selection rules are explicit and mutually exclusive: emailAddresses[] OR selectAll:true with filter, and excludedEmailAddresses only combines with selectAll. What is missing is routing guidance against siblings (single-share vs unshare vs update), which the description never names.

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.