Skip to main content
Glama

list_categories

Read-only

Find Vinted category IDs by name or parent category, including subcategories, to filter item searches accurately.

Instructions

Find category ids for search_vinted. Returns {count, categories: [{id, path, has_children}]}.

Args: query: Part of a category name; searches the whole tree. parent_id: List the subcategories of this id. Omit both for the top level. limit: At most 100. Default 50.

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

Input Schema

NameRequiredDescriptionDefault
siteNoat
limitNo
queryNo
parent_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so safety is covered; the description adds useful behavior beyond that by disclosing the response structure ({count, categories: [{id, path, has_children}]}) and a hard ceiling of 100 on limit. It does not say what happens when a query matches nothing or whether results are truncated, which keeps it from a 5.

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?

Front-loaded with purpose and return shape, then a compact Args block with no filler. Every line carries information; only minor markdown noise (double backticks, indented continuation) slightly hinders scanning.

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

Completeness3/5

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

With four optional parameters and no output schema, the description does the right thing by specifying the return shape and the limit cap. But it omits the `site` parameter entirely and gives no indication of result ordering or how subcategory traversal terminates (has_children is returned but never explained), leaving real questions unanswered.

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 0%, so the description carries the full burden, and it explains three of the four parameters (query, parent_id, limit) in terms the schema does not. However, the `site` parameter is never mentioned at all, leaving the marketplace selection enum (default 'at') completely unexplained — a meaningful gap for a tool whose results are site-scoped.

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?

States a specific verb and resource ('Find category ids') and immediately names its consumer ('for ``search_vinted``'), which distinguishes it from siblings like list_filter_values or search_brands. It also declares the exact return shape, so an agent knows what it gets without opening a schema.

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?

The Args block gives concrete selection rules: use query to search the whole tree, use parent_id to drill into subcategories, and 'Omit both for the top level.' That is actionable guidance for the three modes. It stops short of any exclusion or comparison against alternatives such as list_filter_values, so no explicit when-not guidance exists.

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