Skip to main content
Glama

Leave shared item

drive_share_leave
Destructive

Leave a Proton Drive folder shared with you without affecting the owner or other members; use revoke instead for folders you own.

Instructions

Leave a Proton Drive folder shared with you; the owner and other members are unaffected. For your own folders use drive_share_revoke. 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>"
    },
    "name": "drive_share_leave"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYesAbsolute remote Drive path of the shared folder to leave (must start with '/'). E.g. /shared-with-me/project
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. Changed1 schema field 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."
  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. Addedv1.0.26

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true. The description adds consequence detail—the owner and other members are unaffected—and explains that server-side approval is requested, which goes beyond the annotation. It does not discuss reversibility or authentication, but the added behavioral context is useful.

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?

Three tight sentences, with purpose and scope front-loaded. No wasted wording; the alternative and approval note each add value.

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 simple one-required-parameter destructive action with full schema coverage and an annotation, the description covers what happens to the user, owner, and other members. Nothing essential is missing for correct invocation.

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 description coverage is 100%, so path and confirmed are already fully documented. The description echoes that the server handles approval and confirmed is unneeded, but adds no new parameter semantics beyond the schema; baseline 3 applies.

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 gives a specific verb and resource ('Leave a Proton Drive folder shared with you') and immediately distinguishes it from the sibling 'drive_share_revoke' for owned folders. An agent can select this tool without inspecting other definitions.

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?

It explicitly states the condition (folder shared with you) and names the alternative for owned folders. This is direct when/when-not guidance; additional alternatives are not necessary.

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