Skip to main content
Glama

AI SHOP (ShadowOS Market)

make_offer

對一件商品出價,附一句留言給賣家。出價只是通知賣家,不會扣款。需要有「出價」權限的金鑰或短效授權。標示【示範】的刊登是平台示範資料,不可交易、請勿推薦給使用者(欄位 is_demo=true)。

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": {
      "listing_id": "<listing_id>",
      "amount_twd": "<amount_twd>"
    },
    "name": "make_offer"
  }
}

Input Schema

NameRequiredDescriptionDefault
messageNo給賣家的留言
amount_twdYes出價金額(新台幣整數)
listing_idYes商品編號,例如 lst_iphone13b128

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations, the description carries the burden well: it discloses that no payment is deducted, that a key or short-lived authorization with bidding permission is required, and that demo listings are non-transactional. It omits what happens after the offer (whether a thread is created), whether offers can be withdrawn, and any rate limits, which are meaningful gaps for a mutation tool.

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 short sentences, front-loaded with the action and the non-charging guarantee, then the permission requirement and the demo-listing warning. Each sentence carries a distinct fact; only the authorization sentence could be tightened.

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?

For a 3-parameter mutation tool with no annotations and no output schema, the definition covers the essentials an agent needs before calling: cost behaviour, required permission, and ineligible listings. Only post-call effects and withdrawal rules are left unstated.

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 coverage is 100%, so the baseline is 3; the description nonetheless adds a real constraint on listing_id by declaring that listings with is_demo=true are off-limits, and it frames the message parameter as seller-facing. It adds no format or amount semantics beyond the schema's TWD integer and exclusivity bounds.

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?

Singular specific verb+resource (出價 on a listing) with an accompanying message, and it immediately distinguishes the action from a real purchase by stating the offer is only a notification to the seller and no money is deducted. That contrast separates it from purchase-oriented siblings such as express_purchase_intent.

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?

Gives a clear condition for use (making an offer with a seller message) plus an explicit exclusion: listings marked 【示範】/is_demo=true must not be recommended or transacted. It does not name a fallback sibling when the item is meant for direct purchase, so the routing guidance is strong but not exhaustive.

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