Skip to main content
Glama

SHADOWOS.SHOP (夏斗市集)

mark_sold

Destructive

賣家把自己的商品標為已售出:商品立刻下架、搜尋不再列出,進行中的購買意向全部取消。只有賣家本人可以,需要賣家自己有「上架」權限的 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.4/5.0
Behavior5/5

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

While annotations already flag destructiveHint=true, readOnlyHint=false and idempotentHint=false, the description adds concrete consequences the annotations cannot express: the listing is delisted immediately, disappears from search, and all in-progress purchase intentions are cancelled. It also discloses an auth precondition (seller-owned publish-scoped key; short-lived/AI-assistant auth rejected), which is exactly the kind of operational context that prevents a failed or unauthorized write.

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?

Three dense sentences, front-loaded with the action and its consequences, then the permission gating. No filler and no repetition of name or annotations.

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, non-idempotent destructive write with no output schema, the description covers effects, authorization and actor scope. It leaves open whether the action is reversible and what a successful call returns, which slightly limits an agent's ability to plan follow-up steps.

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 required parameter with 100% schema description coverage, including a regex pattern and an example value, so the schema already carries the semantics. The description adds no further detail about the listing_id (e.g. whether it must reference a listing still in an active state).

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 concrete verb and resource ('賣家把自己的商品標為已售出') and immediately enumerates the effects — delisting, removal from search, cancellation of in-progress purchase intentions — so an agent can tell this apart from a plain delete or update operation in the sibling set.

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 explicit actor and authorization constraints: only the seller themselves, and only with an API key that carries the seller's '上架' permission, while short-lived authorization (AI assistant) is explicitly excluded. It does not name an alternative tool (e.g. a delete or repost path) for callers who fail those conditions, so it stops short of full when/when-not/alternatives 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