Skip to main content
Glama

Revoke app link

revoke_app_link
DestructiveIdempotent

Stops one share link, by its link_id, for everyone holding it. It does not make the app private or touch other links; get_access lists which links exist. A link that was already stopped answers that it isn't one of this app's live links: the first call having worked, so the link is already off rather than stopping it having failed.

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": {
      "app_id": "<app_id>",
      "link_id": "<link_id>"
    },
    "name": "revoke_app_link"
  }
}

Input Schema

NameRequiredDescriptionDefault
app_idYesthe app the link belongs to, from a reply or list_apps
link_idYesthe link to stop, as share_app_by_link returned it or get_access lists it; the link's URL will not do

Output Schema

NameRequiredDescriptionDefault
accessYesthe change this call made, not the app's state; get_access reports the state

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior5/5

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

Annotations already declare destructive=true and idempotent=true, and the description adds useful behavioral detail beyond them: the revocation applies to everyone holding the link, it does not alter app privacy or other links, and an already-stopped link returns an error-like response that indicates success rather than failure.

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 description is front-loaded and compact, with each sentence carrying scope, exclusions, or idempotent edge behavior. The final sentence is somewhat awkwardly phrased but remains purposeful.

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?

Given that annotations cover safety and idempotency and an output schema exists, the description is largely complete for a destructive single-link revocation. It could more explicitly distinguish itself from revoke_app_access, but it covers the key effects and already-revoked behavior.

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 both parameters are documented in the schema, so the baseline is 3. The description reinforces that exactly one link is addressed by link_id, but it adds little parameter-specific meaning 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?

States a specific verb and resource: "Stops one share link, by its link_id, for everyone holding it." It also explicitly distinguishes the action from making the app private or touching other links, and points to get_access for link discovery.

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?

Gives clear guidance for revoking a single live link and names exclusions: it does not make the app private and does not affect other links. It points to get_access for discovering links, but does not explicitly route against the app-level access sibling revoke_app_access.

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.