Skip to main content
Glama

purge_link

DestructiveIdempotent

Delete the stored renders of the version a link plays now, and clear the CDN's cached copies of the link's video, thumbnails, storyboards and GIFs, within a minute. The next view renders them again, billed as new renders, except video and audio segments whose content is unchanged and still stored, which are reused. Other links to that version play the new renders too, and finished exports of it stop downloading (404): export again for a new download.

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": "purge_link"
  }
}

Input Schema

NameRequiredDescriptionDefault
link_idYesThe link, `lnk_…`.

Output Schema

NameRequiredDescriptionDefault
idYesWhat it purges: `lnk_…` or `doc_…`.
statusYes`purging`: the stored renders and the cached copies are gone within a minute.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, yet the description adds substantial detail beyond them: exactly what is destroyed, the one-minute propagation window, that artifacts are re-rendered and billed as new, that unchanged video/audio segments are reused, and that finished exports of that version break with a 404. This is precisely the operational context an agent needs before invoking a destructive purge.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The destructive action is front-loaded and no clause is filler — the billing, reuse exception and 404 consequences all matter. It is dense and comma-heavy with nested clauses, which slightly slows parsing, but it is appropriately sized for a destructive tool.

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?

With an output schema available and a fully documented single parameter, the description only needs to supply behavior, and it does so comprehensively: scope, timing, billing impact, cross-link side effects and export invalidation. Nothing an agent needs before calling this destructive tool 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 coverage is 100% and the single link_id parameter is already documented in the schema, so the baseline is 3. The phrase 'the version a link plays now' lightly clarifies that link_id refers to the link's current version, but no format or edge-case detail is added beyond the schema.

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 names a specific verb and a precisely scoped resource: it deletes stored renders of the version a link currently plays and clears CDN caches for that link's video, thumbnails, storyboards and GIFs. That is clearly distinguishable from sibling purge_document (document-scoped) and from read tools like get_link_playback, so an agent can route correctly without opening a 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?

The consequences described (new renders billed again, other links affected, exports 404) give an agent enough context to infer when this is worth doing, but there is no explicit statement of when to use it versus purge_document or whether to prefer another tool. Usage is implied through effects rather than stated as guidance.

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