Skip to main content
Glama

AI SHOP (ShadowOS Market)

send_message

傳訊息。對商品第一次聯絡賣家用 listing_id(會自動開一條對話);回覆既有對話用 thread_id。賣家用 listing_id 回覆時要加 to_user_id 指定買家。要附圖請先用 API「上傳訊息附圖」拿到附圖編號放進 image_ids(最多 4 張);不接受直接給圖片網址。本平台不經手任何款項:成交、付款與交貨由使用者和賣家私下約定。面交或付款方式請雙方在訊息裡談好;訊息若被判斷有詐騙風險(要先匯款到陌生帳戶、要驗證碼、要離開平台到不明連結),回應會帶 fraud_flag 與提醒,訊息仍照常送出。需要有「出價」權限的金鑰或短效授權。標示【示範】的刊登是平台示範資料,不可交易、請勿推薦給使用者(欄位 is_demo=true)。

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "send_message"
  }
}

Input Schema

NameRequiredDescriptionDefault
messageNo訊息內容(文字與附圖至少要有一樣)
image_idsNo附圖編號清單(先上傳取得)
thread_idNo回覆既有對話時填:對話編號
listing_idNo商品編號,例如 lst_iphone13b128
to_user_idNo只有賣家用 listing_id 回覆時需要:買家的使用者代號

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

With no annotations, the description carries full burden and does so well: it discloses that listing_id auto-creates a thread, that flagged messages still send with a fraud_flag and warning, that the platform handles no payment, that an offer-permission key or short-lived token is required, and that 【示範】 listings (is_demo=true) are non-tradable. These are behavioral facts the schema cannot express.

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 send-message purpose and routing, then layers on image, payment, fraud, permission, and demo-listing caveats. Every sentence is informative, though the payment disclaimer and demo-listing warning stretch the definition slightly beyond invocation essentials.

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 5-parameter mutation tool with no annotations and no output schema, the description is complete: it covers prerequisites (image upload, permissions), side effects (thread creation), response behavior (fraud_flag), and edge cases (demo listings). Nothing an agent needs to call it correctly is missing.

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, but the description adds meaning beyond the field docs: it explains the causal relationship (listing_id auto-opens a thread) and the seller-side condition for to_user_id. The image_ids max-4 and upload-first rules largely restate the schema, keeping it from a 5.

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?

States a specific verb+resource ("傳訊息" / send message) and immediately distinguishes two workflows: first contact via listing_id (auto-opens a thread) vs replying via thread_id. An agent can tell this apart from read_thread, list_threads, and make_offer without opening a schema.

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?

Explicit routing: listing_id for first contact, thread_id for replies, and to_user_id only when a seller replies via listing_id. It also prescribes the prerequisite step for images (upload first, then pass image_ids) and forbids direct URLs, leaving nothing to inference.

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