Skip to main content
Glama
kleinanzeigen-mcp

kleinanzeigen-mcp

by expositions

orte_suchen

Resolve a city, district, postal code, or state into Kleinanzeigen location IDs, returning matching ID-name pairs so you can search offers for the correct place.

Instructions

Ort (Stadt, Stadtteil, PLZ oder Bundesland) in Kleinanzeigen-Orts-IDs auflösen.

Gibt eine Liste von {ort_id, name} zurück, bestes Ergebnis zuerst, z. B. "Leipzig" → 4233 (Leipzig - Sachsen). Die ID wird bei angebote_suchen als ort_id verwendet.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "name": "<name>"
    },
    "name": "orte_suchen"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A4.2/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does disclose that multiple results are returned with best match first and formats them as {ort_id, name}, implying partial/fuzzy matching, but says nothing about empty-result behavior, ambiguity handling, auth needs, or rate limits. The read-only nature is only implied by the resolution framing.

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?

Two compact sentences plus an example, front-loaded with the action and immediately followed by the return shape and the downstream consumer. Every sentence carries distinct information with no filler.

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 one-parameter resolver with an output schema, the definition covers input semantics, output ordering, and integration with the sibling search tool. Missing only edge-case behavior (no match, multiple close matches), which is a minor gap given the output schema documents the return structure.

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?

Schema coverage is 0% and the schema only constrains the string length (2–80), so the description must supply meaning. It does: the single `name` parameter accepts a city, district, postal code, or federal state, reinforced by a concrete worked example. It does not clarify accent/spelling tolerance or partial-name behavior, keeping it below 5.

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?

Names a specific verb ('auflösen') and a specific resource (Ort → Kleinanzeigen-Orts-ID), and enumerates the accepted location granularities (Stadt, Stadtteil, PLZ, Bundesland). The example '"Leipzig" → 4233' makes the transformation unmistakable and separates it from siblings like angebote_suchen, which consumes the output rather than producing it.

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?

Explicitly states the downstream use: the returned ID is passed to `angebote_suchen` as `ort_id`, which tells the agent this is a prerequisite resolution step. It stops short of explicit when-not guidance (e.g., what to do if multiple or zero matches are returned), so it falls just below the top band.

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