Skip to main content
Glama

Local Commander

Diagnose connection and safely repair expired reservations

diagnostics
Idempotent

Use after capacity/transport errors. Reports online state, account quota, active account/device leases and current-epoch verified native capacity/version; old agents conservatively use one slot. repairSafe releases only this grant's expired, never-dispatched reservations and never releases unknown executions or changes local permissions. Connection health does not prove command authorization.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
deviceIdYes
repairSafeNoRelease up to 100 expired reservations owned by this connection only when they have never acquired a dispatch lease. Never retries work or changes local permissions.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

With readOnlyHint=false, destructiveHint=false and idempotentHint=true already declared, the description still adds real value: repairSafe only touches this grant's expired, never-dispatched reservations, never releases unknown executions, never changes local permissions, and old agents degrade to one slot. The "connection health does not prove command authorization" caveat is useful but no permissions or rate-limit details are given.

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?

The usage trigger is front-loaded and the two paragraphs separate reporting from repair behavior. However, "old agents conservatively use one slot" is cryptic and the second sentence is dense with stacked qualifiers.

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?

There is no output schema, and the description compensates by enumerating what is reported (online state, quota, leases, verified capacity/version). Combined with the repair-safety disclosure, an agent has enough to call this correctly, though deviceId semantics remain unexplained.

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?

Two parameters at 50% schema description coverage; repairSafe carries its own schema description and the prose largely restates it. The required deviceId is undocumented in both places, and the "one slot" fallback behavior is only loosely tied to a parameter.

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 set (diagnose/report, and safely repair) plus concrete resources: online state, quota, leases, verified native capacity/version. It is clearly distinct from siblings like usage_status or operation_status, though it never names an alternative explicitly.

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?

"Use after capacity/transport errors" gives an explicit trigger condition. It does not say when not to use it or which sibling (e.g. usage_status) to prefer for pure quota questions, so it stops short of a full routing rule.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources