Skip to main content
Glama

revoke_tunnel

Retire a peer and hand its slot back to the plan's allowance. An agent that provisions a tunnel per short-lived worker and never revokes one exhausts the allowance and then cannot bring the next machine up. Revoking the peer that holds the public address stops inbound connections to it and cannot be undone by promoting another — only by bringing a new machine up.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tunnel_idYesThe id lease_status reports for the tunnel.
access_tokenYesReturned by order_lease. The only credential for a lease.

TDQS

A4.5/5.0
Behavior5/5

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

With no annotations, the description carries the full burden. It clearly states that revoking stops inbound connections, frees the allowance, and is irreversible except by bringing up a new machine. This discloses destructive and irreversible behavior beyond the schema.

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?

The description is three sentences, each adding distinct value: purpose, motivating scenario, and behavioral consequence. It is front-loaded and wastes no words.

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?

The description provides a complete picture of the tool's role within the lifecycle: when to use it, what it does, and what it cannot do. Even without an output schema, the agent has enough context to decide and invoke correctly.

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?

Both parameters (tunnel_id and access_token) are fully described in the schema with references to lease_status and order_lease. The description adds no param-level detail, and the 100% schema coverage makes a baseline 3 appropriate.

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 description opens with 'Retire a peer and hand its slot back to the plan's allowance,' using a specific verb and resource. It also clarifies the consequence (stopping inbound connections) and distinguishes itself from lifecycle siblings like create_tunnel and renew_lease.

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?

It provides a concrete scenario—short-lived workers consuming the allowance—and explains why failing to revoke blocks future provisioning. It also notes that 'promoting another' cannot undo the revocation, effectively steering agents away from an alternative, though no explicit tool name is given.

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.

TDQS

A4/5.0
Disambiguation5/5

Each tool targets a distinct aspect: tunnel provisioning/revocation, lease status/ordering/renewal/autorenew, plan listing, and DNS. There is no overlap in core actions, even renew_lease and set_autorenew are clearly manual vs. automatic controls.

Naming Consistency4/5

Most tools follow a clear verb_noun pattern (create_tunnel, list_plans, order_lease, renew_lease, revoke_tunnel, set_autorenew, set_reverse_dns). The exception is 'lease_status', which is a noun phrase rather than a verb command, though it is readable and consistent enough not to cause confusion.

Tool Count5/5

With 8 tools, the set is well-scoped for IP leasing management. It covers provisioning, lifecycle, billing, and DNS configuration without being bloated or thin.

Completeness4/5

Core workflows are covered: order, renew, autorenew, status, tunnels, and DNS. The main gap is the lack of a direct 'cancel lease' or 'delete lease' operation, though stopping autorenew and letting the lease lapse covers this to some extent. No listing of all leases is another minor omission.

Resources