Skip to main content
Glama
esa MCP Server

esa MCP Server

Official
by esaio

Get top-level categories

esa_get_top_categories
Read-only

Retrieves all top-level categories for a team

Instructions

Retrieves all top-level categories for a team

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

Input Schema

NameRequiredDescriptionDefault
teamNameNoTeam name (required). Use esa_get_teams first to see available teams.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.15.1
    • removedInput schema / additionalProperties
      Removed value: -false
  2. First observedv0.13.0

TDQS

B3.2/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 covered. The description adds only the team scoping and the top-level constraint; it says nothing about ordering, filtering, or what a returned category contains.

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 front-loaded sentence with no filler; the resource and scope come first. It is efficient but arguably under-specified rather than deliberately minimal.

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?

For a simple, non-destructive, single-optional-parameter list tool with annotation coverage, this is close to sufficient. The remaining gap is the return shape (what fields a category exposes, flat list vs nested), which no output schema supplies.

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?

With one parameter and 100% schema description coverage, the schema already fully documents teamName, including the pointer to esa_get_teams. The description adds no meaning beyond that, which matches the baseline for a fully documented 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?

States a specific verb ('Retrieves') and resource ('top-level categories') with team scoping, so the operation is unambiguous. It doesn't explicitly distinguish itself from near-siblings like esa_get_categories or esa_get_all_category_paths, leaving the agent to infer the difference between 'top-level' and 'all paths'.

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?

The description offers no when-to-use guidance, no exclusions, and names no alternatives among the many category-related siblings. The only helpful routing hint ('Use esa_get_teams first') lives in the schema, not the description.

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