Skip to main content
Glama

上架前侵权排查 / Pre-listing infringement screening

check_compliance

上架前侵权排查(SafeSellAI 引擎,文字维度:商标词 + TRO 诉讼记录)。当用户问「这个产品会不会侵权」「上架前帮我查一下商标/TRO」时调用。返回三态结论:能卖 / 要改 / 拦下,并附命中证据与口径说明;引擎不可用时返回「未排查、待复核」,绝不默认放行(发布工具会因此拒绝上架)。入参三选一:items 直接给商品、staging_ids 查暂存商品、scope="store"+store_id 做整店在售商品侵权全筛查(欢迎任务③)。Screen products for trademark/TRO risk before listing; verdicts are pass / revise / block, and unknown when the engine is unavailable (fail-closed).

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

Input Schema

NameRequiredDescriptionDefault
itemsNo
scopeNoitems
store_idNo
staging_idsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Beyond the annotations, it discloses the fail-closed contract: when the engine is unavailable the result is 'not screened, pending review' rather than a default pass, and publish_listing will refuse to list in that state. It also describes the returned verdicts and that hit evidence and a scope-note accompany them, which is materially new behavior an agent could not infer from readOnlyHint=false / destructiveHint=false.

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?

It is front-loaded with purpose, then usage trigger, then return contract, then input modes, which is a logical order with little redundancy. Some wording is dense (the internal task reference, doubled bilingual phrasing) but nothing is filler at the level of a whole sentence.

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?

With no output schema, the description adequately specifies the return values and the fail-closed fallback, so an agent knows what to expect. It stops short on the nested item payload shape and on whether the call creates a screening job (consistent with readOnlyHint=false), which are the remaining gaps for a 4-parameter tool.

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?

Schema description coverage is 0%, so the description must carry the parameters, and it does explain the three input modes and that scope="store" requires store_id. However, it never describes the nested item fields (key, title, category, features, description), the 50-item caps, or that all four top-level parameters are optional with scope defaulting to "items".

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 the exact verb and domain: screening products for trademark words and TRO litigation records before listing, in both Chinese and English. It names the engine, the text dimension covered, and the three-state verdict scale, which lets an agent separate this from siblings such as validate_listing or publish_listing.

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 user-phrase triggers ("the product would infringe", "check trademark/TRO before listing") and then routes among the three input modes: items directly, staging_ids for staging items, and scope="store" with store_id for whole-store screening. It does not explicitly exclude sibling tools or state prerequisites, so a 4 rather than 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