Skip to main content
Glama

Revoke member access

drive_share_revoke
Destructive

Revoke one person's access to a Proton Drive file or folder by email without notifying them. Use it to remove a current member or invitee.

Instructions

Remove one person's access (accepted or pending) to a Proton Drive file or folder; they are not notified. Fails if the address is not a current member or invitee (case-insensitive match). Confirm the email with drive_share_status first. To change a role, revoke and re-invite. To remove everyone use drive_share_remove_all. The server asks the user to approve this itself.

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": {
      "path": "<path>",
      "email": "<email>"
    },
    "name": "drive_share_revoke"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYesAbsolute remote path of the shared item, as used when inviting.
emailYesEmail of the member to remove, as shown by drive_share_status.
confirmedNoOptional and ignored: the server asks the user to approve this itself. You do not need to send it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.12.0
    • changedInput schema / properties / confirmed / description
      Previous value: -"Must be true; only after the user approved this exact action."New value: +"Optional and ignored: the server asks the user to approve this itself. You do not need to send it."
  2. Changed3 schema fields changedv1.2.0
    • changedInput schema / properties / confirmed / description
      Previous value: -"Must be true. Only set after the user explicitly approved this exact action."New value: +"Must be true; only after the user approved this exact action."
    • changedInput schema / properties / email / description
      Previous value: -"Email address of the member to remove. Must exactly match the address shown by drive_share_status — use drive_share_status first to confirm. E.g. alice@example.com."New value: +"Email of the member to remove, as shown by drive_share_status."
    • changedInput schema / properties / path / description
      Previous value: -"Absolute remote Drive path of the shared file or folder (must start with '/'). E.g. /my-files/project. Must match the path used when the invitation was sent."New value: +"Absolute remote path of the shared item, as used when inviting."
  3. Changed1 schema field changedv1.0.38
    • addedInput schema / properties / confirmed
      Added value: +{
      +  "description": "Must be true. Only set after the user explicitly approved this exact action.",
      +  "type": "boolean"
      +}
  4. Changed2 schema fields changedv1.0.23
    • changedInput schema / properties / email / description
      Previous value: -"Email address of the person whose access to revoke."New value: +"Email address of the member to remove. Must exactly match the address shown by drive_share_status — use drive_share_status first to confirm. E.g. alice@example.com."
    • changedInput schema / properties / path / description
      Previous value: -"Absolute remote Drive path (must start with '/')."New value: +"Absolute remote Drive path of the shared file or folder (must start with '/'). E.g. /my-files/project. Must match the path used when the invitation was sent."
  5. Changed1 schema field changedv0.1.2
    • changedInput schema / properties / path / description
      Previous value: -"Remote Drive path."New value: +"Absolute remote Drive path (must start with '/')."
  6. First observedv0.1.0

TDQS

A4.9/5.0
Behavior5/5

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

Beyond destructiveHint=true, it discloses that the removed person is not notified, the exact failure condition with case-insensitive matching semantics, and that the server itself handles user approval. These are the operationally decisive facts an agent needs before invoking a destructive tool.

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?

Four tight clauses, front-loaded with purpose, then side effects, then routing to alternatives. No filler and every sentence carries actionable information.

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?

No output schema exists and annotations are a single hint, so the description carries the burden and does so: it covers effect, side effects, failure modes, approval flow, and alternative tools. Nothing needed to call it correctly is missing.

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 coverage is 100%, so the baseline is 3, but the description adds real meaning: path is the same value used when inviting, email comes from drive_share_status output, and the confirmed flag is a no-op. Only the case-insensitive matching detail hints at input handling without fully specifying it.

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 (remove one person's access to a file or folder) plus scope detail (accepted or pending). It distinguishes itself from drive_share_remove_all and from the role-change flow without the agent needing to open another schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives explicit prerequisites (confirm the email with drive_share_status first), an exclusion (fails if the address is not a current member or invitee), and two alternatives: revoke-and-re-invite for role changes, and drive_share_remove_all for removing everyone.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.