Skip to main content
Glama

Kategori Ağacı (getCategoryTree)

trendyol_get_category_tree

Retrieves the Trendyol category tree filtered by keyword, returning only leaf subcategories for use in product creation. Weekly refresh recommended to ensure accurate data.

Instructions

Trendyol kategori ağacını döndürür. Ürün oluştururken YALNIZCA en alt seviye kategori (subCategories: []) kullanılabilir; alt kategorisi olan bir kategori ile ürün aktarılamaz. Kategori ağacı düzenli olarak güncellenir — güncel olmayan ağaç eksik/yanlış veri girişine yol açar; haftalık yenilemeniz önerilir. name parametresi, anahtar kelimenin geçtiği tüm seviyelerdeki kategorileri döndürür.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNoKategori adına göre anahtar kelime filtresi (ör. "shorts")
Behavior4/5

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

Discloses that the tree updates regularly and advises weekly refreshes to avoid errors. While it doesn't explicitly state read-only behavior, the description is sufficient for understanding expected behavior given no annotations are provided.

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?

Concise and front-loaded: first sentence states purpose, followed by essential usage rules and parameter behavior. Every sentence adds value without redundancy.

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?

Given the tool's simplicity (one optional parameter, no output schema), the description covers purpose, usage constraints, and parameter behavior completely. No additional information is necessary for correct invocation.

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

Parameters5/5

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

Adds significant meaning beyond the input schema by explaining that the 'name' parameter filters categories where the keyword appears at any level, which isn't fully conveyed in the schema description.

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 clearly states it returns the Trendyol category tree and specifies critical usage constraints (only leaf categories for product creation). It distinguishes itself from sibling tools by providing unique functionality not covered by other getters.

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?

Explicitly provides when to use (get category tree) and when not to (cannot use non-leaf categories for product creation). Recommends weekly refresh to maintain data accuracy, offering clear contextual 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/bevren/trendyol-market-mcp'

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