Skip to main content
Glama

swarm_meter

Returns per-bot fleet health verdicts (OK, WARN, STALLED, BROKEN) with evidence so clients can identify and repair broken swarm arms; reads run journals and health records without changing data.

Instructions

Fleet health meter: verdict per bot (OK / WARN / STALLED / BROKEN) with evidence, so the client knows which arm of the swarm is broken and how to repair it. Reads the run journal and health records; changes nothing. BROKEN = failed ops (re-run the same plan to resume only unfinished ops); STALLED = started but never finished (crash); WARN = SLOW / BEHIND / REFUSALS flags vs peers.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does much of it: it declares the tool reads the run journal and health records and "changes nothing," and it explains the operational meaning of each verdict (BROKEN = re-run the same plan resumes only unfinished ops; STALLED = crash mid-run; WARN = peering flags). It stops short of describing cost, latency, or what evidence accompanies each verdict.

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 purpose and read-only guarantee are front-loaded, then a compact glossary of verdicts follows. It is dense but every clause carries information; the nested parentheticals make it slightly harder to scan than a bulleted verdict list would be.

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, so the description must convey return semantics, and it does by enumerating the four verdicts and the accompanying evidence. What remains unstated is the shape of that evidence and whether the report is per-run or fleet-wide in scope.

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?

The tool takes zero parameters, so the baseline is 4; there is nothing for the description to clarify beyond the empty schema, and it correctly describes a no-argument, whole-fleet scan.

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 names a concrete resource (fleet health per bot) and defines the output taxonomy (OK / WARN / STALLED / BROKEN with evidence). It is clearly a read-and-classify tool rather than an action tool, but the identifying verb is metaphorical ("meter") and it never contrasts itself with the similarly named sibling swarm_status, leaving some overlap to inference.

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 rather than stated: "so the client knows which arm of the swarm is broken and how to repair it" suggests calling it for diagnosis before repair. There is no explicit when-to-use, no exclusion, and no named alternative (e.g., when to prefer swarm_status or swarm_scan).

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