Skip to main content
Glama

get_category_tree

Retrieve the Toco category taxonomy, optionally drilling into a specific department by slug, to obtain UUIDs for searching products, vehicles, and properties. Use depth to control hierarchy levels.

Instructions

Browse Toco's category taxonomy and get the UUIDs that search_products, search_vehicles, and search_properties accept as departmentId / categoryIds. Start with depth 1 for the department list, then drill into one department by slug.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
depthNoHow deep to render: 1 = departments, 2 = + categories, 3 = + types (default: 1). The full tree is large, so widen this only after narrowing by department.
departmentNoDepartment slug to drill into, e.g. "fashion-pria". Omit for all departments.

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv1.0.0

TDQS

A4.4/5.0
Behavior4/5

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

No annotations are present, so the description carries the burden. It clearly indicates a read-only browsing/getting behavior and describes the depth/department navigation model. It does not mention response format or error behavior, but the core behavior is transparent.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

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

The description is concise and well structured, with two sentences that convey purpose, consumers, and navigation workflow without extraneous detail.

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?

Given no output schema, the description gives enough context for an agent to select and start using the tool: it names downstream consumers, explains depth/department parameters, and suggests a starting workflow. It could include response shape hints, but this is not critical for initial selection.

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?

The schema already fully describes both parameters, so baseline is 3. The description adds workflow semantics by instructing to start at depth 1 and drill into a department by slug, clarifying how the parameters relate to navigation.

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?

Clearly identifies the tool's purpose: browsing Toco's category taxonomy to obtain UUIDs used by three search tools. The verb 'Browse' and resource 'category taxonomy' are specific, and it differentiates from sibling search tools by being the source of their ID parameters.

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

Usage Guidelines4/5

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

Provides practical usage context by specifying a workflow: start at depth 1 for departments, then drill into a department by slug. It connects the output to downstream search tools, though it does not explicitly contrast with alternative sibling tools.

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

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/bintangtimurlangit/toco-mcp'

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