Skip to main content
Glama
kleinanzeigen-mcp

kleinanzeigen-mcp

by Samxel

get_ad_images

Read-only

Fetch up to 10 photos for a Kleinanzeigen ad to inspect item condition, damage, completeness, labels, or screen details; choose low or high detail for small print.

Instructions

The ad's photos as images you can look at, up to max_images (at most 10). Use them whenever the answer depends on what the item looks like: condition, damage, completeness, or details only a picture shows, such as a label or a screen.

Args: ad_id: The ad id from a search. max_images: How many photos to fetch. Default 4. detail: "low" (300x400, enough for condition and completeness) or "high" (720x960, about six times the tokens) to read small print such as a label, serial number or screen.

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": {
      "ad_id": "<ad_id>"
    },
    "name": "get_ad_images"
  }
}

Input Schema

NameRequiredDescriptionDefault
ad_idYes
detailNolow
max_imagesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.5/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 must carry the behavioral load, and it does: it discloses a hard cap of 10 images, the returned form is images rather than text, and the detail levels carry a token-cost implication ('about six times the tokens'). It does not mention what happens when the ad has fewer images than requested.

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?

Front-loads purpose and the decision rule before the arg list, with no filler; the resolution and token-cost details are exactly the information an agent needs to choose a detail level.

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?

No output schema exists, and the description compensates by stating the return form and the image-count ceiling, so an agent can call it correctly. Minor gaps remain on edge cases such as ads with fewer photos than max_images.

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 must explain all three params, and it does: ad_id's origin ('from a search'), max_images' meaning and default of 4, and detail's two enum values with concrete resolutions and guidance on which visual tasks need which level.

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: it returns the ad's photos as viewable images, capped at max_images (max 10). The phrase 'as images you can look at' distinguishes it implicitly from the text-oriented get_ad_detail sibling.

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?

Gives explicit trigger conditions: use it whenever the answer depends on visual facts such as condition, damage, completeness, labels, or a screen. It does not name an alternative tool or state when not to use it, which keeps it short of a 5.

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