Skip to main content
Glama

Stop sharing a copy

revoke_link
Destructive

Revokes the share links (the edit link and the view-only link) of a copy the caller owns or of the caller's app. Guests stop syncing; data they already downloaded isn't erased. Returns { ok: true }. Can't be undone.

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": {
      "instanceId": "<instanceId>"
    },
    "name": "revoke_link"
  }
}

Input Schema

NameRequiredDescriptionDefault
instanceIdYesThe full docId of a copy (a data document of the app), as returned by list_instances.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and openWorldHint=true, but the description goes further: guests stop syncing, already-downloaded data is not erased, the operation is irreversible, and it returns { ok: true }. That nuance — that 'destructive' here does not mean data deletion for guests — is exactly the kind of context annotations cannot convey.

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?

Four short sentences, front-loaded with scope, then side effects, then return shape, then the irreversibility warning last for emphasis. No filler; the { ok: true } note is genuinely useful given there is no output 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 one-parameter destructive tool with no output schema, the definition covers who is affected, what is and isn't destroyed, reversibility, and the return value. The only gap is that it doesn't state whether the revocation applies immediately to active sessions beyond the 'stop syncing' note.

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 instanceId is already documented as the full docId returned by list_instances, making 3 the baseline. The description adds a real constraint beyond the schema: the id must belong to a copy the caller owns or to the caller's own app, which changes which values are valid.

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?

Names a specific verb (revokes) and resource (the edit link and view-only link of a copy), plus the ownership scope ('caller owns or caller's app'). It stops short of naming the counterpart tool renew_link, so an agent must infer the renew/revoke pairing from the sibling list.

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 by the ownership scope and the 'Can't be undone' warning, which signals this is the terminal action rather than a reversible toggle. It never explicitly says when to prefer this over renew_link or what to do instead if the goal is only to change link settings.

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