Skip to main content
Glama

独行录 / opcmenu

下架我的需求

unpublish_need
Idempotent

登录;本人需求可逆下架,状态/接洽不变、不删;接洽/时间不自动下架。reopen_need免费反复恢复。403 not_your_need,取消/完成409 need_closed。

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>"
    },
    "name": "unpublish_need"
  }
}

Input Schema

NameRequiredDescriptionDefault
needIdYes需求 id

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Beyond the supplied idempotentHint/destructiveHint, it discloses the key behavioral facts an agent cannot guess: the take-down is reversible, status and contact relationships are preserved, the record is not deleted, and contact/time events do not auto-unpublish the need. It also maps failure modes (403 not_your_need, 409 need_closed) to causes, which is exactly the extra context annotations leave out.

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 the auth/ownership precondition first and the critical 'reversible, not deleted' guarantee second. The semicolon-chained telegraphic style (403/409 codes packed into the final clause) is dense but every clause carries distinct information.

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 single-parameter state-changing tool this covers auth, ownership, reversibility, side effects, the restore path, and error conditions. The only omission is any statement about what the call returns, which is a minor gap given there is no output schema.

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 a single required parameter, needId, and the schema already documents it at 100% coverage ('需求 id'). The description adds nothing about the id's origin or format, so it neither compensates for nor improves on the schema – the 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 reversible operation on a specific resource ('本人需求可逆下架') and immediately delimits it against deletion ('不删') and against terminal state changes (409 need_closed for cancelled/completed needs). The one gap is that it never names the sibling delete_need explicitly, so the contrast is inferred from the phrase '不删' rather than stated as a routing rule.

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 gives clear preconditions (登录, and you must own the need – 403 not_your_need) and routes the user to reopen_need when they want to restore, including the note that restoring is free and repeatable. It does not explicitly say when to prefer cancel_need or complete_need instead, though the 409 need_closed clause implies those paths exist.

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