Skip to main content
Glama

kilo_run_command

Runs a named Kilo custom command via the Kilo CLI with optional arguments and working directory, enabling Claude to delegate predefined workflows like database migrations.

Instructions

Execute a deterministic, pre-programmed Kilo custom command (e.g., db-migrate) via kilo run --command <name>. Discover available names with kilo_list_skills' sibling directories or the .kilo/command/ folder.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "command_name": "<command_name>"
    },
    "name": "kilo_run_command"
  }
}

Input Schema

NameRequiredDescriptionDefault
argsNoOptional arguments passed to the command as its message
command_nameYesName of the custom Kilo command to run (from .kilo/command/ or ~/.kilo/command/)
working_directoryNoAbsolute path to run the command in

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/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 does disclose meaningful behavior: the command is deterministic and pre-programmed, not model-generated, and it is resolved by name from a known directory. However, it says nothing about side effects (db-migrate implies mutation), whether commands can be destructive, permission/auth requirements, or execution scope beyond the working_directory param.

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?

Two sentences, front-loaded with the action and followed by discovery guidance; nothing is redundant. The second sentence's phrasing about 'kilo_list_skills' sibling directories' is slightly indirect but still compact.

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 not be explained, and the required command_name is fully described in the schema. Given a three-parameter, single-action tool, the definition covers what an agent needs to select and invoke it; only deeper safety context is absent, which is a minor gap.

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 all three parameters are already documented in the schema, and the description adds little beyond the db-migrate example and the name-discovery locations. Baseline 3 applies because the schema does the heavy lifting.

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 ('Execute') and a specific resource ('deterministic, pre-programmed Kilo custom command'), with a concrete example (db-migrate) and the underlying CLI form. It is distinguishable from siblings like kilo_implement because it runs a named, pre-authored command rather than freeform work, though it does not contrast itself with any sibling by name except for discovery via kilo_list_skills.

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?

It tells the agent how to find valid command names (kilo_list_skills' sibling directories or the .kilo/command/ folder), which is useful context. It gives no explicit when-not guidance, no statement about preferring this over kilo_implement or running commands directly, and no prerequisites such as auth or workspace setup.

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