Skip to main content
Glama

搜尋商品

search_listings
Read-only

搜尋可買的商品,全新與二手都有。關鍵字以空白分隔,全部符合才列出。

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_listings"
  }
}

Input Schema

NameRequiredDescriptionDefault
qNo
pageNo
sortNo
is_newNo選填。true 只找全新品,false 只找二手。
locationNo
max_priceNo
min_priceNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / is_new
      Added value: +{
      +  "description": "選填。true 只找全新品,false 只找二手。",
      +  "type": "boolean"
      +}
  2. First observed

TDQS

B3.2/5.0
Behavior3/5

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

readOnlyHint=true already declares this is a safe read. The description adds genuinely new behavioral facts: results are limited to items that can actually be bought, and multi-keyword queries use AND semantics (全部符合才列出) rather than OR. It says nothing about pagination, default sort, result size, or ordering, which are the remaining behavioral unknowns.

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?

Two short sentences, no filler. The scope statement comes first, then the keyword matching rule — front-loaded and every clause carries information the agent needs.

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

Completeness2/5

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

Seven optional parameters, no output schema, and near-zero schema descriptions make this a tool where the description should do more. It covers the query semantics well but omits how paging works, what order results arrive in, and how price/location filters behave — gaps the agent cannot resolve from structured fields.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is only 14% (is_new is the sole documented property), so the description must carry the load. It does explain the `q` format (space-delimited) and its AND matching rule, and '全新與二手都有' implies is_new is unset by default — but page, sort, location, min_price and max_price receive no meaning at all, leaving five of seven parameters undocumented anywhere.

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 (搜尋可買的商品) and adds scope: both new and second-hand are included. It does not name or differentiate itself from siblings such as list_my_listings or get_listing, so the agent must infer the boundary, but the core purpose is unmistakable.

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?

Provides implied usage context by saying it searches *purchasable* items, which distinguishes it from browsing one's own listings, and explains the keyword matching rule. It never states when to prefer it over an alternative, nor any exclusion ('use X instead when...'), leaving routing to inference.

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.