Skip to main content
Glama

revoke_link

DestructiveIdempotent

Revoke a link: its page, embed and playback stop working for everyone, for good. The document and its other links don't change.

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_id": "<link_id>"
    },
    "name": "revoke_link"
  }
}

Input Schema

NameRequiredDescriptionDefault
link_idYesThe link, `lnk_…`.

Output Schema

NameRequiredDescriptionDefault
idYes`lnk_…`.
urlYesThe view page.
nameNoA name people recognize it by; absent when it has none.
autoplayYesWhether the video starts playing when the page opens.
controlsYesWhether the player shows its controls.
embed_urlYesThe page to put in an iframe.
created_atYesRFC 3339.
created_byYesThe API key or member that created it.
expires_atNoRFC 3339.
project_idYesThe document's project.
revoked_atNoRFC 3339.
document_idYesThe document it plays.
password_protectedYesWhether viewers need a password to watch it. The password itself is never shown.

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 destructive=true, idempotent=true and openWorld=true; the description adds real value by specifying what is destroyed (page, embed, playback) for whom (everyone) and for how long (permanently), plus what is left intact. It does not mention authorization requirements or what happens when revoking an already-revoked link.

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?

Two sentences, front-loaded with the action and its irreversible effect, and the second sentence handles the carve-out. Nothing is redundant or padded.

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 mutation with annotations and an output schema, the description covers impact, reversibility and blast radius. Minor gaps are error behavior for already-revoked links and permission requirements.

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% with a single required link_id that is already documented as an `lnk_…` identifier. The description adds no parameter-level detail, so the baseline 3 applies.

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?

Specific verb and resource ("Revoke a link") followed by the concrete consequences: page, embed and playback stop working for everyone permanently. The second sentence scopes it against what it does not touch (the document and its other links). It does not name a sibling such as purge_link, so the differentiation is stated by effect rather than by alternative.

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?

The permanence ("for good") and the survival of the document and other links give an agent the context needed to choose this over deleting a document or purging something else. No explicit when-not condition or named alternative is given, keeping it just below the top band.

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