Skip to main content
Glama

独行录 / opcmenu

认领产品

claim_product
Idempotent

登录;凭管理员认领码认领预录产品到本人,立即发布、后审。

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": {
      "claimCode": "<claimCode>"
    },
    "name": "claim_product"
  }
}

Input Schema

NameRequiredDescriptionDefault
claimCodeYes认领码

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations only declare idempotency and non-destructiveness; the description adds genuinely new behavioral facts: authentication is required, the code must be an administrator claim code, the product publishes immediately upon claiming, and human review happens afterwards. The immediate-publish side effect is the single most important thing an agent needs to know before calling. It does not say what happens on an invalid or already-used code, which would have pushed it higher.

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?

A single compact clause chain where each segment carries distinct information: login requirement, the code, the target, the immediate publish, the deferred review. Nothing is repeated, and the prerequisite is front-loaded. It is telegraphic, but for a one-parameter tool that is appropriate rather than deficient.

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 one-parameter, non-destructive, idempotent tool with no output schema, the description covers the prerequisites, the action, and the post-action consequence. The only real omission is error or duplicate-claim behavior, which is minor at this complexity.

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 one parameter with 100% schema description coverage, so the schema already explains claimCode. The description adds only that the code is administrator-issued and tied to a pre-recorded product, which is a modest semantic gain over the schema's '认领码'. Baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific verb (claim) and resource (a pre-recorded product), plus the mechanism (an admin claim code) and the effect (transferred to the caller and published immediately). That is enough to separate it from siblings such as claim_creator_by_token or claim_organization_profile, which target different entities. It stops short of 5 only because it never explicitly contrasts itself with those siblings.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied rather than stated: the agent can infer it needs an authenticated session and an admin-issued claim code, and that this is the path for pre-recorded products. There is no explicit 'use this instead of X' routing and no stated precondition failure behavior.

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