Skip to main content
Glama

Remove a gateway route

portal_route_remove
DestructiveIdempotent

Remove an app's gateway route on your Tailscale network to revoke external access. For portal-only apps, remove the app instead.

Instructions

Remove an app's gateway route. Refuses portal-only apps; remove the app instead. HTTP MCP requires the current portal owner in the write transaction.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
appYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
portalYes
routesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=true, and readOnlyHint=false. The description adds important behavioral detail beyond that: it refuses portal-only apps and requires the portal owner in the write transaction, which an agent needs before invoking this mutation.

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?

Three short sentences, front-loaded with the core action and immediately followed by refusal and auth constraints. Every sentence contributes necessary context without repetition.

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?

An output schema exists, so return values need not be explained. The description covers the main usage conditions and authorization requirement, though it leaves some ambiguity about the app parameter, making it slightly incomplete for a destructive operation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% for the single 'app' parameter. The description only implies that the parameter names an app whose route is removed, but it does not clarify identifier format, expected values, or examples, so it fails to compensate 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?

States a specific verb and resource: remove an app's gateway route. It cleanly distinguishes the tool from the sibling portal_route_add and portal_route_list by naming the exact mutation.

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 tells the agent when not to use it: portal-only apps should be removed via app removal instead. It also adds the HTTP MCP prerequisite of the current portal owner, giving clear invocation conditions.

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