Skip to main content
Glama

独行录 / opcmenu

确认完成需求

complete_need

登录;仅认领会话确认本人实际完成,作者/认领人均确认才完成,看authorDone/claimerDone。403非参与者、409无认领/完成/关闭禁重试。get_conversation_needs→确认→complete_need。

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": {
      "needId": "<needId>",
      "conversationId": "<conversationId>"
    },
    "name": "complete_need"
  }
}

Input Schema

NameRequiredDescriptionDefault
needIdYes需求 id
conversationIdYes接洽会话 id(contact_need 返回的那个)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / conversationId / description
      Previous value: -"接洽会话 id(contact_need 返回的那个)"New value: +"接洽会话 id(contact_need 返回的那个)"
  2. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations only supply destructiveHint=false, so the description carries most of the burden and does well: it discloses login/authentication requirement, the two-sided mutual-confirmation model, the state fields to inspect, and precise error semantics (403/409) including retry advice. It does not describe the success response body, which is the main remaining gap.

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?

Extremely compact and front-loaded with preconditions (login, participant-only) before error codes and the workflow arrow sequence. The telegraphic semicolon style is dense but every clause carries operational information; no filler.

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 two-parameter mutation with no output schema, the description covers auth, eligibility, the mutual-confirmation state model, error handling, and the prerequisite discovery step. The only missing piece is what a successful call returns or how the caller should verify completion afterward.

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 coverage is 100% and conversationId is already documented as the id returned by contact_need, so the schema does the heavy lifting. The description adds only indirect meaning via '认领会话' (the claiming conversation), which maps loosely to conversationId; it adds no format or constraint detail beyond the schema.

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 action (confirming completion of a need) and explains the mechanism: only the conversation that claimed the need may confirm, and both author/claimer flags (authorDone/claimerDone) must be set. It is clearly distinguishable from siblings like cancel_need or reopen_need, though it does not explicitly contrast against them.

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 states a concrete workflow (get_conversation_needs → confirm → complete_need) and gives exclusion conditions: 403 for non-participants, and 409 when there is no claim or the need is already completed/closed, with an explicit 'do not retry' instruction. It stops short of naming alternative tools for the non-confirmation paths.

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