Skip to main content
Glama

搜索商品

search_products
Read-onlyIdempotent

Search and browse AI membership and CDK products by keyword, category, and sort order to find pricing, stock notes, and purchase links in paginated results.

Instructions

搜索或浏览 ZeroAi 的 AI 会员与 CDK 商品。可按关键词、分类和排序分页。返回价格、库存说明、购买链接和简短说明。不返回评价。质保订阅,不保封号。

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "search_products"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNo页码,从 1 开始,默认 1
sortNo排序:default、newest、sales、price_asc、price_desc
keywordNo关键词,例如 ChatGPT Plus 或 Grok
page_sizeNo每页数量,默认 10,最大 20
category_idNo分类 ID,来自 list_categories

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint, idempotentHint, destructiveHint=false, openWorldHint), so the description is not burdened with that. It nonetheless adds real value beyond them: it enumerates the returned fields (价格、库存说明、购买链接、简短说明), states an explicit exclusion (不返回评价), and carries a commercial caveat ('质保订阅,不保封号') that an agent would otherwise have no way to know. Pagination behavior is only alluded to and output format is not described in detail, keeping it off a 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Four short sentences, front-loaded with what the tool is and what it returns, then the exclusion, then the caveat. No filler, no restatement of the tool name, and every sentence carries information the agent cannot get from the schema or annotations.

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?

There is no output schema, so the description must describe returns — and it does, listing price, stock note, purchase link and summary, plus the explicit omission of reviews. All five parameters are fully documented in the schema, so no parameter gap remains. The only shortfall is the missing routing guidance against the five sibling tools.

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 description coverage is 100%, so page, page_size, sort, keyword, and category_id are all already documented in the schema with defaults, max lengths and enum values. The description only restates that keyword/category/sort/pagination are available as dimensions and adds no format or syntax detail beyond the schema. 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?

States a specific verb pair (搜索/浏览) and a specific resource (ZeroAi AI 会员 与 CDK 商品), plus the filter dimensions (关键词、分类、排序、分页). It also carves out scope negatively ('不返回评价'), so an agent knows this is a catalog search, not a review lookup. It stops short of naming a sibling such as get_product or list_categories, so sibling differentiation is only partial.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

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

Usage is implied by the filter list: this is the tool to reach for when the agent has a keyword, category, or sort preference. But there is no explicit 'use this instead of X when Y' guidance, and no statement about when browsing should defer to get_product or check_stock. The category_id parameter notes it comes from list_categories, which is the only cross-tool routing hint.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.