Skip to main content
Glama

Buy items and negotiate offers

buy
DestructiveIdempotent

Buy or negotiate under frozen terms. Paid actions require request_id and max_fee; interest, decline and withdrawal are free. Pay the seller directly. See auction://reference.

Input Schema

NameRequiredDescriptionDefault
unitNo
priceNo
actionNo
max_feeNo
entry_idNo
offer_idNo
interestedNo
offer_hashNo
request_idYes
terms_hashNo
accept_termsNo
coming_soon_idNo
offer_terms_hashNo
sale_contact_consentNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / anyOf
      Previous value: -[
      -  {
      -    "properties": {
      -      "accept_terms": {
      -        "enum": [
      -          true
      -        ]
      -      },
      -      "action": false,
      -      "coming_soon_id": false,
      -      "interested": false,
      -      "offer_hash": false,
      -      "offer_id": false,
      -      "offer_terms_hash": false,
      -      "request_id": {
      -        "$ref": "#/$defs/entry_id"
      -      },
      -      "sale_contact_consent": {
      -        "enum": [
      -          true
      -        ]
      -      }
      -    },
      -    "required": [
      -      "entry_id",
      -      "price",
      -      "unit",
      -      "terms_hash",
      -      "accept_terms"
      -    ]
      -  },
      -  {
      -    "properties": {
      -      "action": {
      -        "enum": [
      -          "interest"
      -        ]
      -      },
      -      "request_id": {
      -        "$ref": "#/$defs/entry_id"
      -      }
      -    },
      -    "propertyNames": {
      -      "enum": [
      -        "coming_soon_id",
      -        "interested",
      -        "request_id",
      -        "action",
      -        "funding_accounts",
      -        "max_fee"
      -      ]
      -    },
      -    "required": [
      -      "coming_soon_id",
      -      "interested",
      -      "action"
      -    ]
      -  },
      -  {
      -    "properties": {
      -      "accept_terms": {
      -        "enum": [
      -          true
      -        ]
      -      },
      -      "action": {
      -        "enum": [
      -          "offer"
      -        ]
      -      },
      -      "coming_soon_id": false,
      -      "interested": false,
      -      "offer_hash": false,
      -      "offer_id": false,
      -      "request_id": {
      -        "$ref": "#/$defs/entry_id"
      -      },
      -      "sale_contact_consent": {
      -        "enum": [
      -          true
      -        ]
      -      }
      -    },
      -    "required": [
      -      "entry_id",
      -      "price",
      -      "unit",
      -      "terms_hash",
      -      "accept_terms",
      -      "action",
      -      "offer_terms_hash"
      -    ]
      -  },
      -  {
      -    "properties": {
      -      "accept_terms": {
      -        "enum": [
      -          true
      -        ]
      -      },
      -      "action": {
      -        "enum": [
      -          "counter"
      -        ]
      -      },
      -      "coming_soon_id": false,
      -      "entry_id": false,
      -      "interested": false,
      -      "request_id": {
      -        "$ref": "#/$defs/entry_id"
      -      },
      -      "sale_contact_consent": {
      -        "enum": [
      -          true
      -        ]
      -      },
      -      "terms_hash": false,
      -      "unit": false
      -    },
      -    "required": [
      -      "action",
      -      "offer_id",
      -      "offer_hash",
      -      "price",
      -      "offer_terms_hash",
      -      "accept_terms"
      -    ]
      -  },
      -  {
      -    "properties": {
      -      "accept_terms": {
      -        "enum": [
      -          true
      -        ]
      -      },
      -      "action": {
      -        "enum": [
      -          "accept"
      -        ]
      -      },
      -      "coming_soon_id": false,
      -      "entry_id": false,
      -      "interested": false,
      -      "offer_terms_hash": false,
      -      "price": false,
      -      "request_id": {
      -        "$ref": "#/$defs/entry_id"
      -      },
      -      "sale_contact_consent": {
      -        "enum": [
      -          true
      -        ]
      -      },
      -      "terms_hash": false,
      -      "unit": false
      -    },
      -    "required": [
      -      "action",
      -      "offer_id",
      -      "offer_hash",
      -      "accept_terms"
      -    ]
      -  },
      -  {
      -    "properties": {
      -      "action": {
      -        "enum": [
      -          "decline",
      -          "withdraw"
      -        ]
      -      },
      -      "request_id": {
      -        "$ref": "#/$defs/entry_id"
      -      }
      -    },
      -    "propertyNames": {
      -      "enum": [
      -        "action",
      -        "offer_id",
      -        "request_id",
      -        "funding_accounts",
      -        "max_fee"
      -      ]
      -    },
      -    "required": [
      -      "action",
      -      "offer_id"
      -    ]
      -  }
      -]New value: +[
      +  {
      +    "properties": {
      +      "accept_terms": {
      +        "enum": [
      +          true
      +        ]
      +      },
      +      "action": false,
      +      "coming_soon_id": false,
      +      "interested": false,
      +      "offer_hash": false,
      +      "offer_id": false,
      +      "offer_terms_hash": false,
      +      "request_id": {
      +        "$ref": "#/$defs/entry_id"
      +      },
      +      "sale_contact_consent": {
      +        "enum": [
      +          true
      +        ]
      +      }
      +    },
      +    "required": [
      +      "entry_id",
      +      "price",
      +      "unit",
      +      "terms_hash",
      +      "accept_terms"
      +    ]
      +  },
      +  {
      +    "properties": {
      +      "action": {
      +        "enum": [
      +          "interest"
      +        ]
      +      },
      +      "request_id": {
      +        "$ref": "#/$defs/entry_id"
      +      }
      +    },
      +    "propertyNames": {
      +      "enum": [
      +        "coming_soon_id",
      +        "interested",
      +        "request_id",
      +        "action",
      +        "max_fee"
      +      ]
      +    },
      +    "required": [
      +      "coming_soon_id",
      +      "interested",
      +      "action"
      +    ]
      +  },
      +  {
      +    "properties": {
      +      "accept_terms": {
      +        "enum": [
      +          true
      +        ]
      +      },
      +      "action": {
      +        "enum": [
      +          "offer"
      +        ]
      +      },
      +      "coming_soon_id": false,
      +      "interested": false,
      +      "offer_hash": false,
      +      "offer_id": false,
      +      "request_id": {
      +        "$ref": "#/$defs/entry_id"
      +      },
      +      "sale_contact_consent": {
      +        "enum": [
      +          true
      +        ]
      +      }
      +    },
      +    "required": [
      +      "entry_id",
      +      "price",
      +      "unit",
      +      "terms_hash",
      +      "accept_terms",
      +      "action",
      +      "offer_terms_hash"
      +    ]
      +  },
      +  {
      +    "properties": {
      +      "accept_terms": {
      +        "enum": [
      +          true
      +        ]
      +      },
      +      "action": {
      +        "enum": [
      +          "counter"
      +        ]
      +      },
      +      "coming_soon_id": false,
      +      "entry_id": false,
      +      "interested": false,
      +      "request_id": {
      +        "$ref": "#/$defs/entry_id"
      +      },
      +      "sale_contact_consent": {
      +        "enum": [
      +          true
      +        ]
      +      },
      +      "terms_hash": false,
      +      "unit": false
      +    },
      +    "required": [
      +      "action",
      +      "offer_id",
      +      "offer_hash",
      +      "price",
      +      "offer_terms_hash",
      +      "accept_terms"
      +    ]
      +  },
      +  {
      +    "properties": {
      +      "accept_terms": {
      +        "enum": [
      +          true
      +        ]
      +      },
      +      "action": {
      +        "enum": [
      +          "accept"
      +        ]
      +      },
      +      "request_id": {
      +        "$ref": "#/$defs/entry_id"
      +      },
      +      "sale_contact_consent": {
      +        "enum": [
      +          true
      +        ]
      +      }
      +    },
      +    "propertyNames": {
      +      "enum": [
      +        "action",
      +        "offer_id",
      +        "offer_hash",
      +        "request_id",
      +        "accept_terms",
      +        "sale_contact_consent",
      +        "max_fee"
      +      ]
      +    },
      +    "required": [
      +      "action",
      +      "offer_id",
      +      "offer_hash",
      +      "accept_terms"
      +    ]
      +  },
      +  {
      +    "properties": {
      +      "action": {
      +        "enum": [
      +          "decline",
      +          "withdraw"
      +        ]
      +      },
      +      "request_id": {
      +        "$ref": "#/$defs/entry_id"
      +      }
      +    },
      +    "propertyNames": {
      +      "enum": [
      +        "action",
      +        "offer_id",
      +        "request_id",
      +        "max_fee"
      +      ]
      +    },
      +    "required": [
      +      "action",
      +      "offer_id"
      +    ]
      +  }
      +]
    • removedInput schema / properties / funding_accounts
      Removed value: -{
      -  "additionalProperties": false,
      -  "properties": {
      -    "grant_account_id": {
      -      "format": "uuid",
      -      "type": "string"
      -    },
      -    "normal_account_id": {
      -      "format": "uuid",
      -      "type": "string"
      -    }
      -  },
      -  "type": "object"
      -}
  2. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, idempotentHint=true, readOnlyHint=false, so the safety profile is conveyed structurally. The description adds useful behavior the annotations do not: fee capping via max_fee and that payment goes directly to the seller rather than through escrow. It stops short of stating what 'destructive' means here (funds transferred, terms locked, likely irreversible once accepted).

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?

