Skip to main content
Glama

uci_show

Read-onlyIdempotent

Retrieve and display a UCI configuration (network, DHCP, firewall, system, or wireless) as a list of sections, with secret options masked as ***.

Instructions

One UCI config as a list of sections. config: network, dhcp, firewall, system or wireless. Secret options (key, password, psk ...) are shown as ***.

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": {
      "config": "<config>"
    },
    "name": "uci_show"
  }
}

Input Schema

NameRequiredDescriptionDefault
configYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. 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 the safety profile is covered. The description still adds genuinely new behavioral information: secret options (key, password, psk) are masked as ***, which tells the agent not to expect usable credential values. It stops short of saying whether pending/uncommitted changes are reflected.

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 sentences, both earning their place: the first defines the operation and valid inputs, the second discloses the redaction behavior. No filler and the core purpose is front-loaded.

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?

An output schema exists, so return structure need not be explained. The description covers the operation, the valid input values, and the secret-masking behavior; only edge cases such as unknown config names or pending-change visibility are unaddressed, which is minor for a simple one-parameter read.

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 0%, so the description must carry the parameter meaning, and it does list the accepted config values, which the bare string schema does not. It does not clarify whether arbitrary package names are accepted or whether the list is exhaustive, leaving a gap for an invalid-input case.

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?

States a specific verb and resource ('One UCI config as a list of sections') and enumerates the valid config targets (network, dhcp, firewall, system, wireless). An agent immediately knows this is a read of a named config package, distinct from the mutation siblings like firewall_rule_add.

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 by the tool's read-only nature and the enumerated config names, so an agent can infer when it applies. However, no alternatives are named and no exclusions are given, even though siblings such as interfaces, wifi_status, and dhcp_leases overlap in subject matter and could be confused with it.

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