Skip to main content
Glama
googlarz
by googlarz

drive_share_set_url

Create or update a public share link for a Proton Drive file or folder, granting access to anyone with the link. Control viewer/editor role, password protection, and expiration.

Instructions

Create or update a public share link for a Proton Drive file or folder. Requires authentication. Anyone with the link can access the item at the given role — no invitation or Proton account required. Calling this again on the same path updates the existing link's role/password/expiration rather than creating a duplicate. Returns {url?, role?, expirationTime?} — the exact shape depends on the CLI/SDK response and fields may be absent. The password, if set, is passed as a CLI argument and will appear in shell history/process list on the machine running this server. Do not use for private sharing with specific people — use drive_share_invite instead.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYesAbsolute remote Drive path to create a public link for (must start with '/').
roleNoAccess level for anyone with the link. Defaults to 'viewer' if omitted.
passwordNoOptional custom password required to access the link. Omit for no password.
expirationNoOptional expiration date in ISO format, e.g. '2026-06-06'. Omit for no expiration.
Behavior5/5

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

Goes far beyond the sparse annotations (openWorldHint, destructiveHint, idempotentHint). It discloses that the link is accessible to anyone without an invitation, that repeated calls update rather than duplicate, that the return shape is variable, and that passwords may appear in shell history—critical behavioral traits for safe invocation.

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?

Six sentences, each carrying essential information: purpose, auth, public access, update semantics, return shape, security warning, and alternative tool. No filler or redundancy; the main purpose is front-loaded and every sentence earns its place.

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 tool with no output schema and moderate complexity, this description is highly complete. It covers public-access implications, update behavior, return-value variability, a security risk, and the relevant alternative, giving the agent enough context to select and invoke correctly.

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 baseline is 3. The description adds context by mentioning that role/password/expiration are updatable on subsequent calls, but it does not add new syntax or format details beyond what the schema already provides for each parameter.

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 the core function clearly: 'Create or update a public share link for a Proton Drive file or folder.' The verb phrase is specific and the resource is unambiguous, distinguishing it from sibling tools like drive_share_invite (private sharing) and drive_share_remove_url (removing links).

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?

Provides explicit usage guidance: 'Do not use for private sharing with specific people — use drive_share_invite instead.' It also notes that authentication is required and clarifies that the link is publicly accessible without a Proton account, making the when-to-use context very clear.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/googlarz/proton-drive-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server