Skip to main content
Glama

kilo_log_issue

Record defects found while reviewing Kilo-generated code, including run ID, category, severity, and file, so aggregated issues can guide prompt and spec-template improvements.

Instructions

Record a defect found while reviewing code that Kilo generated.

ALWAYS call this when your post-delegation review finds a problem — this is the feedback loop used to tune the instruction prompts over time. Issues are aggregated by kilo_metrics; recurring categories indicate what the generated spec template must start guarding against.

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": {
      "run_id": "<run_id>",
      "category": "<category>",
      "description": "<description>"
    },
    "name": "kilo_log_issue"
  }
}

Input Schema

NameRequiredDescriptionDefault
fileNoFile where the defect was found, if applicable.
run_idYesThe run_id printed by kilo_implement's result header. Links this issue to the exact spec/prompt that produced the code.
categoryYesShort kebab-case defect class, e.g. 'wrong-behavior', 'missing-edge-case', 'ignored-instruction', 'style-mismatch', 'broke-existing-code', 'incomplete', 'hallucinated-api', 'report-inaccurate'. Reuse existing categories when possible so aggregation stays meaningful.
severityNo'minor' | 'major' | 'critical'minor
descriptionYesWhat was wrong, concretely — enough detail to later understand how the spec/prompt should have prevented it.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/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, and it does explain the downstream behavior: issues are aggregated by kilo_metrics and recurring categories drive hardening of the spec template. It leaves unstated whether entries can be amended or deleted and whether duplicates should be filed, which are the remaining gaps for a write tool.

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 comes first and the mandatory trigger second, so the call decision is front-loaded. The closing sentence on aggregation is useful context but slightly expands beyond what is needed to invoke the tool.

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 an output schema present and full schema coverage on five parameters, the description need only explain intent and the feedback loop, which it does. Adding edit/duplicate semantics would make it complete for a persistent write operation.

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 run_id linkage, category taxonomy, and severity already carry their meaning in the schema. The description adds only the general aggregation rationale, not parameter-level detail, so the baseline of 3 applies.

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 names a specific verb and resource ('Record a defect') and bounds the scope precisely ('found while reviewing code that Kilo generated'). That framing also separates it from the decision-logging sibling by making clear this tool captures defects, not choices.

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 gives an explicit, mandatory trigger — 'ALWAYS call this when your post-delegation review finds a problem' — which tells the agent exactly when to reach for it. There is no explicit when-not or named alternative such as kilo_log_decision, so it stops short of full routing guidance.

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