Skip to main content
Glama

unshare_email_account

Destructive

DESTRUCTIVE: Revoke a teammate's access to an owned email account (emailAddress + sharedWithUserId). Optional permissions[] ("USE_IN_CAMPAIGN"/"USE_AND_READ_INBOX") revokes only those; omit to revoke all access. Removing USE_IN_CAMPAIGN makes the teammate's 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; revoking all access also cancels their scheduled one-off emails from it. 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": {
      "emailAddress": "<emailAddress>",
      "sharedWithUserId": "<sharedWithUserId>"
    },
    "name": "unshare_email_account"
  }
}

Input Schema

NameRequiredDescriptionDefault
permissionsNo
emailAddressYes
sharedWithUserIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

The annotations already mark this as destructive, and the description adds substantial behavior detail beyond them: what each permission controls, what happens to queued campaign emails, when a campaign is paused, and that revoking all access cancels scheduled one-off emails. The front-loaded DESTRUCTIVE warning and confirmation instruction further clarify the risk profile.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is dense and front-loaded, opening with the destructive label and core action before detailing permission semantics and downstream consequences. Every sentence adds decision-relevant information, and the confirmation warning is placed at the end for emphasis without waste.

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 mutation with no output schema, it thoroughly covers the action, optional scoping, side effects, and safety confirmation. It does not specify auth or admin prerequisites, behavior when the target is not currently shared, or any success response detail, so minor operational gaps remain.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/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 parameter meaning, and it does well for the critical permissions parameter by naming its enum values and explaining that omission means revoke-all. It identifies emailAddress and sharedWithUserId but does not add format or lookup details for those two, leaving some reliance on their names and schema types.

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 states a specific destructive verb (revoke access), the exact resource (an owned email account), and the target (a teammate) with the identifying parameters. It clearly distinguishes this single-account revocation from bulk or share operations by scoping it to one teammate's access to an owned mailbox.

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 operational context: use this to revoke access, optionally narrow revocation to specific permissions, and confirm with the user before proceeding. It does not explicitly compare against siblings such as bulk_unshare_email_accounts or disconnect_email_account, but the scoping language makes the appropriate context evident.

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.