Skip to main content
Glama

feature_workflow

Plans feature implementation before code changes by mapping intent, dependencies, callers, and tests, with optional preflight/test verification and a ledger of confirmed results.

Instructions

Evidence-Backed Feature Implementation Workflow ('Understand before changing. Check before trusting. Verify before claiming success.'): (1) Understands requested feature intent, (2) Finds relevant existing anchor implementations, (3) Maps cross-file dependencies, callers, and test files, (4) Produces an actionable plan, (5) Supplies 1-indexed fast-path context, and when verify=True, (6) Runs compiler-grade preflight checks, (7) Executes test verification, and (8) Reports an explicit Verification Ledger of what is and isn't verified.

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": {
      "task": "<task>"
    },
    "name": "feature_workflow"
  }
}

Input Schema

NameRequiredDescriptionDefault
taskYesFeature request description
verifyNoIf true, runs preflight checks + test verification and returns the Verification Ledger
project_rootNoPath to repository root or target file (default: '.').
target_filesNoOptional list of target files to focus on or verify
test_commandNoOptional test command to run when verify=True (auto-discovered if omitted)
token_budgetNoMaximum token budget for context (default: 3200)
target_symbolsNoOptional list of symbol names to focus on

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.1/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden; it does disclose that verify=True triggers compiler-grade preflight and test execution plus a Verification Ledger, which is real added context. However, it never states whether the tool modifies files or is purely read/planning, what permissions or repo state it needs, or how long/heavy the verification path is. The ambiguity about write behavior is the largest transparency gap.

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

Conciseness3/5

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

The opening label and the 'Understand before changing' tagline are front-loaded and orienting, but the eight-step enumeration is a dense run-on that nests conditional steps (6)(7)(8) inside the parenthetical, which is easy to misparse. Much of the step list restates what a planning tool obviously does, so several clauses do not earn their place.

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

Completeness3/5

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

There is no output schema, so describing returns falls to the description; it partly does this by naming the plan, 1-indexed fast-path context, and the Verification Ledger. It is still incomplete for a 7-parameter tool with no annotations: whether code is written, what the plan output looks like, and how verification failure is reported are all unaddressed.

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 each of the 7 parameters is already documented in the schema. The description adds only the meaning of verify as the gate for steps 6-8, and says nothing about token_budget, target_files, target_symbols, or test_command auto-discovery beyond what the schema states. Baseline 3 applies when 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?

The description names a specific resource and outcome: a feature implementation workflow that produces an actionable plan plus optional verification, enumerating concrete steps (anchor discovery, dependency mapping, preflight checks, test runs). The verb is somewhat diffuse because the tool appears to both analyze and verify, but an agent can tell roughly what it does. It does not distinguish itself from siblings such as execute_refactor_workflow or locate_surgical_context.

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

Usage Guidelines2/5

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

The only conditional guidance is embedded in step (6)-(8): 'when verify=True' it runs preflight checks and tests. There is no statement of when to choose this over execute_refactor_workflow, locate_surgical_context, or plan_adaptive_retrieval, and no exclusions or prerequisites. The maxim-style preamble ('Understand before changing...') reads as philosophy rather than usage policy.

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