Skip to main content
Glama
CLEARSY

Atelier B MCP Server

Official
by CLEARSY

atelierb_generate_project_c

Generate C code for a complete B project from a top-level component, outputting to the lang/c directory. Supports C9X, LIGHT, and PROJECT profiles.

Instructions

Generate C code for a complete B project from a toplevel component. Output goes to lang/c directory.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
profileNoC translation profile: C9X (default), LIGHT, or PROJECTC9X
project_nameYesName of the project
generate_mainNoIf true, generate a main() function for the toplevel
toplevel_componentYesName of the toplevel component (entry point)
Behavior3/5

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

No annotations are provided, so the description carries the burden. It discloses the output directory (lang/c) and that it generates code, which is a write operation. However, it does not mention whether existing files are overwritten, whether a project must already exist, or any other side effects. This is adequate but not rich.

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?

Two sentences, no filler, front-loaded with the core action. Every word earns its 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?

For a tool with no annotations and no output schema, the description covers purpose and output destination but lacks prerequisite details (e.g., must have an existing project created via atelierb_create_project) and side-effect details. It is minimally adequate for 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 four parameters. The description adds no additional parameter semantics. Baseline 3 is appropriate.

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 clearly states a specific action: 'Generate C code for a complete B project from a toplevel component.' It names the resource (project, toplevel component) and distinguishes from sibling atelierb_generate_c, which likely targets individual components.

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 description gives clear context: it is for a complete project from a toplevel component, and output goes to lang/c directory. It does not explicitly name alternates or exclusions, but the scope is well defined relative to siblings.

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/CLEARSY/atelierb-mcp'

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