Skip to main content
Glama

AI SHOP (ShadowOS Market)

mark_sold

賣家把自己的商品標為已售出:商品立刻下架、搜尋不再列出,進行中的購買意向全部取消。只有賣家本人可以,需要賣家自己有「上架」權限的 API 金鑰;短效授權(AI 助理)不能做這件事。

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": "mark_sold"
  }
}

Input Schema

NameRequiredDescriptionDefault
listing_idYes商品編號,例如 lst_iphone13b128

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations provided, the description carries the full disclosure burden and does well: it spells out the destructive side effects (immediate delisting, search removal, cancellation of all in-progress purchase intents) plus auth and permission requirements. It stops short of stating whether the action is reversible or how to undo it, which matters for a destructive mutation.

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 compact sentences: the first front-loads the action and its effects, the second covers authorization constraints. Every clause carries information, and there is no redundant restatement of the tool name.

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 destructive mutation with no annotations and no output schema, the definition covers effects, caller identity, and permission requirements adequately. The main remaining gap is reversibility and what the caller should expect on failure (e.g., insufficient permission or an already-sold listing).

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 only one parameter, and the schema already documents it fully with a pattern and an example ('lst_iphone13b128'), giving 100% coverage. The description adds no further meaning about listing_id beyond the schema, so the baseline of 3 applies.

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 states a specific verb and resource ('賣家把自己的商品標為已售出') and enumerates the concrete consequences: the listing is delisted, disappears from search, and all active purchase intents are cancelled. This is clearly distinct from the read/offer siblings, and an agent can identify the operation without consulting the 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 explicit caller eligibility ('只有賣家本人可以'), a permission prerequisite (API key with '上架' permission), and an explicit exclusion (short-lived authorization / AI assistant cannot do this). It does not name an alternative action for cases where the caller lacks permission or wants a different outcome (e.g., relisting via prepare_repost), so it falls short of full routing guidance.

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