Skip to main content
Glama

Revoke share link

revoke_share_link
DestructiveIdempotent

Take a share link offline immediately. Accepts the link id, the bare token, or the full /s/ (or legacy /w/) URL. Privacy-restoring, so it needs no confirmation — but the old URL dies permanently; sharing the same list again later mints a NEW URL.

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": {
      "link": "<link>"
    },
    "name": "revoke_share_link"
  }
}

Input Schema

NameRequiredDescriptionDefault
linkYesShare link id, token, or full share URL

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, so the safety profile is known. The description adds real context beyond that: no confirmation step is required, the old URL is permanently dead, and re-sharing mints a new URL — the key consequence 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?

Three short sentences, zero filler, and the primary effect plus permanent consequence are front-loaded before the implementation detail about accepted input forms.

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 one-parameter destructive tool with rich annotations and no output schema, the description covers effect, irreversibility, and input flexibility. Only minor gaps remain, such as behavior when the link is already revoked or does not exist.

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% and the single parameter is already described as 'Share link id, token, or full share URL.' The description largely restates that, adding only the '/s/ or legacy /w/' URL forms, so it sits at the high-coverage baseline.

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 the effect baked in: 'Take a share link offline immediately.' This is distinguishable from the create/read/list share-link siblings without opening any schema.

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?

Usage is implied rather than stated: the emphasis on permanence and 'no confirmation' tells an agent when revoking is acceptable, but no sibling is named and no explicit when-not-to-revoke condition is given (e.g. use read_share_link to inspect before revoking).

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources