Skip to main content
Glama

Eli Agent Hub

Ask one merchant's seller

negotiate_offer
Read-only

Use this after a search, when the buyer wants the best fit, a price within budget, a bundle or an answer to an objection from one merchant. Asks that merchant's seller (an AI assistant for the company, under its own Deal Rules) and returns ONE offer: a plain answer, the price, key facts with dates, alternatives and the signed buy, cart, trial or booking link. Prices never change because of what is asked.

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": {
      "slug": "<slug>",
      "question": "<question>"
    },
    "name": "negotiate_offer"
  }
}

Input Schema

NameRequiredDescriptionDefault
slugYesThe merchant's slug from search_merchants_and_offers.
ship_toNo
currencyNo
quantityNo
questionYesThe buyer's question in their own words.
max_priceNoHighest price in normal units, in `currency` or the merchant's own currency.
sessionIdNoYour own conversation id, echoed back so you can match answers. The seller keeps no memory across calls through the hub.
in_stock_onlyNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnly, openWorld, non-idempotent and non-destructive, so the safety profile is covered. The description adds real context beyond them: the counterparty is an AI seller operating under the company's own Deal Rules, exactly one offer comes back, and prices do not change based on what is asked (which notably qualifies the 'negotiate' framing). It omits latency, failure/no-offer behavior, and any rate limits.

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, front-loaded with the usage condition, then the return shape. The closing line about prices not changing is not filler — it corrects a likely misreading of the tool name 'negotiate'. Nothing is redundant with the name or annotations.

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 eight parameters, no output schema and a mutation-adjacent name, the description does the important work of enumerating what the single returned offer contains, compensating for the missing output schema. The remaining gap is operational: it says nothing about what happens when the seller cannot meet max_price or has no stock, which matters for a non-idempotent external call.

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 coverage is 50%, and four parameters (ship_to, currency, quantity, in_stock_only) carry no description anywhere. The prose hints at max_price ('a price within budget') and quantity ('a bundle') but supplies no format, units, or default guidance beyond what the schema already states. This is a baseline-3 case where the description neither compensates for nor worsens the coverage gap.

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?

The description gives a specific verb and resource: it asks one merchant's seller and returns exactly ONE offer with named components (answer, price, key facts, alternatives, signed link). It implicitly separates itself from create_checkout_or_trial by returning a buy/cart/trial link rather than completing the purchase, but it never names a sibling tool, so differentiation is inferential rather than explicit.

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

Usage Guidelines4/5

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

'Use this after a search, when the buyer wants the best fit, a price within budget, a bundle or an answer to an objection' gives a clear triggering context and prerequisite (a prior search). The scope is implicitly limited to one merchant, but there is no explicit when-not statement and no named alternative for comparing multiple merchants.

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