Skip to main content
Glama
fuzemobi
by fuzemobi

improve_code

Improve code by fixing bugs, adding features, or refactoring through natural language instructions.

Instructions

Use Aider to improve code quality, fix bugs, or implement features

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
filesNoList of files to work on
modelNoAI model to use (default: gemini/gemini-1.5-pro-latest)gemini/gemini-1.5-pro-latest
auto_commitNoAutomatically commit changes (default: True)
instructionYesWhat to improve or implement
project_pathNoAbsolute path to project directory (default: current directory).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior1/5

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

There are no annotations provided, so the description must carry the full burden of behavioral disclosure. It fails to mention that this tool modifies code files, may commit changes (auto_commit param), or has any side effects, leaving the agent without critical safety information.

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

Conciseness5/5

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

The description is a single sentence with no wasted words, front-loading the core purpose. It is concise and well-structured, though this brevity contributes to gaps in other dimensions.

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?

Despite the rich schema and output schema, the description omits essential context for a code-modifying tool. There is no mention of side effects, commit behavior, or filesystem interaction, and with no annotations, the description is insufficient for safe use.

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 five parameters (files, model, auto_commit, instruction, project_path). The description adds no parameter-specific meaning beyond the general purpose, so the baseline of 3 is appropriate.

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 clearly states the tool's action ('improve code quality, fix bugs, or implement features') using Aider, which gives a specific verb and resource. However, it overlaps with sibling tools like fix_bug, add_feature, and refactor without distinguishing itself, so it doesn't fully differentiate.

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 guidance is provided on when to use this tool versus alternatives. The description even includes 'fix bugs' and 'implement features', which are covered by sibling tools, but it does not explain when to choose this tool or when to choose a sibling.

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/fuzemobi/AiderMCP'

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