Skip to main content
Glama

Revoke a customer tracking link

revoke_share_link
DestructiveIdempotent

Changes data: revokes one customer tracking link, as the person who connected this app, and records it in the organization's audit log. The link stops opening anything straight away, for whoever holds it, and a revoked link cannot be switched back on: a new one has to be made with create_share_link. Use it only when the user asks to revoke or withdraw a link, and confirm which one (customer, label) before calling it. Get the share_link_id from list_share_links. An admin may revoke any link, a member only their own. Safe to repeat: a revoked link is left as it is. Answers with the link.

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": {
      "share_link_id": "<share_link_id>"
    },
    "name": "revoke_share_link"
  }
}

Input Schema

NameRequiredDescriptionDefault
share_link_idYesA share link id such as "shl_41", as returned by list_share_links.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the annotations' destructiveHint/idempotentHint, it discloses the audit-log record, the immediate effect for whoever holds the link, the one-way irreversibility, and the permission model (admins any link, members only their own). The idempotency statement is also concretized ('a revoked link is left as it is') rather than just repeating the hint.

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?

Front-loaded with the data-change declaration, then effect, then irreversibility, then usage and permissions — a logical order with no filler sentences. The 'Changes data:' prefix is mildly redundant with destructiveHint but serves as a useful opener.

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?

For a destructive single-parameter tool with no output schema, the description covers effect, reversibility, permissions, idempotency, ID sourcing, and even the response ('Answers with the link'). An agent has everything needed to call it safely.

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?

With 100% schema coverage and a single parameter, the schema already documents share_link_id and even its provenance. The description's 'Get the share_link_id from list_share_links' restates that same hint, adding convenience but no new meaning. 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?

States a specific verb and resource ('revokes one customer tracking link') and names the adjacent operations it is not ('create_share_link', 'list_share_links'). An agent can distinguish it from sibling link tools without opening any schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicit when-to-use ('only when the user asks to revoke or withdraw a link'), an explicit pre-call step ('confirm which one (customer, label)'), a prerequisite for the ID ('Get the share_link_id from list_share_links'), and the alternative for the opposite action (create_share_link). Nothing is left to inference.

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