Skip to main content
Glama

prepare_cancel_listing

Marketplace: prepare (unsigned) cancelling your listing (anyone may clear a stale one). NFTs: collection + tokenId. Weapons: collection "weapons" + listingId (the weapon returns to your wallet).

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>",
      "collection": "<collection>"
    },
    "name": "prepare_cancel_listing"
  }
}

Input Schema

NameRequiredDescriptionDefault
walletYesYour own 0x wallet address. Nothing is sent from it; it is used to read your balance and allowance and to simulate.
tokenIdNoNFT token id.
listingIdNoWeapon market listing id (collection weapons).
collectionYescompanions, operatives, fighters, crates or portal (or the contract address); or "weapons" for Armory weapons. NOT the Override Disk (Ripples' collection, trades on OpenSea) and NOT mercenaries (locked to the buyer).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full burden and does disclose two useful traits: the call is unsigned (it does not itself execute the cancellation) and anyone may clear a stale listing. It adds the outcome for weapons (the weapon returns to your wallet) but says nothing about what the agent must then do with the prepared transaction, what happens to an NFT's escrow state on cancel, or whether a signature/approval flow is required.

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?

Three short, front-loaded clauses with no filler: the action first, then the two parameter modes. The telegraphic style ('Marketplace: prepare (unsigned) cancelling your listing') is dense but every clause carries 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?

For a 4-parameter mutation-preparation tool with no annotations and no output schema, the definition covers both asset paths and the unsigned nature but leaves the agent guessing about the returned prepared-transaction payload and the required follow-up signing/submission step. Adequate, not complete.

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 already 100%, so the baseline would be 3, but the description adds genuine routing meaning: for NFTs supply collection + tokenId, for weapons supply collection "weapons" + listingId. That tells the agent which parameter combination applies per asset type, which the schema alone does not spell out.

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 states a specific verb and resource: it prepares (unsigned) a cancellation of the caller's marketplace listing, and it splits that into two asset paths (NFT vs weapon). An agent can tell this is a cancel-of-my-own-listing builder rather than a buy or board action, though it never names a sibling to contrast with.

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 rather than stated: you use it to cancel a listing, and the parenthetical '(anyone may clear a stale one)' hints at the permission model. There is no explicit when-not guidance, no mention of prerequisites such as an existing listing or prior approval, and no routing to alternatives like prepare_board_cancel or loan_cancel.

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