Skip to main content
Glama
pangolinfo

PangolinFo Amazon Ad Tracker & Review Intelligence

Official
by pangolinfo

get_category_paths

Converts Amazon category IDs into readable breadcrumb paths (e.g., Electronics > Headphones > Over-Ear Headphones) for reports and analysis.

Instructions

[Amazon 类目面包屑解析] 批量把 categoryId 还原成完整路径(如 'Electronics > Headphones > Over-Ear Headphones')。 Use when: 报告/分析里需要展示类目上下文(不是裸 ID);用户只有一组数字 ID 想知道它们叫什么;多个类目对比时需要可读名字。 Don't use: 只有一个 ID 时其实用不上(其他 tool 返回里通常已带 browseNodeNamePath);想看类目树结构(用 get_category_children)。 Returns: data.items[{ categoryId, categoryName, categoryNameCn, browseNodeNamePaths[], browseNodeNamePathCns[] }] —— 输入数组多大就返回多大。 Pair with: ↑ categoryIds 从任何前一步拿(filter_niches/filter_categories 的输出、用户粘的 ID 列表);↓ 主要给人看,下游链路通常不依赖。 Cost: ~1 积点/次, ~2s(批量解析比单调多次便宜)。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
categoryIdsYes要解析完整路径的类目 ID 列表。Examples: ['2619526011'] (Appliances) / ['172282', '11965861'] (Electronics + Musical Instruments)。
siteNoAmazon 站点。默认 amz_us(美国站)。amz_us
Behavior5/5

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

No annotations provided, but the description discloses key behaviors: batch parsing, return structure (data.items with fields), cost (~1 point, ~2s), and that output size matches input array. It explains what the tool does and its efficiency, making the behavior fully transparent.

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?

The description is organized into clear sections (use when, don't use, returns, pair with, cost) and is well front-loaded. While slightly lengthy, every sentence adds value and there is no redundancy. A minor trim could be possible, but structure is effective.

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?

Despite no output schema, the description details the return structure thoroughly. It covers behavior, cost, pairing with other tools, and typical use cases. For a simple tool with 2 parameters, this is comprehensive and leaves no gaps for agents to misunderstand.

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

Parameters4/5

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

Input schema has 100% coverage, so baseline is 3. The description adds value beyond schema by clarifying the purpose of categoryIds (converting to full path), providing examples, and explaining the site parameter's default. This extra context justifies a 4.

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 explicitly states the tool's purpose: batch convert category IDs to full breadcrumb paths, with a clear example. It differentiates from sibling tools like get_category_children and notes that other tools may already include the path, so the purpose is specific and distinct.

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?

Provides explicit when-to-use (reports, analysis, multiple IDs), when-not-to-use (single ID, tree structure), and alternatives (get_category_children). Also suggests pairing with upstream tools (filter_niches/filter_categories) and downstream use (human consumption), offering comprehensive usage guidance.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/pangolinfo/pangolinfo-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server