Skip to main content
Glama

codebase_start_build

Trigger a Codebase build and return a session ID for polling. Pass the same idempotencyKey when retrying so a repeated call returns the original build instead of starting (and charging for) a second one. For a Base onchain app pass scaffold "scaffold-base" with a recipe: payments (tips, checkout, donations), social (GM, guestbooks, polls), game (a mini-game with onchain scores) or mint (an ERC-721 mint page).

Input Schema

NameRequiredDescriptionDefault
modelNo
promptYes
recipeNo
scaffoldNo
projectIdNo
idempotencyKeyNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations, the description carries full disclosure burden and does well on the important traits: it is asynchronous (returns a session ID to poll), idempotent, and explicitly notes that a repeated call avoids 'charging for' a second build. It still omits auth requirements, failure behavior, and rate limits.

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?

Three sentences, front-loaded with the core action and return value, then the idempotency caution, then the scaffold/recipe detail. The final sentence is dense but every clause carries actionable content; no filler.

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 6-parameter tool with no annotations and no output schema, the description covers the lifecycle entry point, idempotency, and the Base scaffold path, and it does state the return value. However it leaves model/projectId unexplained and says nothing about what a build actually produces or how long it takes.

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 coverage is 0%, so the description must compensate. It explains three of six parameters well (idempotencyKey semantics, scaffold 'scaffold-base', and recipe with meanings for payments/social/game/mint), but leaves model, projectId, and prompt entirely undocumented.

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 and resource ('Trigger a Codebase build') plus a concrete outcome ('return a session ID for polling'), which clearly separates it from status/stop/preview siblings. It does not name any sibling explicitly, so it falls short of a 5.

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?

Gives clear conditional guidance: use the same idempotencyKey when retrying, and pass scaffold 'scaffold-base' with a recipe for Base onchain apps. It supplies context for two usage paths but names no alternatives or when-not conditions relative to siblings like codebase_deploy or codebase_get_build_status.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources