Skip to main content
Glama

NFTCOLLAB Creator Drops & Partner Releases

Quote Buyer Edition Purchase

collab_quote_edition_purchase
Read-onlyIdempotent

Compute a buyer checkout quote and community_checkout_url handoff for 1 to 25 editions of an approved_live drop. Use this for buyer mint prep on an existing drop_id; do not use for creator split modeling (collab_calculate_5050_split) or payout history (collab_list_drop_settlements). Parameters: quantity cannot exceed supply (HTTP 409 if exceeded); rail="usdc_x402" quotes fee-free Base USDC, whereas "card_stripe" deducts 2.9%+$0.30 plus $0.01/edition gas before 50/50 split. Behavior: zero charge; buyer settlement intentionally completes at community_checkout_url so MCP never touches buyer keys; returns HTTP 404 missing, HTTP 409 not live, HTTP 422 blocked 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": {
      "drop_id": "<drop_id>",
      "buyer_wallet": "<buyer_wallet>"
    },
    "name": "collab_quote_edition_purchase"
  }
}

Input Schema

NameRequiredDescriptionDefault
railNoBuyer payment rail to quote ("usdc_x402" default on Base or "card_stripe" USD card checkout).
drop_idYes50/50 Collaboration Hub drop identifier (format: cdrop_<20 hex chars>).
quantityNoNumber of ERC-1155 editions to quote in one checkout (1 to 25; defaults to 1).
buyer_walletYesBuyer Base EVM wallet address receiving the ERC-1155 edition(s) (screened against sanctioned/burn addresses).

Output Schema

NameRequiredDescriptionDefault
okYesTrue when the buyer purchase quote succeeded.
settlement_breakdownNoExact 50/50 Treasury and Creator/Partner settlement amounts for the selected rail.
community_checkout_urlNoHosted buyer checkout handoff URL where wallet/card settlement occurs.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • changedInput schema / properties / buyer_wallet / description
      Previous value: -"0x-prefixed 40-hex Base (chain_id = 8453) EVM wallet address."New value: +"Buyer Base EVM wallet address receiving the ERC-1155 edition(s) (screened against sanctioned/burn addresses)."
    • changedInput schema / properties / quantity / description
      Previous value: -"Number of ERC-1155 editions to quote for the buyer (1 to 25)."New value: +"Number of ERC-1155 editions to quote in one checkout (1 to 25; defaults to 1)."
    • changedInput schema / properties / rail / description
      Previous value: -"Settlement rail to quote (\"usdc_x402\" on Base or \"card_stripe\" net after card fees)."New value: +"Buyer payment rail to quote (\"usdc_x402\" default on Base or \"card_stripe\" USD card checkout)."
    • addedOutput schema / properties / community_checkout_url
      Added value: +{
      +  "description": "Hosted buyer checkout handoff URL where wallet/card settlement occurs.",
      +  "type": "string"
      +}
    • addedOutput schema / properties / ok / description
      Added value: +"True when the buyer purchase quote succeeded."
    • addedOutput schema / properties / settlement_breakdown / description
      Added value: +"Exact 50/50 Treasury and Creator/Partner settlement amounts for the selected rail."
  2. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Beyond the readOnly/idempotent/non-destructive annotations, the description discloses the zero-charge behavior, that settlement completes at community_checkout_url so the MCP never touches buyer keys, and the specific HTTP 404/409/422 failure modes. This is meaningful behavioral context that annotations alone cannot convey.

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?

The definition is front-loaded with purpose, then prerequisites, then parameters, then behavior, with no filler sentences. It is dense and somewhat packed into long clauses, particularly the fee sentence, which slightly reduces scannability.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a four-parameter quoting tool with an output schema already present, the description covers the remaining gaps an agent needs: preconditions (approved_live drop), supply limits, fee differences between rails, the checkout handoff, and error codes. Nothing essential to correct invocation appears missing.

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 100%, so the baseline is 3, but the description adds real meaning: quantity is capped by supply with an HTTP 409 on overflow, and the rail enum is differentiated by fee treatment (usdc_x402 fee-free versus card_stripe's 2.9%+$0.30 plus $0.01/edition gas before the 50/50 split). The fee arithmetic is slightly condensed but still adds value beyond the schema.

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 definition names a specific verb and resource: computing a buyer checkout quote (plus community_checkout_url handoff) for 1 to 25 editions of an approved_live drop. It explicitly distinguishes itself from collab_calculate_5050_split and collab_list_drop_settlements, so an agent can route correctly without opening any schema.

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

Usage Guidelines5/5

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

It states the intended use case (buyer mint prep on an existing drop_id) and names two explicit exclusions with the sibling tools that cover them. The approved_live precondition is also surfaced, leaving little inference required.

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