Skip to main content
Glama

Revoke a client approval link

revoke_approval_link
DestructiveIdempotent

Turn off a client approval link so it no longer opens. Answers the client already gave stay on the drafts.

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_approval_link"
  }
}

Input Schema

NameRequiredDescriptionDefault
link_idYesThe link id (apl_…) from share_drafts_for_approval or a post's approval.link_id

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, so the mutation profile is covered. The description adds the one thing annotations cannot: that client answers survive on the drafts, i.e. what is deliberately not destroyed. It stops short of saying what a call returns or what happens on 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 short sentences, effect first and data-preservation second. Nothing wasted and nothing buried.

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 mutation with annotations covering safety and no output schema, this is nearly complete: effect, retention of prior answers, and parameter sourcing are all present. Only the surface-facing outcome of the call (success signal or state change on the draft) is unaddressed.

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 fully documented, including its apl_… format and discovery paths. The description adds no further parameter meaning, so baseline 3 applies.

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?

Names a specific verb (turn off / revoke) and resource (client approval link) plus the observable effect: the link no longer opens. An agent can tell this is the inverse of share_drafts_for_approval without opening either 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?

Usage is only implied: revoke when a link should stop working. There is no explicit when-to-use versus when-not (e.g., cancel_post is the sibling for stopping a post, not a link) and no stated prerequisite such as ownership or already-revoked handling, though the schema description does point to where link_id comes from.

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