Skip to main content
Glama

Prepare an NFH trait offer

prepare_trait_offer
Read-only

Prepare OpenSea criteria-order terms for a WETH offer matching all supplied traits. Wallet tooling assembles, signs, and posts it.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
traitsYes1–8 categorical traits, AND-combined.
endTimeYesRequired offer expiry in ISO 8601.
offererYesEVM address.
priceEthYesPositive WETH offer amount in ETH display units, for example 0.25.
startTimeNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
chainYes
actionYes
statusYes
chainIdYes
criteriaYes
providerYes
warningsYes
mcpSignedYes
offerTermsYes
settlementYes
mcpBroadcastYes
walletAddressYes
collectionSlugYes
mcpPostedOrderYes
protocolAddressYes
providerPayloadYes
collectionContractYes
submissionEndpointYes
requiresExactApprovalYes
requiresOrderAssemblyYes
requiresWalletSignatureYes
requiresOrderBookSubmissionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed11 schema fields changed
    • addedInput schema / properties / endTime / description
      Added value: +"Required offer expiry in ISO 8601."
    • changedInput schema / properties / offerer / description
      Previous value: -"A 20-byte EVM wallet or contract address."New value: +"EVM address."
    • changedInput schema / properties / traits / description
      Previous value: -"One to eight categorical filters. Multiple traits are AND-combined."New value: +"1–8 categorical traits, AND-combined."
    • changedInput schema / properties / traits / items / properties / traitType / description
      Previous value: -"Exact case-sensitive metadata trait name from nfh://renderer-spec, for example Personality or Memory Class."New value: +"Exact case-sensitive trait name from nfh://renderer-spec."
    • changedInput schema / properties / traits / items / properties / value / description
      Previous value: -"Exact metadata trait value from nfh://renderer-spec, for example Deadpan or Persistent."New value: +"Exact trait value from nfh://renderer-spec."
    • removedOutput schema / properties / collectionContract / description
      Removed value: -"A 20-byte EVM wallet or contract address."
    • removedOutput schema / properties / criteria / properties / traits / description
      Removed value: -"One to eight categorical filters. Multiple traits are AND-combined."
    • removedOutput schema / properties / criteria / properties / traits / items / properties / traitType / description
      Removed value: -"Exact case-sensitive metadata trait name from nfh://renderer-spec, for example Personality or Memory Class."
    • removedOutput schema / properties / criteria / properties / traits / items / properties / value / description
      Removed value: -"Exact metadata trait value from nfh://renderer-spec, for example Deadpan or Persistent."
    • removedOutput schema / properties / protocolAddress / description
      Removed value: -"A 20-byte EVM wallet or contract address."
    • removedOutput schema / properties / walletAddress / description
      Removed value: -"A 20-byte EVM wallet or contract address."
  2. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already provide readOnlyHint=true and destructiveHint=false, and the description adds the non-obvious behavioral context that the tool only produces order terms — the actual assembling, signing, and posting happens in wallet tooling. This helps an agent understand the tool does not broadcast or mutate on-chain state, without contradicting any annotation.

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?

Two sentences with zero filler. The exact scope is front-loaded — the key resources (OpenSea, WETH, traits) come before the support detail about wallet tooling, and every clause earns its place.

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?

With an output schema present, return-value documentation is not needed. The specified annotations and description together give a complete picture: a read-only preparation step for a trait-based criteria order. Minor gaps include the undefined 'NFH' concept and no guidance on how the prepared result should be consumed, but these do not block a correct invocation.

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 80%, so most parameters (traits, endTime, offerer, priceEth, startTime) are already described adequately in the schema. The description adds little beyond the meaning of 'all supplied traits', which is consistent with the schema's AND-combined semantics, so the baseline 3 applies.

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 states a specific verb (Prepare), a specific resource (OpenSea criteria-order terms for a WETH offer), and an exact selection condition (matching all supplied traits). The second sentence clarifies that the tool only prepares terms while wallet tooling assembles, signs, and posts, which distinguishes it from the many prepare_* siblings.

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?

The use case is implied: this tool is for trait-matched criteria orders on OpenSea for WETH. However, there is no explicit when/how-not-to guidance or alternative routing (e.g., 'for token-specific offers use prepare_mainnet_offer instead'), which matters given a sibling family of 70+ prepare_* tools. The context is inferable but not explicit.

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.