Skip to main content
Glama

Amazon category details

category_info
Read-only

Retrieve Amazon category names, parent and child categories, and stats by category ID to analyze marketplace taxonomy.

Instructions

Name, parent, children and stats for category IDs (0 = all root categories). From ~$0.005.

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": {
      "category": "<category>"
    },
    "name": "category_info"
  }
}

Input Schema

NameRequiredDescriptionDefault
domainNoAmazon marketplace, default us
parentsNo
categoryYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.1

TDQS

A3.6/5.0
Behavior4/5

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

Annotations cover the safety profile (readOnlyHint, openWorldHint), and the description adds two things not in structured fields: the price point ('From ~$0.005') and the shape of the result (name, parent, children, stats), which matters because there is no output schema. It does not mention whether the call is billed per ID or per request, or any rate limits, but the cost signal is a real value-add beyond annotations.

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?

Two compact fragments, front-loaded with the returned fields before the cost note. Nothing is wasteful, though the telegraphic style leaves the reader inferring the operation and omits a connective sentence about what the tool actually does.

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?

This definition does a good job with the schema and annotation context: three parameters, one required, no output schema, and read-only/open-world annotations already set expectations. The description covers the return fields, the special ID value, and the price, so the main remaining gap is the `parents` flag, which does not outweigh the completeness of the whole definition.

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 schema documents just the domain enum; the description compensates for `category` by explaining that 0 returns all root categories. However, the `parents` boolean is undocumented in both the schema and the description, leaving one of three parameters with no meaning attached 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?

The description names the resource (Amazon category details) and enumerates what is returned for a category ID: name, parent, children and stats. That is a specific, recognizable verb-less but clear fetch operation. It stops short of distinguishing itself from the sibling search_categories, so it falls short of a 5.

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

Usage Guidelines2/5

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

There is no explicit statement of when to use this tool versus search_categories or get_products. The only usage-like hint is '0 = all root categories', which tells the agent how to enumerate roots but not when this tool is the right choice. Using an ID-based lookup rather than a keyword search is left to be inferred.

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