Skip to main content
Glama

Prepare an internal-marketplace purchase

prepare_internal_buy
Read-only

Prepare buy() at the exact listed price on the NFH-owned Sepolia marketplace; settlement pays royalty.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
buyerYesEVM address.
tokenIdYesNFH token id.
priceWeiYesExact current listing price in wei.

Output Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / buyer / description
      Previous value: -"A 20-byte EVM wallet or contract address."New value: +"EVM address."
    • addedInput schema / properties / priceWei / description
      Added value: +"Exact current listing price in wei."
  2. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already provide readOnlyHint=true, openWorldHint=true, and destructiveHint=false, so the description does not need to restate safety. It adds behavioral context beyond the annotations by noting that the purchase is prepared at an exact listed price and that settlement will pay royalty, explaining the intended downstream effect.

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 description is a single, compact sentence that places the most critical constraints front and center: exact price, internal marketplace, and royalty behavior. There is no filler or redundancy.

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?

Given the output schema, 100% parameter coverage, and strong annotations, the description is nearly complete for safe invocation. It could be slightly clearer about how this relates to the mainnet counterpart or whether the preparation call itself has any observable effect, but those gaps are minor because readOnlyHint already covers the safety profile.

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%, so parameters are already well-documented. The description adds useful emphasis that priceWei must be the exact current listed price, but it does not add meaning for buyer or tokenId beyond what the schema already provides.

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 verb (prepare buy()) and resource (the NFH-owned Sepolia internal marketplace), and adds the key condition of executing at the exact listed price. This clearly distinguishes it from siblings like prepare_mainnet_buy or prepare_listing.

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 states the condition of use: a buy at the exact listed price on the internal NFH-owned Sepolia marketplace. It does not explicitly list exclusions such as 'for the mainnet marketplace, use prepare_mainnet_buy', but the marketplace and price constraints give an agent strong guidance on when this tool applies.

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.