Skip to main content
Glama

Make an offer

make_offer

Offer to buy an item for amount (in the item's currency), with an optional short message. An offer is a commitment: if the seller accepts, the deal is made at that amount. Your user's deal rules decide whether you may do this alone (deal_rules confirm_deal: auto, optionally up to a price limit) or must ask (the default): then the answer is done=false with ask_your_user; ask, and only after their yes call again with user_approved=true. The seller can accept, decline or counter; check my_offers later. Comparing several sellers: pass shopping_id (start_shopping) so up to 5 offers can be open at once, never more units than your user needs, and the rest are withdrawn once the target is filled. units: some units of a listing (default: all of them). includes_shipping: say whether amount includes shipping.

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": {
      "item_id": "<item_id>",
      "amount": "<amount>"
    },
    "name": "make_offer"
  }
}

Input Schema

NameRequiredDescriptionDefault
unitsNo
amountYes
item_idYes
messageNo
shopping_idNo
user_approvedNo
includes_shippingNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / includes_shipping
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "boolean"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Includes Shipping"
      +}
    • addedInput schema / properties / shopping_id
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Shopping Id"
      +}
    • addedInput schema / properties / units
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "integer"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Units"
      +}
  2. Changed1 schema field changed
    • addedInput schema / properties / user_approved
      Added value: +{
      +  "default": false,
      +  "title": "User Approved",
      +  "type": "boolean"
      +}
  3. Added

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only declare the generic profile (not read-only, not destructive, not idempotent, not open-world); the description adds the essential business behavior: an offer is a binding commitment concluded at that amount if accepted, the seller may accept/decline/counter, competing offers are withdrawn once the target is filled, and a first call may return done=false with ask_your_user. That is materially more than the annotations 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?

Front-loaded with the commitment and price semantics before the conditional approval flow, and nearly every sentence adds operational detail. The approval sentence ('the answer is done=false with ask_your_user; ask, and only after their yes call again with user_approved=true') is dense and slightly run-on, but no content is wasted.

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 7-parameter mutating tool with an output schema available, the description supplies the full decision context an agent needs: authorization gate, retry protocol, concurrency cap, competition/withdrawal behavior, and per-parameter meaning. Return-value details can be safely omitted because an output schema exists.

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 0% across 7 parameters, so the description carries the load and mostly does: amount is in the item's currency, units defaults to all units of a listing, includes_shipping states whether amount covers shipping, shopping_id links offers from start_shopping, and user_approved is the post-confirmation flag. Only item_id and message are left to obvious inference, a minor gap.

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?

Opens with a specific verb+resource+price semantics: 'Offer to buy an item for amount (in the item's currency)'. It immediately distinguishes the tool from respond_offer/my_offers by framing it as the buyer's commitment action, and notes the optional message.

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?

Explicitly states the conditions under which the agent may act alone ('deal_rules confirm_deal: auto, optionally up to a price limit') versus must ask the user (the default), including the exact retry mechanic with user_approved=true. It also gives a strategy rule for the multi-seller case: pass shopping_id from start_shopping, keep at most 5 offers open and never exceed the user's needed units, and defers follow-up to my_offers.

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.