认领产品
claim_product登录;用认领码把一个(管理员/爬虫预录的)产品认领到当前账号名下。先过后审:认领后立即发布。认领码一般由管理员发放。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| claimCode | Yes | 认领码 |
claim_product登录;用认领码把一个(管理员/爬虫预录的)产品认领到当前账号名下。先过后审:认领后立即发布。认领码一般由管理员发放。
| Name | Required | Description | Default |
|---|---|---|---|
| claimCode | Yes | 认领码 |
Changes observed during successful MCP inspections.
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare idempotentHint=true and destructiveHint=false, so the description's job is lighter. It still adds real behavioral context the annotations do not: a login is required, the claim transfers the product to the current account, and the product is published immediately with moderation happening afterwards (先过后审). Missing only failure behavior when a code is invalid or already consumed.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Three short clauses, front-loaded with the login requirement and the core action, with no filler. The leading '登录;' fragment is a slightly awkward opener but costs almost nothing.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a one-parameter, no-output-schema tool the description covers preconditions, source of the input, and the immediate post-claim side effect, which is what an agent needs to call it safely. It is only short of describing error/duplicate-code outcomes, which matters somewhat given the idempotent claim.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
There is a single parameter and schema coverage is 100%, so the schema already documents claimCode fully. The description adds only the origin of the code (admin-issued), not format, length, or single-use semantics, so this is the standard baseline rather than added value.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb (认领/claim) and resource (产品/product) plus the mechanism (认领码) and the source of the record (管理员/爬虫预录). That source detail separates it from create_product and from sibling claim tools such as claim_organization_profile and claim_creator_by_token.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Makes clear this applies only to already-recorded products that someone else entered, and that the claim code normally comes from an admin, so an agent knows the precondition. It never names an explicit alternative (e.g. use create_product when no record exists) or states what to do with an invalid code, so guidance stops short of full when/when-not coverage.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.