Skip to main content
Glama

router_objects

Read-onlyIdempotent

Lists the router's web UI settings objects and available operations, with optional filtering by name, so you can find the right settings or action to inspect or change.

Instructions

Names of every settings object the router's web UI uses (LAN_WLAN, LAN_DHCP_STATIC_ADDR, WAN_IP_CONN_PORTMAPPING, FIREWALL, ...) and the operations it can run (ACT_REBOOT, ...). Filter with contains.

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

Input Schema

NameRequiredDescriptionDefault
deviceNoName of a device from devices.toml (see the 'devices' command); omit for the default device.
containsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.4.0
    • addedInput schema / properties / device
      Added value: +{
      +  "default": "",
      +  "description": "Name of a device from devices.toml (see the 'devices' command); omit for the default device.",
      +  "title": "Device",
      +  "type": "string"
      +}
  2. First observedv0.2.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and openWorldHint=false, so the safety and repeatability profile is covered structurally. The description adds that the enumeration mirrors the router's web UI surface, but says nothing about result size, ordering, or whether a missing match returns empty versus errors. With annotations doing real work here, this is an adequate but not rich disclosure.

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?

One sentence plus a short imperative for the filter, with the identity of the tool front-loaded and examples placed inline. Nothing is redundant, though the trailing 'Filter with contains' fragment is slightly clipped rather than explanatory.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a zero-required-parameter discovery tool with no output schema, the description does sketch the return content (object names and operation names), which is the key missing piece. It stops short of explaining how results should be consumed or how the two returned categories are distinguished in the response, which matters for a tool whose whole job is enabling later calls.

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 coverage is 50%: the device parameter is documented in-schema, while contains has only a title. The description partially compensates with 'Filter with contains', but it does not say whether the match is against object names, operation names, or both, nor whether it is case-sensitive or substring versus exact. That leaves the one undocumented parameter only half-specified.

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 states a specific resource and what it returns: the names of every settings object the router's web UI uses plus the operations it can run, with concrete examples (LAN_WLAN, LAN_DHCP_STATIC_ADDR, ACT_REBOOT). That distinguishes it from action siblings like router_read, router_change, and router_run, though the verb is implied rather than stated ('Names of...' rather than 'List...').

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

Usage Guidelines2/5

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

There is no when-to-use guidance and no routing to alternatives. The description never says the returned object/operation names are the inputs for router_read or router_run, which is the obvious reason an agent would call this enumeration tool first. 'Filter with contains' is parameter usage, not tool-level guidance.

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