Skip to main content
Glama

share_email_account

Destructive

Share an owned email account with a teammate: emailAddress, sharedWithUserId (from the team-members list), permissions[] of "USE_IN_CAMPAIGN" and/or "USE_AND_READ_INBOX". If the teammate already has access, permissions[] replaces their current permissions, so any permission left out is revoked. USE_IN_CAMPAIGN lets the teammate's campaigns send from this mailbox and draw on its daily capacity; their active campaigns can start sending from it on steps that have no fixed inbox list. USE_AND_READ_INBOX lets the teammate read the mailbox, send from it, and archive, trash or mark its emails as spam. Leaving out USE_IN_CAMPAIGN when the teammate has it makes their campaign emails from this mailbox fail, including queued ones and later steps for contacts already emailed from it, and a campaign of theirs left with no other sending mailbox is paused. Confirm with the user before narrowing an existing share; list_email_account_shares shows the teammate's current permissions.

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

Input Schema

NameRequiredDescriptionDefault
permissionsYes
emailAddressYes
sharedWithUserIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Beyond annotations, it discloses destructive replacement behavior: permissions[] replaces current permissions and omitted permissions are revoked. It also explains campaign failure and pause consequences, and recommends confirmation before narrowing access, which is exactly the kind of behavioral detail an agent needs for a destructive mutation.

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 description is a dense single paragraph but front-loads the purpose and parameters before consequences. Every sentence adds relevant behavioral information, though the length is near the upper bound for conciseness.

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 destructive mutation with no output schema, the definition covers purpose, parameters, permission effects, revocation risk, campaign impact, and a verification alternative. Nothing essential for correct invocation appears missing.

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 must carry the burden, and it does: it names all three parameters and explains sharedWithUserId's team-members source plus each permission value's functional meaning. It also clarifies the replacement semantics of the permissions array, adding substantial meaning beyond the schema.

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?

The description opens with a specific verb and resource: sharing an owned email account with a teammate. It distinguishes the operation from listing or unsharing by focusing on granting access and defining permission semantics.

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?

It gives clear usage context plus a caution to confirm with the user before narrowing an existing share, and it points to list_email_account_shares for checking current permissions. It does not explicitly address bulk sharing versus single-account sharing, but the guidance is strong for this tool's specific action.

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.