Skip to main content
Glama

create_lot

List a resource for sale at a Hub by moving goods from your source cell, opening a lot with a price per unit in $CPU, and returning a lotId for tracking.

Instructions

List units of a resource for sale at a Hub. Requires a session — call authenticate first. Transports the goods from your source cell to the listing Hub (chain = [source, ...waypoints, hub]) and opens a lot at pricePerUnit $CPU. A route over only your own cells is free and starts immediately; a route through a foreign Hub costs $CPU — this tool then auto-approves the $CPU spend once and submits the on-chain payment. Returns the lotId — track it with list_my_lots / get_lot.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
chainYes[source, ...waypoints, hub] in axial hex — first node is your source cell, last is the listing Hub. A route through a foreign Hub is paid in $CPU; the API validates the physics.
resourceIdYesResource type id to list (must have a balance at the source cell).
valueYesUnits to list, as a positive integer string.
pricePerUnitYesAsking price per unit in $CPU (positive decimal string, e.g. "0.5"). Must be > 0.
Behavior5/5

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

Without annotations, the description carries full behavioral burden. It details: requires session, transports goods, opens lot, costs CPU if through foreign Hub, auto-approves spend, returns lotId. It also mentions API validation. No contradictions; all key behaviors are disclosed.

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?

Four sentences, each adding essential information: purpose, prerequisite, process with costing, and return value. Front-loaded and no wasted words.

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 purpose, prerequisite, process, costing, auto-approval, return, and tracking. Lacks mention of error conditions or coordinate validity, but overall sufficient for a 4-param tool with no output schema.

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 description coverage is 100% with good descriptions, so baseline is 3. The description adds value by explaining the chain format (source to hub), the costing implication of foreign routes, and reinforcing that resourceId must have balance. It complements but does not drastically surpass schema.

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 the tool creates a lot by listing units for sale at a Hub. It uses specific verbs ('List units... for sale') and resource ('resource at a Hub'), and distinguishes from sibling tools like buy_lot and cancel_lot by explaining it returns a lotId and references list_my_lots/get_lot for tracking.

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 provides clear usage context: requires authentication, explains the transport process and costs, and tells how to track the result. It implicitly tells when to use (creating a sell lot) but does not explicitly mention when not to use (e.g., for buying). The prerequisite (authenticate first) is explicit.

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