Skip to main content
Glama

uci_get

Reads an allowlisted OpenWrt UCI configuration value over SSH and redacts secrets, letting agents inspect router settings safely.

Instructions

Read-only: uci get for an allowlisted config key. Secrets are redacted.

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": {
      "key": "<key>"
    },
    "name": "uci_get"
  }
}

Input Schema

NameRequiredDescriptionDefault
keyYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations provided, the description adds useful behavioral facts: it is read-only and secrets are redacted. However, it does not explain what happens when a key is not allowlisted, what redaction looks like in the response, or what permissions are required. These gaps matter for a tool with no annotation coverage.

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 tight sentence with the critical 'Read-only' safety note front-loaded. Every clause carries information, and there is no redundant or filler wording.

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 one-parameter read tool, the description covers the essential safety and scope constraints. However, with no output schema, it should ideally describe the return value format and what a redacted secret looks like. Error behavior for disallowed keys is also unaddressed.

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 0%, so the description must compensate. It adds that the single 'key' parameter is an allowlisted config key, which is meaningful beyond the bare string type. It does not give format examples (e.g., section.option), case rules, or allowlist scope.

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 verb and resource: 'uci get' for a 'config key'. It also notes 'read-only' and 'allowlisted', making the tool's core purpose clear. It does not explicitly differentiate from siblings like ubus_call, but the resource focus is distinct.

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 implied through 'for an allowlisted config key', which tells the agent the tool is for reading permitted UCI settings. There is no explicit when-to-use guidance, no when-not-to-use guidance, and no mention of alternatives such as ubus_call.

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