Skip to main content
Glama

独行录 / opcmenu

搜需求

search_needs
Idempotent

关键词+向量搜公开在架需求含作者canOffer;空非线下无供给。get_need→contact_need→send_message;本人list_my_needs。

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": {
      "q": "<q>"
    },
    "name": "search_needs"
  }
}

Input Schema

NameRequiredDescriptionDefault
qYes搜索查询,自然语言或关键词
limitNo返回条数,默认 20

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / limit / description
      Previous value: -"返回条数,默认 20"New value: +"返回条数,默认 20"
    • changedInput schema / properties / q / description
      Previous value: -"搜索查询,自然语言或关键词"New value: +"搜索查询,自然语言或关键词"
  2. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare idempotentHint=true and destructiveHint=false, so the safety profile is covered. The description adds scope context (only public/on-shelf needs, results carry author canOffer), but says nothing about result ordering, empty-result behavior in plain terms, or rate limits — '空非线下无供给' gestures at empty-result semantics without explaining them.

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?

Very short and front-loaded — search scope first, then the workflow chain, then the sibling exclusion. The arrow notation is efficient. The cost is telegraphic phrasing that leaves one clause ambiguous, but no sentence is wasted.

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

Completeness3/5

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

For a 2-parameter search with full schema coverage and existing annotations, the essentials are present: what is searched, what comes back (canOffer), and what to do next. With no output schema, the description should describe the result shape more concretely, and the opaque clause about empty results leaves a gap an agent will have to discover by calling.

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 both parameters (q, limit) are documented there, so the baseline is 3. '关键词+向量' hints that retrieval is hybrid, but the schema already tells the caller q accepts natural language or keywords, so the description adds little beyond it.

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?

States a specific verb and resource: keyword+vector search over publicly listed (在架) needs, and notes the author's canOffer is included in results. It distinguishes itself from list_my_needs in the same sentence. The trailing clause '空非线下无供给' is too compressed to decode with confidence, which keeps it from a 5.

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?

Explicitly routes the agent: get_need → contact_need → send_message is the follow-up chain after a hit, and 本人 (one's own needs) belongs to list_my_needs. That is real alternative-pointing. What is missing is any when-not guidance, e.g. when to prefer find_customer_needs or the feed tools over this search.

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