Skip to main content
Glama

Remove public link

drive_share_remove_url
Destructive

Remove a file or folder's public share link so the link stops working immediately while member access remains unchanged.

Instructions

Remove the public share link from a file or folder; it stops working immediately. Member access is unaffected. 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_remove_url"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYesAbsolute remote Drive path whose public link should be removed (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. 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.28

TDQS

A3.8/5.0
Behavior4/5

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

The destructiveHint annotation already signals a destructive operation, and the description usefully adds that the link stops working immediately, member access is unaffected, and the server asks the user to approve the action itself. These details go beyond the annotation and clarify the blast radius and approval flow.

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?

The description is three short sentences, front-loads the action and immediate effect, and contains no wasted wording. The approval note is directly relevant despite being slightly repetitive with the schema.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple destructive share-link removal with a rich schema and a destructiveHint annotation, the description covers the essential behavior: immediate breakage, unaffected member access, and server-side approval. It could mention how missing or already-removed links are handled, but no critical context 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 description coverage is 100%, so the path and confirmed parameters are already documented in the schema. The description does not add parameter-level meaning beyond saying the action targets a file or folder and that the server handles approval.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb and resource: removing the public share link from a file or folder. It is clear what the tool does, but it does not explicitly differentiate itself from close siblings such as drive_share_remove_all or drive_share_revoke.

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

Usage Guidelines3/5

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

The description implies the tool is for removing a public link and notes that member access is unaffected, which helps frame the use case. However, it does not state when to choose this over alternatives like revoking access or removing all sharing.

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