Skip to main content
Glama

commit_to_offer

Destructive

Commits to an offer, creating an exchange and minting a voucher NFT. Caller is the buyer (signerAddress) unless 'buyer' param is set. For ERC-20 offers, call approve_exchange_token first. In metaTx mode, you can skip the approval by passing transferAuthorizations (built with a sign_receive_with_* tool) to send_meta_transaction. Returns unsigned transaction data.

Input Schema

NameRequiredDescriptionDefault
buyerNoOptional buyer address if different from signerAddress. When set, executionMode must be 'direct'.
offerIdYesID of the active offer to commit to. Creates an exchange and mints a voucher NFT.
configIdYesBoson/Fermion Protocol deployment identifier. Format: '<env>-<chainId>-<index>' e.g. 'production-137-0' (Polygon mainnet), 'testing-80002-0' (Amoy testnet). Call get_config_ids to list all valid values for this server.
executionModeNo'direct' = standard on-chain tx (sign locally with your wallet → send_signed_transaction). 'metaTx' = gasless relay via Biconomy (send_meta_transaction). Defaults to 'direct'.
signerAddressYesEthereum address that will sign and send this transaction. Must match the wallet that will sign the returned transaction locally.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and readOnlyHint=false, so the safety profile is covered. The description adds material context beyond that: it clarifies the caller/signer model (signerAddress unless 'buyer' is set) and, crucially, that the tool 'Returns unsigned transaction data' rather than submitting — a behavior an agent must know to wire up signing correctly. It does not state irreversibility or failure modes, keeping it short of a 5.

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?

Four tight sentences, front-loaded with purpose, each conveying distinct operational information (effect, caller model, prerequisite, metaTx shortcut, return shape). Dense but no filler; only the metaTx sentence is slightly long.

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 no output schema, the description correctly discloses the return shape ('unsigned transaction data'), covers the approval prerequisite, the gasless alternative, and the signer model. The remaining gap is routing versus the six sibling commit_* tools, which is significant given the crowded namespace.

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 description coverage is 100%, so the baseline is 3. The description goes further by explaining the signerAddress-vs-buyer relationship and by pointing out that transferAuthorizations are built with a sign_receive_with_* tool, connecting parameters to the wider workflow in a way the schema alone does not.

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?

States a specific verb ('Commits to') plus resource ('an offer') and adds the observable consequences: an exchange is created and a voucher NFT is minted. However, with siblings like commit_to_buyer_offer, commit_to_conditional_offer, and commit_to_offer_and_redeem_voucher, the description never explains what makes this the plain/base variant, so an agent cannot fully disambiguate from the name alone.

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?

Gives genuine sequencing guidance ('For ERC-20 offers, call approve_exchange_token first') and names the metaTx alternative path via send_meta_transaction. But it offers no guidance on when to choose this tool over the many sibling commit_* variants, which is the primary routing decision an agent faces here.

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