Skip to main content
Glama

独行录 / opcmenu

确认完成需求

complete_need

【需要登录】只对认领会话声明本人已完成,先确认事实;作者/认领人各确认,双方齐才完成,看authorDone/claimerDone。403非参与者,409无认领/已完成/需求关闭均勿重试。【组合链】get_conversation_needs→确认→complete_need。

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Adds substantial context beyond annotations: the two-party confirmation semantics, the authorDone/claimerDone state fields, and precise non-retry conditions for 403/409. Neither the annotations nor schema convey any of this.

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?

Front-loaded with the auth tag and core gating rule, then error codes, then the chain. Dense but every clause carries actionable meaning; slight compactness in the chain notation costs a little readability.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a non-idempotent mutation with no output schema, the description covers auth requirement, prerequisite (claimed session), error semantics, and the surrounding workflow — everything an agent needs to invoke it safely.

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 the schema already documents both parameters (needId, conversationId, including that conversationId comes from contact_need). The description adds no per-parameter detail, which is the correct baseline 3 at full coverage.

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?

States a specific verb (confirm completion) targeting the caller's own claimed session, and distinguishes from cancel_need/reopen_need by describing the mutual two-party completion mechanism (authorDone/claimerDone).

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?

Explicit when-to-use (only one's own claimed session, confirm facts first), explicit error handling guidance (403 non-participant, 409 no claim/already done/need closed — do not retry), and an explicit combination chain get_conversation_needs→confirm→complete_need.

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