Skip to main content
Glama

Remove all sharing

drive_share_remove_all
Destructive

Remove all member access and pending invitations from a shared Proton Drive path in one call. Check sharing status first to identify who loses access; public links require separate removal.

Instructions

Remove access for every member and pending invitation (Proton and non-Proton) on a shared path in one call. The server asks the user to approve this itself; run drive_share_status first so you can tell them who loses access. Does NOT remove a public link (the result says if one is active; use drive_share_remove_url). For one person use drive_share_revoke.

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

Input Schema

NameRequiredDescriptionDefault
pathYesAbsolute remote Drive path to strip all sharing access from (must start with '/').
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. Changed2 schema fields changedv1.12.0
    • changedInput schema / properties / confirmed / description
      Previous value: -"Must be true. Confirms the user has acknowledged this removes everyone's access at once."New value: +"Optional and ignored: the server asks the user to approve this itself. You do not need to send it."
    • changedInput schema / required
      Previous value: -[
      -  "path",
      -  "confirmed"
      -]New value: +[
      +  "path"
      +]
  2. Addedv1.0.28

TDQS

A4.7/5.0
Behavior5/5

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

Annotations only declare destructiveHint=true; the description adds substantive behavior: the server itself asks the user for approval, so no confirm flag is needed, and the result reports whether a public link is still active. It also clarifies the blast radius (all members plus pending invitations, Proton and non-Proton), which is precisely what an agent needs before calling 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 short sentences, front-loaded with the core action, then the approval behavior, then the two exclusion/alternative routes. Every sentence carries actionable information with no filler.

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, single-required-parameter tool with no output schema, the description covers scope, approval flow, prerequisites, exclusions, and even notes what the result reports about active public links. Nothing an agent needs in order to invoke it safely is missing.

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?

Schema coverage is 100%, so the schema already documents both path (absolute, must start with '/') and confirmed (optional and ignored) — baseline 3 applies. The description reinforces the approval flow and the fact the path must be a shared path, but adds no syntax or format detail beyond what the schema states.

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 with exact scope: remove access for every member AND pending invitation (Proton and non-Proton) on a shared path in one call. It explicitly distinguishes itself from drive_share_remove_url (public link) and drive_share_revoke (single person), so an agent can pick correctly without opening other schemas.

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 when-to-use and when-not-to-use guidance: names the prerequisite (run drive_share_status first so you can tell the user who loses access), the excluded case (does NOT remove a public link, use drive_share_remove_url), and the single-target alternative (drive_share_revoke for one person). Nothing is left to inference.

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