Skip to main content
Glama

evolve_decisions

Curate a set of stories to persist only decisions worth keeping. Use after story-only history extraction or to re-curate existing stories.

Instructions

Curate a set of previously extracted stories so that only the decisions still worth keeping are persisted.

When to use:

  • After running infer_history in story-only mode (rare — infer_history already chains this step automatically).

  • When you have a pre-existing set of stories you want to re-curate without re-running history extraction.

Inputs:

  • stories: array of story objects from a previous infer_history run.

  • repoPath (optional): when provided, curated results are persisted as intents and decisions for the repo after curation finishes.

  • model (optional): Anthropic model used for the curation pass.

Behavior:

  • Runs asynchronously — returns immediately with a started/pending status while progress is reported separately.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modelNoAnthropic model used for the curation pass (default: claude-haiku-4-5-20251001).
storiesYesArray of story objects from a previous infer_history run
repoPathNoLocal path to the repository root (required for auto-persist after evolution)
forkAuthorNoFork attribution; usually resolved by Muninn automatically — pass only for override / testing.
repoOriginNoGit remote origin URL (auto-detected from repoPath if not provided)
workspaceIdNoWorkspace identifier; usually resolved by Muninn automatically — pass only for override / testing.
Behavior4/5

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

Despite no annotations, the description provides key behavioral details: it runs asynchronously, returns immediately with a started/pending status, and optionally persists results when repoPath is provided. This adds significant context beyond the schema.

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 description is well-structured with clear sections for usage, inputs, and behavior. It is concise without being overly terse, though the first sentence could be slightly more direct.

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?

Given the tool's complexity (6 params, nested objects, async behavior, no output schema), the description covers the essential context: when to use, inputs, and asynchronous nature. It could elaborate on how progress is reported, but overall it is sufficiently complete.

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 baseline is 3. The description repeats the purpose of stories and optional parameters but does not add new meaning beyond what's in the schema. The information about auto-persist with repoPath is already present in the schema's description.

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 uses a specific verb+resource: 'curate a set of previously extracted stories so that only the decisions still worth keeping are persisted.' It clearly distinguishes itself from sibling tools like infer_history and record_decision by focusing on re-curation after initial extraction.

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?

The 'When to use' section explicitly states scenarios: after infer_history in story-only mode or when re-curating existing stories without re-running history extraction. It lacks explicit 'when not to use' or alternatives, but the context is clear enough.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/CodeAwareness/kawa.mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server