Three sentences, front-loaded with the core purpose, followed by the cost rule, the payment model, and a pointer to auction://reference. No redundant restatement of the name or title.

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

Completeness2/5

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

For a destructive, money-moving tool with 14 parameters, six action branches, no parameter descriptions, and no output schema, this is far too thin. An agent cannot learn from the description which parameters each action needs, what "frozen terms" enforces, or what happens to the accepted terms once a purchase completes.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% across 14 parameters, so the description carries the full burden and only explains request_id and max_fee. The core validators — terms_hash vs offer_terms_hash, accept_terms, sale_contact_consent, price/unit pairing — are never explained, and the action-to-required-parameter mapping is left entirely to inference from a schema that marks fields as literal `false`.

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?

"Buy or negotiate under frozen terms" gives a specific verb set and resource, and the title clarifies it covers purchases plus offer negotiation. It does not differentiate the tool from the sibling 'bid' or enumerate which negotiation actions (offer, counter, accept, decline, withdraw) live here, which the schema hides inside an anyOf of six branches.

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 sentence "Paid actions require request_id and max_fee; interest, decline and withdrawal are free" gives real per-action guidance for choosing a branch. But there is no when-to-use guidance relative to bid/sell, and no note that a prior browse is needed to obtain entry_id, terms_hash, or offer_hash before calling.

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