Skip to main content
Glama

craft

Run a recipe on a cell you own to refine resources or forge tokens. Inputs debited upfront; free recipes start immediately, paid ones require on-chain payment.

Instructions

Run a craft recipe on a cell you own (refine raw resources, or forge $WCPU). Requires a session — call authenticate first; discover recipes with list_recipes. Inputs are debited upfront for all batches. Most recipes are free and start their timer immediately; forge_wcpu costs $CPU, which this tool auto-approves once (a one-time unbounded allowance) before submitting the on-chain payment and waiting for its confirmation — its timer then starts once the indexer settles the payment a few seconds later. Track progress with get_craft_status and bank matured batches with claim_craft.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tokenIdYesThe tokenId of a cell you own to craft on.
recipeIdYesWhich recipe to run — see list_recipes for inputs/outputs/cost.
batchesNoHow many sequential batches to run; inputs are debited upfront for all of them.
Behavior5/5

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

No annotations provided, so description carries full burden. Explains inputs debited upfront, most recipes free and immediate timer, forge_wcpu costs and auto-approves allowance, submits on-chain payment, waits for confirmation, timer starts after settlement. No contradictions.

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?

Single paragraph packs dense information, front-loaded with main action. Could benefit from slight structuring (e.g., bullet points), but still concise and informative.

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

Completeness5/5

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

Given tool complexity (multiple recipe types, different behaviors, sibling tools), description covers prerequisites, cost, timing, and result handling. No output schema, but guides to track and claim.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, baseline 3. Description adds value: for recipeId, directs to list_recipes for details; for batches, clarifies inputs debited upfront for all. Extra context justifies 4.

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?

Clearly states 'Run a craft recipe on a cell you own'. Identifies the action (run/craft), resource (cell), and distinguishes from siblings by referencing related tools (authenticate, list_recipes, get_craft_status, claim_craft). Also mentions specific recipes like forge_wcpu.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly tells when to use: requires session, call authenticate first, discover recipes with list_recipes, track progress with get_craft_status, claim with claim_craft. Distinguishes forge_wcpu as special case with cost and payment flow.

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/sodiqit/cpu-game-mcp'

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