Skip to main content
Glama

browse_categories

Browse the MISUMI category tree to locate category codes for search_parts; call without arguments for top-level categories or with a code to list subcategories and leaf status.

Instructions

瀏覽 MISUMI 的分類樹,找到 search_parts 要用的分類代碼。

不帶參數:回傳大分類,各自附上下一層的子分類(代碼與名稱)。 指定分類代碼:回傳該分類的直接子分類(代碼與名稱)和 is_leaf。is_leaf 只對你指定的 這個分類有意義;子分類是不是最底層,要以它的代碼再呼叫一次才知道。 is_leaf 為 true 的分類是最底層,可以直接當 search_parts 的 category_code。

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": "browse_categories"
  }
}

Input Schema

NameRequiredDescriptionDefault
category_codeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

A4.7/5.0
Behavior4/5

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

With no annotations and no output schema, the description carries the burden and does so well: it discloses the return shape (codes and names), the is_leaf field, and the subtle caveat that is_leaf describes only the category you queried, not its children. It does not mention authentication, rate limits, or error behavior for invalid codes, which keeps it from 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.

Conciseness4/5

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

Front-loaded with the purpose, then split cleanly into the no-parameter and with-parameter cases. The is_leaf caveat is restated across two sentences and could be tightened, but the repetition guards against a real misinterpretation.

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

Completeness5/5

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

For a single optional-parameter read tool with no annotations and no output schema, the description covers traversal mechanics, return contents, and the leaf-detection rule. An agent can drive the whole recursion correctly without opening the schema.

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

Parameters5/5

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

Schema coverage is 0% and the schema only labels the parameter 'Category Code' as an optional nullable string. The description supplies the entire operational meaning: absent means root level, present means that node's direct children, and it warns that is_leaf refers to the queried node rather than its children.

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?

States a specific verb and resource (browse MISUMI's category tree) and names the downstream consumer of the result (search_parts's category_code). That immediately distinguishes it from search_parts, get_series, and the other siblings in the catalog.

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

Usage Guidelines5/5

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

Gives explicit branch-by-branch guidance: omit the parameter for top-level categories, pass a code to drill into direct children, and call again with a child's code to determine whether that child is a leaf. It also states the terminal condition where the result can be handed straight to search_parts.

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