Skip to main content
Glama

List gateway routes

portal_route_list
Read-onlyIdempotent

Read the home portal and configured gateway routes to review app names, stable ports, route states, and evidence-backed URLs without changing routing.

Instructions

Read the home portal and its configured gateway routes, returning app names, stable ports, route states and exact URLs only when current runtime evidence proves them. Use portal_route_list to inspect existing routes; portal_route_add and portal_route_remove change routing. Reads local configuration and runtime evidence only; no writes, enrollment or remote API calls.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "portal_route_list"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
portalYes
routesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.4.0
    • addedOutput schema / properties / portal / properties / owner_restored
      Added value: +{
      +  "description": "Owner login whose revocation this enable cleared, because the call named that owner.",
      +  "type": "string"
      +}
    • addedOutput schema / properties / portal / properties / owner_revoked
      Added value: +{
      +  "description": "Recorded owner that stays revoked; restore with portal enable naming that owner.",
      +  "type": "string"
      +}
  2. Changed2 schema fields changedv0.3.0
    • addedOutput schema / properties / portal / properties / message
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / portal / properties / unavailable_apps
      Added value: +{
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
  3. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnly, non-destructive, idempotent and closed-world, so the safety bar is partly covered. The description adds real value beyond that: it states the tool reads only local configuration and runtime evidence, makes no writes, enrollment or remote API calls, and — importantly — that fields are returned "only when current runtime evidence proves them," warning the agent that results may be sparse or partial.

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?

Two sentences, front-loaded with the read scope and followed by the sibling routing contrast and the no-writes boundary. Only the phrasing around "only when current runtime evidence proves them" is slightly dense, but every clause carries 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 zero-parameter read tool with an output schema, rich annotations, and named alternatives, the definition covers scope, return fields, safety boundaries and the partial-evidence caveat. Nothing an agent needs in order to call it correctly appears to be missing.

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?

The input schema has zero parameters, so there is nothing for the description to disambiguate; the baseline of 4 applies. The only implicit semantics are the scope of the read (home portal and its routes), which the description does state.

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 a specific verb and resource ("Read the home portal and its configured gateway routes") and enumerates what comes back: app names, stable ports, route states, exact URLs. It also explicitly separates itself from portal_route_add and portal_route_remove, so an agent can pick it out of the sibling list 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 Guidelines4/5

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

"Use portal_route_list to inspect existing routes; portal_route_add and portal_route_remove change routing" gives a clear use case and names the contrasting alternatives with their differing behavior. It stops short of stating prerequisites or explicit exclusions (e.g., when a plain app list is enough instead), so it is strong but not complete routing guidance.

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