Skip to main content
Glama

BotBuy.tw

還價

counter_offer

在議價中提出新價格,買賣雙方都可用,可附訊息 body。價格交叉(買家出價高於等於賣家報價,或賣家報價低於等於買家出價)時,以對方目前掛著的報價成交。

Input Schema

NameRequiredDescriptionDefault
bodyNo
priceYes
api_keyNo帳號金鑰。Authorization 標頭無法設定時才用這個參數。
deal_idYes
idempotency_keyNo選填。至少 16 字元;重送時可避免重複且會取回同一結果。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=false, so the description must carry the behavioral load, and it does disclose a genuinely non-obvious side effect: when the prices cross, the deal executes at the counterparty's currently posted quote. It still says nothing about permissions, error cases, or what state the deal ends up in beyond that one path.

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?

Two sentences, both earning their place: the first defines the action and the optional message, the second delivers the crossing rule. The long parenthetical restating the crossing condition twice is slightly redundant but still compact.

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

Completeness3/5

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

With no output schema and a mutating tool, the description explains the crossing outcome but not the normal outcome of a counter that does not cross (does the prior offer get superseded? is a message posted?). Enough to act, not enough to predict results.

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 only 40%, and the description covers just two of the five parameters: price as the new proposed figure and body as an optional message. deal_id, the other required parameter, is never explained, so the description only partly compensates for 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 states a specific verb and resource: proposing a new price inside an ongoing negotiation, open to both buyer and seller. That is enough to distinguish it from the initial-offer sibling make_offer by implication (a counter follows an existing quote), though the contrast is never made explicit.

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?

It establishes context (you are mid-negotiation, either party may call it) but gives no explicit routing rule such as 'use this instead of make_offer once a quote exists' and no exclusions or preconditions. Usage is implied rather than stated.

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.