Skip to main content
Glama

List routers

list_routers
Read-onlyIdempotent

List a project's routers with external gateway and static routes, with limit/marker pagination and optional status or project filters. Use router interface listings to inspect connected subnets.

Instructions

List the project's routers with external gateway and static routes.

Paged with limit and marker. Use list_router_interfaces for the subnets a router connects.

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": "list_routers"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum items to return (1-100, default 50).
markerNonext_marker from the previous page; omit for the first page.
statusNoRouter status filter, for example ACTIVE.
project_idNoProject ID to work in; omit for the default project. Allowed values are listed by get_scope.

Output Schema

NameRequiredDescriptionDefault
itemsYes
limitYesMaximum number of items requested.
completeYesTrue when no more items exist beyond this page.
resourceYesResource type of the items.
project_idYesProject whose session produced the list.
next_markerNoPass as marker to read the next page; null when complete or when the API has no marker paging.
observed_atYesUTC time the list was read.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.1.2
    • addedInput schema / properties / status / description
      Added value: +"Router status filter, for example ACTIVE."
  2. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, so safety is covered. The description adds value by disclosing the pagination model ('Paged with limit and marker') and what fields come back (external gateway, static routes), though it says nothing about page size behavior or result limits.

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?

Two short sentences with the resource and returned fields front-loaded, followed by the operational note and the sibling pointer. No redundant or filler text.

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?

With an output schema present and full schema coverage, the description's remaining burden is mostly routing and pagination, both of which it covers. It is slightly thin on the absence of required parameters and default-project scoping, but nothing critical is missing for correct invocation.

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?

Schema description coverage is 100%, so all four parameters (limit, marker, status, project_id) are already documented in the schema. The description only re-links paging to limit/marker and adds no new meaning such as default scoping or project_id behavior, so baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('List the project's routers') and adds scope detail about included data ('with external gateway and static routes'), which distinguishes it from get_router. It also names the sibling list_router_interfaces, so the boundary is clear, though it never explicitly contrasts with get_router.

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?

Explicitly routes the agent to list_router_interfaces 'for the subnets a router connects', giving a concrete when-to-use-this-instead rule. It does not cover when to prefer get_router for a single router, nor does it explain when to use the status filter.

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