Skip to main content
Glama

Call Read Tool

call_read_tool
Read-onlyIdempotent

Executes a specified read-only UniFi tool with its schema, permissions, validation and audit intact. Refuses write calls and state-changing routes while preserving secret scrubbing.

Instructions

Execute a read tool with its original validation, guards, audit and result format.

Refuses write calls, including state-changing routes of the mixed GET relay. Describe the target first; its schema and permissions apply. Read-only mode and secret scrubbing are preserved.

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": {
      "name": "<name>",
      "arguments": "<arguments>"
    },
    "name": "call_read_tool"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesExact enabled read tool name, for example "list_devices".
argumentsYesTarget schema arguments, for example {"host": "console", "site": "default"}.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.7.2
    • changedInput schema / properties / name / description
      Previous value: -"Exact enabled read tool name, for example \"get_acl_rule_ordering\"."New value: +"Exact enabled read tool name, for example \"list_devices\"."
  2. Addedv0.7.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already cover safety (readOnly, idempotent, non-destructive), but the description adds real value beyond them: writes are rejected, including state-changing routes of the mixed GET relay, and secret scrubbing/read-only mode are preserved. Audit behavior and result-format pass-through are also disclosed. It does not cover error behavior or rate limits.

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?

Four short sentences, front-loaded with the core action, and every sentence contributes a distinct constraint (dispatch, write refusal, prerequisite, safety preservation). Minor abstraction in phrasing but no filler.

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?

For a dispatcher with no output schema, the description correctly notes that results follow the target tool's original format, so return values need no further explanation. Combined with the prerequisite and refusal rules, an agent has enough to call it correctly; only error/failure semantics are unaddressed.

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?

Schema coverage is 100% with both parameters documented and exemplified, so a baseline 3 would apply. The description goes further by explaining that the supplied arguments must conform to the target tool's schema and permissions, which clarifies a nested, open-ended `arguments` object the schema alone leaves ambiguous.

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 ('Execute') and resource ('a read tool') plus the scope of what is carried through: original validation, guards, audit and result format. The second sentence draws the boundary against write operations, which is precisely the distinction an agent needs versus the sibling call_write_tool.

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?

'Describe the target first; its schema and permissions apply' gives an explicit prerequisite step before invocation, and 'Refuses write calls' states when-not clearly. It stops short of naming call_write_tool as the alternative for mutations, leaving that routing to inference.

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