Skip to main content
Glama

kilo_list_agents

Lists available Kilo agents from project and global definitions so you can choose a valid agent before delegating coding tasks.

Instructions

Discover which Kilo agents are available for the agent argument of kilo_rag_search / kilo_implement.

Scans the project (.kilo/agent/, .kilocode/agent/), the global (~/.kilo/agent/, ~/.kilocode/agent/) directories and the VS Code extension storage for custom agent definitions. Built-in primary agent code (implementation) always exists even if nothing is listed here. Subagents like explore cannot be used as primary agents for kilo_implement (use kilo_rag_search for exploration).

Call this before delegating if you are unsure which agent to target, so you pick a real one instead of guessing.

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

Input Schema

NameRequiredDescriptionDefault
working_directoryNoAbsolute path of the project whose agents you want to list. Pass the same path you will use in kilo_implement / kilo_rag_search, so project-level agents of THAT repo are included. Defaults to the server's current working directory.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.7/5.0
Behavior4/5

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

No annotations are supplied, so the description carries the full burden; it discloses the concrete scan locations (`.kilo/agent/`, `.kilocode/agent/`, global dirs, VS Code extension storage) and, importantly, that built-in `code` always exists even when the listing is empty — a non-obvious behavioral fallback. It does not explicitly state read-only/side-effect-free semantics or whether results are cached, which leaves a small gap for a zero-annotation tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose and consumer binding are front-loaded in the first sentence, followed by scope, edge case, and guidance in descending order of importance. The paragraph breaks map to distinct concerns, and no sentence is filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return values need no prose. With one optional parameter, full schema coverage, and a zero-config default, the description covers everything an agent needs: what is scanned, what always exists, what cannot be used, and when to call it.

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%, so the baseline is 3, but the description adds real meaning beyond the schema: the path must match the one later passed to kilo_implement / kilo_rag_search so that project-level agents of THAT repo are included. That is a cross-tool consistency rule the schema text alone does not express as clearly.

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 and resource ("Discover which Kilo agents are available") and immediately ties the result to the exact consumer argument (`agent` of kilo_rag_search / kilo_implement). That framing distinguishes it from sibling listing tools like kilo_list_models and kilo_list_skills, which enumerate different resources.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives explicit when-to-use guidance ("Call this before delegating if you are unsure which agent to target, so you pick a real one instead of guessing") and adds exclusions: subagents like `explore` cannot serve as primary agents for kilo_implement, and kilo_rag_search is named as the alternative for exploration. Both the trigger and the fallback path are stated.

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