Skip to main content
Glama

prepare_resale_buy

Second hand: prepare (unsigned) buying a listed apartment or vehicle: an approve for the exact price, then the purchase. Title and payment move in one transaction.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "wallet": "<wallet>",
      "kind": "<kind>",
      "id": "<id>"
    },
    "name": "prepare_resale_buy"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe apartment id or vehicle id
kindYesapartment or vehicle
walletYesYour own 0x wallet address. Nothing is sent from it; it is used to read holdings and to simulate.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior4/5

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

With no annotations, the description carries the burden and does reasonably well: it discloses that nothing is signed ('unsigned'), that an approval for the exact price precedes the purchase, and that title and payment settle atomically in one transaction. It does not cover failure modes such as insufficient balance, listing delisting, or price expiry.

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?

A single compact sentence, front-loaded with the 'Second hand: prepare (unsigned)' scope before the mechanics. The colon-chained clauses are slightly dense but every clause conveys information.

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?

Given no annotations and no output schema, the description should say more about what is returned (which unsigned transactions, in what order) and how long a prepared purchase stays valid. The atomic-settlement and approve-then-buy notes cover the key mechanics, so the remaining gap is moderate rather than severe.

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 100%, with all three parameters ('wallet', 'kind', 'id') fully described including that the wallet sends nothing and is only used for reads and simulation. The description adds the 'exact price' notion but no additional per-parameter meaning, so the schema does the heavy lifting.

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?

The description names a specific verb and resource: 'prepare (unsigned) buying a listed apartment or vehicle', with 'Second hand' scoping it to the resale market. An agent can distinguish this from primary-market purchase tools and from listing/cancel siblings, though no sibling is named explicitly.

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

Usage Guidelines3/5

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

Usage is implied by 'buying a listed apartment or vehicle' and the approve-then-purchase sequence, which tells the agent this is the first step of a resale acquisition. There is no explicit when-not guidance or named alternative (e.g., versus primary sale buy tools), leaving selection partly to inference.

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