Skip to main content
Glama

Revoke a browser guest link

guest_revoke
DestructiveIdempotent

Permanently revoke one browser guest grant so a shared link can no longer be used. Looks up the grant by ID, records it as revoked in local state, and returns its metadata.

Instructions

Owner-only: permanently mark one browser guest grant revoked in local state and return its grant metadata; unknown IDs return not_found. Use guest_revoke to deny further use of one link; guest_show only inspects it, and guest_create issues a new grant. Revocation cannot be undone with these tools and does not remove the app or disable its Funnel configuration. Returns no bearer tokens. Makes no remote API calls and does not verify live Funnel availability. Visitors need no OIDC or tailnet account. Over HTTP MCP, an MCP owner-role caller may revoke an existing link without being the portal owner (the one exemption from the public-app rule); the receipt names the caller.

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": {
      "id": "<id>"
    },
    "name": "guest_revoke"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes

Output Schema

NameRequiredDescriptionDefault
grantYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already flag destructiveHint=true and idempotentHint=true, yet the description adds substantial context beyond them: revocation is irreversible with these tools, it does not remove the app or disable Funnel configuration, no bearer tokens are returned, no remote API calls are made, and live Funnel availability is not verified. That is exactly the side-effect and blast-radius information an agent needs before a destructive call.

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 action and effect, then routing, then behavioral caveats — a sensible ordering with no filler sentences. It is dense and multi-clause, and the OIDC/tailnet-visitor sentence sits a little apart from the core task, but every clause carries operational information.

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 an output schema present, the description covers effect, irreversibility, what it does not touch, auth requirements, and the not_found path. Return structure is backed by the output schema, so nothing an agent needs to call it correctly is missing.

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?

The single parameter has 0% schema description coverage and a bare name of "id". The description implies it identifies one guest grant and documents the failure behavior for unknown values (not_found), but never says how the ID is obtained (e.g., from guest_list) or what form it takes, so it only partly compensates for the schema gap.

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?

Opens with a precise verb+resource+effect: "permanently mark one browser guest grant revoked in local state and return its grant metadata." It also names the sibling it is not (guest_show only inspects) and the sibling that creates grants (guest_create), so an agent can separate the three without opening a 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?

Explicitly states the selection rule: use this to deny further use of one link, guest_show to inspect, guest_create to issue. It adds the preconditions that could change an agent's plan — owner-only, irreversible, unknown IDs returning not_found, and the HTTP MCP owner-role exemption.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.