Skip to main content
Glama

implement_code

Generates clean, tested, production-ready code from an architecture design in a chosen language, saving to a file path with optional unit tests.

Instructions

Engineer implements the feature with clean, tested, production-ready code

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
languageNoProgramming language to use (default: typescript)typescript
file_pathNoFile path where code should be implemented
architectureYesThe architecture design from the Architect (min 20 characters)
test_coverageNoInclude unit tests (default: true)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden. It implies code creation and mentions testing, but does not disclose filesystem side effects, overwrite behavior, permissions, or what 'production-ready' guarantees; the mutation nature is only implied.

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?

A single front-loaded sentence with no filler or repetition. It is efficiently structured, though arguably too sparse for a mutation tool with four parameters.

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

Completeness2/5

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

For a code implementation tool with no annotations and no output schema, the description lacks prerequisites, side effects, return behavior, and workflow positioning. An agent cannot tell what gets written, whether files are overwritten, or how this fits with sibling tools.

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 the schema already documents all four parameters. The description's mention of 'tested' loosely maps to test_coverage, but it adds no syntax, format, or meaning beyond what the input schema provides.

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 'implements' and resource 'feature' with quality attributes 'clean, tested, production-ready code.' It distinguishes itself from planning/design siblings implicitly, but does not name alternatives explicitly.

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?

No when-to-use, when-not, or alternative guidance is provided. The required 'architecture' parameter implies a prerequisite, but the description offers no routing guidance among siblings like plan_feature, design_architecture, or generate_tests.

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