Skip to main content
Glama

AI SHOP (ShadowOS Market)

get_listing

查看一件商品的完整資料(價格、成色、說明、賣家信任資訊、賣家寫的付款與交貨方式說明 deal_terms)。不需要金鑰。標示【示範】的刊登是平台示範資料,不可交易、請勿推薦給使用者(欄位 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>"
    },
    "name": "get_listing"
  }
}

Input Schema

NameRequiredDescriptionDefault
listing_idYes商品編號,例如 lst_iphone13b128

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

No annotations are supplied, and the description still discloses the key behavioral facts on its own: access requires no API key (不需要金鑰), which is important for auth expectations; and demo listings carry is_demo=true, are non-tradable, and must not be surfaced as recommendations. That last point is a real behavioral constraint that is not inferable from the schema. It does not say what happens when listing_id does not exist or is malformed.

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?

Three compact clauses: purpose and returned fields first, then the auth note, then the demo-data caveat. The wording is front-loaded and free of padding. The long parenthetical field list makes the first sentence a little dense, but every element there is useful.

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 single-parameter read tool with no output schema and no annotations, the description covers the purpose, what is returned, the auth requirement, and the critical demo-flag caveat. Only error and not-found behavior is unaddressed, which is a minor gap for this complexity level.

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?

There is a single parameter, listing_id, and the schema already documents it fully (100% coverage, including a regex pattern and an example), so the description does not need to restate it. The description adds nothing about the ID beyond what the schema says, which is the expected baseline for a fully-documented parameter set.

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?

The description uses a specific verb (查看) with a precisely scoped resource (一件商品, a single listing retrieved by ID) and enumerates what comes back: price, condition, description, seller trust info, and the seller's deal_terms. This clearly separates it from the sibling search_listings, which returns multiple matches, without needing to open any schema.

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?

It gives a clear context for use: fetch the full details of one known listing. It also adds a concrete usage warning: listings marked 【示範】 cannot be traded and must not be recommended to users. It does not name an alternative tool (for example, search_listings when the ID is unknown), so it scores just below a 5.

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