Skip to main content
Glama

Search categories

search_categories
Read-only

Fuzzy-search Amazon book categories by English or Chinese name/path; returns node_id, path and opportunity score.

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": {
      "query": "<query>"
    },
    "name": "search_categories"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
queryYes
storeNobooks = print books, kindle = Kindle eBooks

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so safety is covered. The description adds real value by disclosing the return shape (node_id, path, opportunity score) and the fuzzy-match nature, but says nothing about match/ranking behavior, result ordering, or what happens on zero matches.

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?

A single compact sentence that front-loads the verb and resource and appends the return contract. No filler; slightly dense but nothing extraneous.

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 read-only three-parameter search with no output schema, the description does supply the return fields, which is the most important gap to fill. It remains incomplete on result ordering, fuzzy-match tolerance, and the limit parameter's effect, which an agent needs to call it predictably.

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 only 33%, so the description must compensate. It does define the critical 'query' parameter well (English or Chinese name/path), but 'limit' and 'store' are not addressed in the description at all — 'store' is only covered by the schema itself, and limit/pagination semantics are unaddressed.

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 (fuzzy-search Amazon book categories) plus the query surface (English or Chinese name/path) and the returned fields. It reads clearly against siblings like get_category or recommend_categories, though it never explicitly names a differentiator.

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 only implied: an agent can infer this is the tool for name/path-based lookup rather than ID-based retrieval or recommendation. There is no explicit when-to-use statement, no when-not, and no pointer to an alternative such as recommend_categories or get_category.

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.