Skip to main content
Glama

Switch a tracked link off, or back on

revoke_share
DestructiveIdempotent

Switches off a tracked link that has already been sent. It is only for a user who asks to switch a link off, and never a stand-in for a request to delete a page or a link, which is possible only on the website. Anyone who opens it afterwards sees that it is no longer available, and the sender is emailed that somebody tried, at most once every six hours for a link. This changes what a recipient can see. It is reversible: revoked: false switches a link back on, however long ago it was switched off, but a link past its end date stays closed until update_share sets a new end date or clears it. It deletes nothing: the link, its settings and its whole reading history survive. Deleting a link is possible only on the website, because it deletes its reading records for good. update_share changes a link's settings without changing its address; switching one off to make a replacement leaves the recipient holding a dead address.

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_id": "<share_id>"
    },
    "name": "revoke_share"
  }
}

Input Schema

NameRequiredDescriptionDefault
revokedNoTrue (the default) switches the link off. False switches it back on.
share_idYesThe link's share id, slug (the part after /r/), or full address.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Beyond the annotations it discloses recipient-visible effects, a notification email to the sender capped at once per six hours per link, full reversibility regardless of elapsed time, and the interaction with a past end date (stays closed until update_share changes it). It also clarifies that nothing is deleted and that settings and reading history survive, which usefully scopes the destructiveHint=true annotation rather than contradicting it, since the visibility change is acknowledged.

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?

Purpose and the primary exclusion are front-loaded, and nearly every sentence carries a distinct operational fact. The one flaw is repetition: website-only deletion is stated twice, the second time with the added rationale about permanent reading records, which could have been merged into the first mention.

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 reversible mutation with only two parameters and no output schema, the description covers what an agent needs: what changes for the recipient, the email side effect and its rate limit, reversibility, the end-date edge case, and the boundary against deletion and update_share. Only authentication requirements are left implicit, which the annotations' openWorldHint covers.

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 the schema already documents both parameters, including the revoked default. The description adds meaning the schema lacks: the end-date caveat that governs whether `revoked: false` actually reopens a link, and the consequence of leaving a recipient with a dead address.

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 opening sentence states a specific verb and resource ('Switches off a tracked link that has already been sent'), and the title adds the reverse direction. It is explicitly distinguished from deletion (website-only) and from update_share (settings change without address change), so an agent can tell it apart from every relevant sibling.

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?

It gives an explicit trigger ('only for a user who asks to switch a link off') and an explicit exclusion ('never a stand-in for a request to delete a page or a link'). It also names the alternatives and their conditions: the website for deletion, update_share for setting changes or new end dates, and warns against switching off as a way to make a replacement.

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.