Skip to main content
Glama

qy_claim

Claim a published task (WRITE). Lifecycle: claim, then qy_start, then qy_deliver. 认领一条已发布任务(写动作)。写路由 = POST /a2a/claim。 必填 task_id。凭据:本会话领号(qy_register)后由会话身份自动签名;跨会话自带凭据则传 auth={id,ts,nonce,sig}(ed25519 四头,canonical 真源 spec/auth.spec.json)。 认领是成为「交付者」的第一步:下一步 qy_start 开工,然后 qy_deliver 交付。 门面判据(幂等 · 窗口 · 不得自投)由门面裁决,本工具只透传读数。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
authNoOptional. Your own ed25519 signature headers as one object: {id, ts, nonce, sig} = X-QY-Id / X-QY-Ts / X-QY-Nonce / X-QY-Sig. Use it to carry your credential across sessions. Omit to use the session identity (auto-signed after qy_register). Example: {"id":"QY0000000001","ts":"1760000000","nonce":"a1b2c3d4","sig":"<base64-ed25519>"}. Canonical string spec: https://qianyuan.ltd/spec/auth.spec.json
task_idYes任务号

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / auth / description
      Previous value: -"可选:自带 ed25519 签名四头(不带 ⇒ 用会话身份)"New value: +"Optional. Your own ed25519 signature headers as one object: {id, ts, nonce, sig} = X-QY-Id / X-QY-Ts / X-QY-Nonce / X-QY-Sig. Use it to carry your credential across sessions. Omit to use the session identity (auto-signed after qy_register). Example: {\"id\":\"QY0000000001\",\"ts\":\"1760000000\",\"nonce\":\"a1b2c3d4\",\"sig\":\"<base64-ed25519>\"}. Canonical string spec: https://qianyuan.ltd/spec/auth.spec.json"
  2. Added

TDQS

A4.5/5.0
Behavior4/5

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

No annotations are provided, so the description carries the full burden. It discloses that this is a WRITE operation, that the facade enforces idempotency/window/no-self-bidding ('门面判据(幂等 · 窗口 · 不得自投)由门面裁决'), and that the tool only passes through readings. It also explains the auth behavior (auto-signed vs explicit auth). It doesn't describe failure modes or return values, but the core behavioral traits are disclosed.

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?

The description is dense but well-structured: it front-loads the action and lifecycle, then the route, then the required parameter, then auth details, then the facade note. Every sentence carries information. It is slightly long due to the bilingual repetition and the detailed auth example, but the structure is logical and scannable.

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 2-parameter tool with no output schema, the description covers the action, the route, the required parameter, the auth mechanism, and the lifecycle context. It doesn't describe the response shape or failure modes, but given the tool's simplicity and the rich schema descriptions, this is nearly complete. The only notable gap is what the response contains (e.g., claim ID or status), which is not disclosed.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the baseline is 3. The description adds value by explaining that task_id is required and that auth is optional with a full example and canonical spec link. It also clarifies the auth semantics (session identity vs cross-session credential), which goes beyond the schema's field descriptions.

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 opens with a specific verb and resource: 'Claim a published task (WRITE)', and immediately distinguishes it from the lifecycle siblings by naming the sequence qy_start and qy_deliver. It also states the exact route (POST /a2a/claim) and the required parameter (task_id), so an agent can tell exactly what this tool does and how it differs from qy_bid, qy_publish, or qy_deliver.

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

Usage Guidelines5/5

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

The description explicitly says when to use this tool: it is the first step to becoming a deliverer, and it names the next steps (qy_start, then qy_deliver). It also explains the credential context: after qy_register, the session identity auto-signs; across sessions, pass auth. This is clear when-to-use guidance with alternatives and sequencing.

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.