Skip to main content
Glama
kleinanzeigen-mcp

kleinanzeigen-mcp

by Samxel

list_categories

Read-only

Find Kleinanzeigen category IDs and paths for listing searches and category filters. Query part of a category path or omit it to list available categories up to a limit.

Instructions

Find category ids for search_kleinanzeigen and get_category_filters. Returns {count, categories: [{id, path}]}.

Args: query: Part of the category path, e.g. "pc-zubehör". Omit to list everything up to limit. limit: At most 100. Default 40.

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
limitNo
queryNo

Schema Changelog

Changes observed during successful MCP inspections.

  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?

Annotations already mark this as a non-destructive local read (readOnlyHint=true, openWorldHint=false), so the bar is lower; the description still adds the return shape ({count, categories:[{id, path}]}) despite there being no output schema, plus a hard cap of 100 for limit that the schema does not encode. It does not describe pagination or matching/case behavior, 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?

The definition is front-loaded: purpose and return shape come first, then parameter detail. The Args block is docstring-style and slightly verbose (double-backtick markup, line wrapping) but nothing is redundant.

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 two-parameter read-only lookup with no output schema, the description supplies what the structured fields do not: return shape, parameter semantics, and the limit ceiling. Minor gaps remain around how the path string is formatted and whether ids are stable across calls.

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?

Schema description coverage is 0%, so the description carries the full burden and does: query is defined as a partial category path with a concrete example ("pc-zubehör") and its omit behavior, and limit is given a maximum of 100 plus the default, adding a constraint absent from the schema. This is meaning that cannot be recovered from the schema alone.

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 gives a specific verb and resource ("Find category ids") and ties the output to concrete consumers (search_kleinanzeigen, get_category_filters), which distinguishes it from the siblings that consume its results. It also sketches the return shape, so an agent knows this is a lookup/helper tool, not a search tool.

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?

Usage is clearly framed as a prerequisite for two named sibling tools, and the query parameter documents the 'omit to list everything' case, which is the main branching decision. It stops short of an explicit exclusion (e.g., skip this call if you already have a category id), but the context is strong.

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