Skip to main content
Glama

buy_lot

Buy units from an open lot and route delivery to your own cell. Payment in $CPU is auto-approved and units are reserved instantly.

Instructions

Buy units from an OPEN lot, delivered to your own cell. Requires a session. chain = [hub, ...waypoints, your destination cell] (the Hub holding the lot → your revealed cell). Always paid in $CPU (seller price + any foreign-hub transit fees) — auto-approves the spend once and submits the on-chain payment. NOTE: this reserves the units immediately (no dry-run) — preview the exact cost first with quote_buy. Track delivery with list_my_transports / get_lot. If you already have a pending buy on this lot awaiting payment, a new one is rejected — retry once it settles or lapses (a lapsed one is auto-refunded within ~a minute).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
lotIdYesThe lot id to buy from (from list_lots / get_lot / get_markets).
chainYes[hub, ...waypoints, destination] — first node is the lot Hub, last is your own revealed cell where the goods are delivered.
valueYesUnits to buy, as a positive integer string (≤ the lot remaining).
Behavior5/5

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

With no annotations, description fully discloses key behaviors: auto-approves spend, reserves immediately (no dry-run), payment breakdown, chain structure, rejection condition, and auto-refund on lapse. 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?

Description is clear and front-loaded with the action, but slightly verbose with nested details. Could be slightly more concise without losing essential information.

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

Completeness4/5

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

Covers major aspects (payment, reservation, chain, rejections, refunds). Missing a brief mention of the return value (e.g., transport ID), but given no output schema, it's a minor gap for a complex tool.

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 covers all parameters at 100% coverage. Description adds meaningful context beyond schema: explains chain array purpose, value as positive integer string, and lotId source. Baseline 3 increased due to added value.

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?

Description clearly states 'Buy units from an OPEN lot, delivered to your own cell.' with specific verb and resource. It distinguishes from sibling tools like quote_buy (preview) and lists related tracking tools.

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 advises to 'preview the exact cost first with quote_buy' and directs to use list_my_transports / get_lot for tracking. Also explains condition when a pending buy on the same lot is rejected.

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