Skip to main content
Glama

list_agents

Read-onlyIdempotent

Retrieve active Herdr agents with status and pane_id targets to inspect session state and support later pane reads.

Instructions

List active Herdr agents with status and pane_id targets for later reads.

Uses herdr agent list without --format json first (Herdr 0.8.0 default JSON; that release rejects the flag). Retries with the flag only if the default path fails with a CLI/JSON error.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.2

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive, and closed-world, so the safety profile is fully covered. The description adds a genuine behavioral detail — a CLI fallback that retries with --format json on Herdr 0.8.0 errors, which implies possible latency or retry cost. It does not describe the shape of a returned entry beyond naming two fields, which matters since no output schema exists.

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 sentence is front-loaded and does the most work. The second paragraph about the Herdr 0.8.0 flag quirk is implementation trivia that only marginally earns its place, but it is short and does not obscure the primary statement.

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?

With no parameters, complete annotations, and no output schema, an agent needs only to know what comes back and why to call it — both are addressed (status plus pane_id targets, feeding later reads). The omission is detail on the return entries, e.g. whether inactive or errored agents appear.

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 there is nothing for the description to disambiguate; baseline 4 applies. Schema coverage is 100% and the empty object schema is unambiguous.

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?

States a specific verb and resource ("List active Herdr agents") and names the payload fields it yields (status and pane_id targets). The qualifier "active" and the pointer to "later reads" give an agent enough to distinguish it from get_agent_status and read_pane, though it never names those siblings explicitly.

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?

The phrase "for later reads" implies the intended workflow: enumerate agents first, then pass pane_id to a read tool. There is no explicit when-to-use or when-not statement, no mention of how it differs from get_agent_status, and no prerequisites or rate-limit notes.

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

Deploy Server

Other Tools