Skip to main content
Glama
ellmos-ai

ellmos-codecommander-mcp

by ellmos-ai

Generate Python Code

cc_generate_python_code
Read-onlyIdempotent

Generate Python code snippets from templates for functions, classes, tests, and modules, without creating files.

Instructions

Generiert Python-Code-Snippets aus BACH-abgeleiteten Templates ohne Dateien zu schreiben

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actNoAct block for test generation
baseNoBase exception class for exception generation
bodyNoFunction or method body
kindNoTemplate kind
nameNoGenerated item name
targetNoTarget name for test generation
arrangeNoArrange block for test generation
contentNoModule content
docstringNoDocstring
main_bodyNoCLI main body
spec_jsonNoOptional full JSON spec. If set, it is merged with the explicit fields.
assertionsNoAssert block for test generation
bases_jsonNoJSON array of class base names
descriptionNoModule or CLI description
fields_jsonNoJSON array of dataclass fields
params_jsonNoJSON array of parameters: [{"name":"x","type":"int","default":"0"}]
return_typeNoReturn type annotation for functions
imports_jsonNoJSON array of import lines for module generation
init_params_jsonNoJSON array of __init__ parameters for classes
Behavior3/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false. The description adds that it does not write files, which aligns with readOnly. However, it does not disclose other behavioral traits such as error handling, performance implications, or dependencies on external templates. With annotations providing the safety profile, the description adds minimal but useful context.

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 a single concise sentence in German with no wasted words. However, it lacks structure (e.g., bullet points, front-loading of key information). For its brevity, it is appropriate, but for a tool with 19 parameters, more structure would improve clarity.

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?

Given the tool's complexity (19 parameters, no output schema), the description is insufficient. It does not explain how parameters interact (e.g., the relationship between kind and other fields), the purpose of spec_json merging, or expected output format. The agent would need to infer from parameter names and descriptions alone.

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%, with each parameter having a description. The tool's description adds no additional meaning beyond what the schema already provides. Baseline 3 is appropriate since 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 clearly states it generates Python code snippets from BACH-derived templates without writing files. The name and title are self-explanatory, and the description adds the key constraint of not writing files. It does not explicitly distinguish from sibling tools, but no sibling directly competes with code generation, so purpose is sufficiently clear.

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 description provides no guidance on when to use this tool versus alternatives. It mentions 'BACH-abgeleiteten Templates' but does not explain what BACH is or in what scenarios this tool is preferable. There is no exclusion criteria or recommended context. The agent is left without usage direction.

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/ellmos-ai/ellmos-codecommander-mcp'

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