Skip to main content
Glama

router_routes

Read-onlyIdempotent

Retrieve active IPv4 and IPv6 routing tables and policy rules via read-only ip commands, enabling network path inspection without SSH access.

Instructions

Get active IPv4/IPv6 routes and policy rules using fixed read-only ip commands.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint, covering the safety profile. The description adds useful operational context by stating it uses fixed read-only ip commands and covers both IPv4 and IPv6, which clarifies the tool's deterministic, non-mutating behavior without contradicting annotations.

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 a single, tightly worded sentence that front-loads the action and resource. Every word conveys useful information, with no filler or repetition.

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?

Given the tool is a simple parameterless read-only query with no output schema, the description provides sufficient context for correct invocation: it names the resource, the scope, and the non-mutating implementation. There are no missing inputs or complex behaviors that would require additional explanation.

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 tool has zero parameters, so there is nothing for the description to explain about inputs. The baseline of 4 for parameterless tools applies, and the description does not need to compensate for any schema gaps.

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 uses a specific verb ('Get') and a clear resource ('active IPv4/IPv6 routes and policy rules'), making the tool's function immediately obvious. This distinguishes it from sibling tools focused on interfaces, neighbors, WiFi, or diagnostics.

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?

The description clearly indicates the tool is for retrieving route and policy rule information, giving a clear context in which it applies. It does not explicitly name alternative tools or exclusions, but the resource-specific scope is enough for an agent to select it appropriately among the sibling tools.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/JeffersonYoung/openwrt-luci-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server