Skip to main content
Glama

List router interfaces

list_router_interfaces
Read-onlyIdempotent

Retrieve a router's internal interfaces—port, subnet, and IP address—by router ID to inspect network attachments; complete=false means more interfaces exist.

Instructions

List a router's internal interfaces: port, subnet and IP address.

Not paged; complete=false means the router has more interfaces.

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": {
      "router_id": "<router_id>"
    },
    "name": "list_router_interfaces"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum items to return (1-100, default 50).
router_idYesRouter ID, as returned by list_routers.
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 / router_id / description
      Added value: +"Router ID, as returned by list_routers."
  2. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and open-world, so the safety profile is covered. The description adds genuinely new behavior beyond that: the results are not paged, and a false `complete` flag signals the router has more interfaces — exactly the truncation semantics an agent needs to decide whether to retry or narrow scope.

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 zero filler; the content description comes first and the truncation caveat second, matching the order in which the agent needs them. Nothing is repeated from the schema or annotations.

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, return values need not be explained, and the description still volunteers the one non-obvious response semantic (`complete`). The only real gap is relational context — how this differs from list_ports or get_router, which share the same resource space.

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 limit, router_id and project_id are already documented at the field level, which sets the baseline at 3. The description adds nothing about how limit interacts with the stated non-paged behavior, leaving a small ambiguity (a limit parameter exists yet the result is described as unpaged) unresolved.

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?

The description gives a specific verb and resource ("List a router's internal interfaces") and enumerates the returned fields (port, subnet, IP address), so the agent knows exactly what this returns. It does not explicitly distinguish itself from nearby siblings such as list_ports or get_router, which is the only thing keeping it from a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

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

Usage is only implied: the phrase "a router's internal interfaces" suggests it is the router-scoped view of ports, but there is no explicit when-to-use clause and no named alternative (e.g., use list_ports for a project-wide port listing). The agent must infer the choice from the tool name and sibling list.

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