Skip to main content
Glama
kleinanzeigen-mcp

kleinanzeigen-mcp

by Samxel

get_ad_detail

Read-only

Retrieve full Kleinanzeigen ad details—complete description, labeled attributes like Zustand and Versand, category, location, shipping, seller, and image count—or fetch up to 10 ads at once for comparison.

Instructions

One ad in full: the complete description, attributes by their label ("Zustand", "Versand", ...), category, location, shipping options, seller and image_count. To compare several, pass up to 10 ids instead; they come back as {count, ads, failed}.

Args: ad_id: The ad id from a search. ids: Several ad ids, instead of ad_id.

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

Input Schema

NameRequiredDescriptionDefault
idsNo
ad_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations only declare readOnlyHint and openWorldHint, so the description carries the rest, and it does: it enumerates the returned fields and discloses the batch response shape {count, ads, failed}. The "up to 10 ids" cap is a real constraint not present in the annotations or schema, adding genuine behavioral value.

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 lead sentence is front-loaded with the payload and the Args block is short and scannable. The Args lines repeat the parameter names from the schema, but each adds information (source of the id, mutual exclusivity, cap), so little is wasted.

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?

With no output schema and only minimal annotations, the description compensates by describing the return contents and the batch envelope. Both parameters are covered despite 0% schema coverage; the only real gap is unspecified precedence when ad_id and ids are combined.

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%, so the description must do the work, and it does: ad_id is sourced ("from a search"), ids is defined as an alternative to ad_id, and a batch-size limit of 10 is stated where the schema has none. It stops short of saying what happens if both parameters are supplied, or whether either is required.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

"One ad in full" plus an enumeration of exactly what is returned (description, labeled attributes, category, location, shipping, seller, image_count) makes the resource and payload unambiguous. It separates itself from the search sibling by implication ("The ad id from a search"), but never names a sibling such as get_ad_images, so full differentiation is not spelled out.

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

Usage Guidelines3/5

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

Usage is implied rather than stated: the agent learns that ids come from a search and that passing up to 10 ids is the way to compare ads. There is no explicit when-not guidance and no routing to or away from siblings like get_ad_images or get_seller_info, leaving the agent to infer which tool to pick.

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