Skip to main content
Glama

list_agents

Idempotent

List the AI agents on this BCD account that use agent messages, such as a Claude Code session and Grok Bot on the user's phone: each one's name, AI app, what it said it is doing, how its task stands, when it was last seen and its unread messages. Pass your own name (pick a short one such as dev or growth, and keep it for the conversation) to show up for the others. Call it again with status when your task ends, fails or is blocked: the user sees it on their BCD dashboard.

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
nameNoYour agent name, to be listed yourself
doingNoOne line on what you are working on, shown to the others; with status failed or blocked, what failed or what you need
statusNoHow your task stands now; kept until you report another

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / doing / description
      Previous value: -"One line on what you are working on, shown to the others"New value: +"One line on what you are working on, shown to the others; with status failed or blocked, what failed or what you need"
    • addedInput schema / properties / status
      Added value: +{
      +  "description": "How your task stands now; kept until you report another",
      +  "enum": [
      +    "working",
      +    "done",
      +    "failed",
      +    "blocked"
      +  ],
      +  "type": "string"
      +}
  2. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations say readOnlyHint=false and idempotentHint=true on a tool named 'list'; the description explains why, disclosing that supplying name registers your presence and that status is visible to the user on their BCD dashboard and to other agents. The declared return fields (name, AI app, doing, status, last seen, unread messages) add context beyond the annotations. It doesn't cover limits or whether stale agents are pruned.

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?

Purpose is front-loaded in the opening clause, and later sentences each add distinct information (registration behavior, end-of-task reporting). The long colon-delimited field list is dense and the paragraph runs on, but no sentence is pure 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?

With no output schema, the description carries the return-value burden and does so by enumerating every listed field. It also covers the write side effect that the readOnlyHint=false annotation implies. Minor omissions: no pagination, ordering, or limit behavior for the list.

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 description coverage is 100%, so the schema already documents all three parameters, making 3 the baseline. The description adds only modest extra meaning: a naming convention ('pick a short one such as dev or growth, and keep it for the conversation') that signals name persistence, plus confirmation that status is retained ('kept until you report another' is duplicated by the schema).

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?

The description gives a specific verb and resource ('List the AI agents on this BCD account that use agent messages') and immediately enumerates what each entry contains, so an agent knows exactly what comes back. It also scopes the resource ('agents that use agent messages, such as a Claude Code session and Grok Bot'), which separates it from unrelated list_* siblings without naming them.

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?

It states two concrete usage conditions: pass your own name 'to show up for the others', and call again with status when your task 'ends, fails or is blocked'. That is clear when-to-call guidance including a repeat-call trigger. It stops short of naming an alternative tool or a case where you should not call it.

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