Skip to main content
Glama

Prepare cancelling an internal-marketplace offer

prepare_internal_cancel_offer
Read-only

Prepare cancelOffer() for the NFH-owned Sepolia marketplace.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
buyerYesEVM address.
tokenIdYesNFH token id.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
stepsYes
schemaYes
statusYes
networkYes
tokenIdYes
warningsYes
mcpSignedYes
reasonCodeNo
mcpSubmittedYes
marketplaceContractYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / buyer / description
      Previous value: -"A 20-byte EVM wallet or contract address."New value: +"EVM address."
  2. First observed

TDQS

A4/5.0
Behavior3/5

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

The annotations already state readOnlyHint=true and destructiveHint=false, so the description is not required to repeat safety characteristics. The word 'Prepare' usefully signals this is a preparation/calldata-building operation rather than a direct cancellation, but the description adds little specific behavior beyond that.

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?

One short, dense sentence that front-loads the action ('Prepare cancelOffer()') and immediately bounds the context. There is no filler, repetition, or irrelevant detail.

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?

For a tool with only two well-documented parameters, an output schema, and annotations covering read-only/destructive behavior, the description is adequately complete. It could add a brief note about what the prepared call is intended to be used for, but none of the mandatory information for calling the tool is missing.

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?

The input schema has 100% description coverage: both parameters are clearly described and constrained. The tool description itself adds no additional meaning about parameters, which is acceptable because the schema already carries the full semantic burden.

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 names a specific operation ('Prepare cancelOffer()') and an explicit scope ('NFH-owned Sepolia marketplace'), which clearly distinguishes it from sibling prepare tools like prepare_internal_accept_offer and prepare_mainnet_cancel_offer. The verb and resource are precise and unambiguous.

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 clearly scopes the tool to the internal Sepolia marketplace, which is strong contextual guidance for when to use it versus mainnet or other internal actions. It does not explicitly name alternatives or state 'use this when X', so it stops one step short of full routing guidance.

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.