Skip to main content
Glama

Revoke share links

revoke_media_link
DestructiveIdempotent

Revokes a share link by link ID, clip ID, project ID, or all links, causing anyone with the revoked link to get a 404.

Instructions

Turn share links off now: one (linkId), a clip's (clipId), a project's (projectId) or all of yours (all: true). Give exactly one. Returns { revoked, message }. Anyone holding a revoked link gets a 404 from then on.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "revoke_media_link"
  }
}

Input Schema

NameRequiredDescriptionDefault
allNoEvery share link you have
clipIdNoEvery link to this clip
linkIdNoLink id (from get_media_links or list_media_links)
projectIdNoEvery link to this project's clips and zip

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.51.1
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. Addedv0.31.0

TDQS

A4.4/5.0
Behavior5/5

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

Beyond the idempotentHint/destructiveHint annotations, the description states the return shape ({ revoked, message }) and the external consequence that holders of a revoked link receive a 404 from then on. That downstream effect is exactly the kind of impact information an agent needs before invoking a destructive tool, and it is consistent with the annotations.

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: the action and its modes first, the exclusivity rule second, the return value and consequence last. Every clause carries information and nothing is repeated from the schema or annotations.

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 destructive, no-required-parameter mutation tool, the definition covers the action, the mutually exclusive scopes, the response shape, and the user-visible aftermath. With 100% schema coverage and no output schema, nothing material is missing.

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%, so the baseline is 3, but the description adds a real constraint the schema does not encode: the four scope parameters are mutually exclusive and exactly one must be supplied (there is no oneOf in the schema). It also clarifies that clipId and projectId each revoke a whole set of links rather than a single one.

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?

"Turn share links off now" gives a concrete verb and resource, and the parenthetical list enumerates the four revocation scopes, so an agent knows exactly what the tool acts on. What it does not do is distinguish itself from the sibling clear_media_links, leaving the agent to guess whether that tool is a superset or a different operation.

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

Usage Guidelines4/5

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

"Give exactly one" is an explicit selection rule that tells the agent how to choose among the four modes and rules out combining them. It stops short of naming when to prefer this over clear_media_links or get_media_links/list_media_links, so there is no exclusion guidance.

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

Deploy Server

Other Tools