Skip to main content
Glama

独行录 / opcmenu

重新展示我的需求

reopen_need
Idempotent

登录;免费反复恢复本人手动下架需求,配unpublish_need。403 not_your_need;取消/完成409 need_closed须create_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>"
    },
    "name": "reopen_need"
  }
}

Input Schema

NameRequiredDescriptionDefault
needIdYes需求 id

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations only declare idempotentHint=true and destructiveHint=false, and the description goes well beyond that by disclosing the login requirement, zero cost, unlimited repeatability, the ownership restriction, and the concrete 403/409 failure modes with their resolution paths. The one gap is that it doesn't say what state the need returns to (for example, whether it re-enters matching or review).

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?

Dense, front-loaded, and free of filler, with the happy path first and error conditions after. The telegraphic, semicolon-joined style is efficient but slightly cryptic, so the auth and cost clauses take a moment to parse.

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 single-parameter, idempotent, non-destructive state-change tool with no output schema, the description covers authentication, cost, repeatability, ownership, and both failure modes plus their remedy. Nothing an agent needs in order to call it correctly or recover from an error is missing.

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 coverage is 100% (single needId, documented as "需求 id"), so the baseline is 3. The description adds real semantic constraint on that parameter: the id must refer to a need owned by the caller (403 not_your_need) and must be in a manually unpublished state, not closed (409 need_closed), which tells the agent how to pre-validate before calling.

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 names a specific verb and resource in "恢复本人手动下架需求" (restore my own manually unpublished need) and immediately bounds the scope: needs that were cancelled or completed are excluded, and create_need is the alternative. An agent can distinguish this from unpublish_need, create_need, and cancel_need without opening any schema.

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?

It gives the when (restore a need you manually took down, repeatably, at no cost), the pairing with unpublish_need as the counterpart action, and explicit when-not conditions mapped to error codes: 403 not_your_need for needs you don't own, and 409 need_closed for cancelled or completed needs, which require create_need instead. Alternatives and exclusions are both stated.

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