Skip to main content
Glama

独行录 / opcmenu

搜索 OPC 产品

search_products
Idempotent

自然语言混合搜产品,扩词/重排有LLM成本且可降级;站点自身功能不在产品索引,空勿编。slug→get_product→get_creator;人/需求另用search_people/search_needs。

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

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

TDQS

A4.3/5.0
Behavior5/5

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

Beyond the annotations, which only cover safety and idempotency, the description discloses that query expansion and reranking carry LLM cost and can degrade/fall back, that the site's own features are not in the product index, and that empty results should not be fabricated. These are exactly the operational traits an agent cannot infer from idempotentHint and destructiveHint=false.

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?

It is very short and front-loads the core purpose before the routing and cost caveats. However, the telegraphic style ('空勿编', the arrow chain 'slug→get_product→get_creator') compresses meaning in a way that costs some readability, even if no sentence is wasted.

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 search tool with no output schema, coverage is strong: purpose, cost, degradation, index scope, empty-result policy, and follow-up chain are all present. The remaining gap is that the fallback/degradation behavior is asserted rather than explained, leaving the agent unsure what a degraded result looks like.

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% for the two parameters, so q and limit are already documented with types, bounds, and defaults. The description implies that q accepts natural-language phrasing, which adds a little meaning, but it says nothing about limit or result paging. Baseline 3 applies when the schema carries the parameter burden.

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 states a specific verb and resource ('自然语言混合搜产品' – natural-language hybrid product search) and immediately scopes it against siblings by naming search_people and search_needs as the tools for people/needs. An agent can distinguish this from list_products and search_all 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 Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives explicit routing advice: use search_people/search_needs for people and needs, and follow the slug→get_product→get_creator chain to drill into a result. It stops short of distinguishing this from other product-listing siblings such as list_products or list_products_discover, so the when-not guidance is partial.

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