Skip to main content
Glama

cpu_quote_lot_return

Get a no-cost quote for returning an unsold open or evicted lot to your own cell: exact remainder, destination capacity, transit fee ceiling, distance, and arrival time, so you can safely execute the return.

Instructions

Preview sending one of your lots home — the whole unsold remainder, from its hub to a cell you own — without spending anything. Requires a session. Works on an OPEN lot and on an EVICTED one. Pass chain = [hub, ...waypoints, your destination cell] for the whole route (required). Answers with the exact remainder, the destination, the transit fee and syndicate discount, the total distance, the arrival time, and whether the destination can still take the whole remainder right now. The fee it names is the ceiling to hand cpu_return_lot as its maxTransitFeeWei: that call re-prices the route and refuses rather than pay above the figure you pass it, so run this immediately before the return and pass the wei field back unchanged.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
chainYesWaypoint tokenIds [hub, ...waypoints, destination] for the whole route home — the first node is the hub holding the lot, the last is your own revealed cell where the remainder lands. Scout waypoints with cpu_next_hops.
lotIdYesThe lot to send home (must be yours; open or evicted).

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Addedv0.10.0

TDQS

A4.7/5.0
Behavior5/5

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

With no annotations present, the description carries the full burden and does so thoroughly: it discloses that the call spends nothing, lists every output dimension, and explains the fee's role as a ceiling that cpu_return_lot may refuse to exceed. It also exposes the timing precondition, that the quote must be consumed immediately before the return, which is critical behavioral context.

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?

The purpose is front-loaded, followed by preconditions, route requirements, output summary, and downstream usage in a logical order. Every sentence contributes distinct information, and the length is justified by the tool's relationship to cpu_return_lot and the need to define the fee ceiling behavior.

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?

For a two-parameter tool with no output schema and no annotations, this description is nearly self-sufficient: it covers prerequisites, supported lot states, the exact required chain format, all returned information, and how to feed the result into cpu_return_lot. Nothing an agent needs to select and invoke the tool correctly is left to guesswork.

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%, and the schema already documents both lotId and chain, including the required route structure and the recommendation to scout waypoints with cpu_next_hops. The description restates the chain format and lot ownership but adds no materially new parameter-level meaning, so the baseline score of 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 opening sentence names a specific verb and resource: Preview sending one of your lots home — the whole unsold remainder, from its hub to a cell you own — without spending anything. It also names the paying counterpart cpu_return_lot, so the tool is immediately distinguishable as a quote rather than an execution.

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?

The description gives explicit when-to-use guidance: run this immediately before cpu_return_lot and pass the returned wei field back unchanged. It also states the applicable lot states (OPEN and EVICTED), the required session, and the exact required chain shape, leaving no ambiguity about how and when to invoke it.

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

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/projectcpu/project-cpu-mcp'

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