Skip to main content
Glama
esaio

esa MCP Server

Official
by esaio

Get categories for a specific path

esa_get_categories
Read-only

Retrieve category information and subcategories for a specific category path, and optionally include posts or parent categories.

Instructions

Retrieves category information and subcategories for a specific category path, with optional posts and parent categories included

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageNoPage number (starts from 1)
selectYesCategory path to retrieve
includeNoAdditional information to include
perPageNoNumber of items per page
teamNameNoTeam name (required). Use esa_get_teams first to see available teams.
descendantPostsNoInclude descendant posts (only effective with include=posts)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.13.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is fully covered structurally. The description adds useful context about what is returned (subcategories plus optionally posts and parent categories), but says nothing about ordering, depth limits, or behavior when the path does not exist.

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 sentence with no filler, and the scope (specific category path) is front-loaded ahead of the optional inclusions. It is efficient and readable, though it could have spent one more clause on differentiation from siblings.

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

Completeness4/5

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

With no output schema, the description carries the burden of describing the return content, and it does so by naming category info, subcategories, and optional posts/parent categories. For a moderate six-parameter read tool this is reasonably complete, though pagination behavior (page/perPage) and error cases are left unaddressed.

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 description coverage is 100%, so all six parameters are already documented in the schema, making the baseline 3 appropriate. The description maps loosely to the 'include' enum (posts, parent categories) and descendantPosts, but adds no format, syntax, or default details beyond the schema.

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 a specific verb (retrieves) and resource (category information and subcategories) scoped to a specific category path, which is clearer than the terse title. It does not, however, differentiate itself from close siblings such as esa_get_top_categories or esa_get_all_category_paths, leaving the agent to infer the distinction.

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 by the phrase 'for a specific category path' – the agent can infer that this tool is for a single path rather than top-level or all paths. There is no explicit statement of when to use this versus esa_get_top_categories or esa_get_all_category_paths, and no prerequisites beyond what the schema already states.

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