Skip to main content
Glama

Invite to share

drive_share_invite

Invite someone by email to a Proton Drive file or folder and assign viewer, editor, or admin access; verify sharing status first to avoid overwriting an existing role.

Instructions

Invite a person to a Proton Drive file or folder by email. Immediately sends an email notification — confirm the address and role with the user first. Roles: 'viewer' (read-only), 'editor' (read + write), 'admin' (read + write + reshare). Run drive_share_status first: a duplicate invitation may silently overwrite the existing role. 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>",
      "role": "<role>"
    },
    "name": "drive_share_invite"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYesAbsolute remote Drive path to share (must start with '/').
roleYes'viewer' = read-only, 'editor' = read + write, 'admin' = read + write + reshare.
emailYesEmail address of the person to invite.
messageNoOptional message included in the invitation email (max 500 characters — Proton rejects longer ones).
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. Changed2 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 / message / description
      Previous value: -"Optional message included in the invitation email (max 2000 characters)."New value: +"Optional message included in the invitation email (max 500 characters — Proton rejects longer ones)."
  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. Changed3 schema fields changedv0.1.2
    • changedInput schema / properties / message / description
      Previous value: -"Optional message to include in the invitation."New value: +"Optional message included in the invitation email (max 2000 characters)."
    • changedInput schema / properties / path / description
      Previous value: -"Remote Drive path to share."New value: +"Absolute remote Drive path to share (must start with '/')."
    • changedInput schema / properties / role / description
      Previous value: -"Access level to grant."New value: +"'viewer' = read-only, 'editor' = read + write, 'admin' = read + write + reshare."
  5. First observedv0.1.0

TDQS

A4.8/5.0
Behavior5/5

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

The annotations only declare openWorldHint and destructiveHint=false, so the description carries the real behavioral burden — it discloses the immediate outbound email side effect, the silent role-overwrite risk, and that the server itself obtains user approval. It also matches the schema's note that 'confirmed' is ignored, so the approval story is internally consistent.

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?

Four sentences, front-loaded with the action and the irreversible email side effect, then the prerequisite and role meanings. The role glossary duplicates the enum descriptions in the schema, which is the only clearly superfluous element.

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, yet the description covers the side effects, the approval flow, the precondition tool, and the duplicate-overwrite hazard — everything an agent needs to call this safely. Nothing material about a five-parameter sharing invitation is left unstated.

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%, including the enum and the 500-character message limit, so the baseline is 3. The description repeats the role definitions verbatim from the schema (mild redundancy) but adds genuinely new meaning by explaining how the 'role' value interacts with an existing invitation — a duplicate can silently replace 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?

The first sentence states a specific verb and resource: invite a person to a Proton Drive file or folder by email. The path/email/role framing makes it distinguishable from drive_share_set_url, drive_share_remove_url, and the invitation-list siblings without opening a 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?

It gives explicit preconditions and alternatives: run drive_share_status first, and warns that a duplicate invitation may silently overwrite an existing role. It also instructs the agent to confirm the address and role with the user before calling, so there is no ambiguity about when this is appropriate.

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