Skip to main content
Glama
willhaben-mcp

willhaben-mcp

by Samxel

get_ad_images

Read-only

Fetch photos from a willhaben ad to inspect condition, damage, completeness, labels, or screen details when the answer depends on what the item looks like.

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" (900x1200, about nine 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
Behavior5/5

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

Annotations only declare readOnlyHint and openWorldHint; the description adds genuinely new behavior: the result is viewable images, capped at 10 ("at most 10"), defaults to 4, and that detail="high" costs about nine times the tokens. The resolution figures (300x400 vs 900x1200) let an agent reason about cost and suitability before calling.

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 the when-to-use rule, then a compact Args block for each parameter. The prose is slightly conversational ("images you can look at") and mixes paragraph and list styles, but no sentence is filler.

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

Completeness5/5

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

With no output schema and no schema field descriptions, the definition still covers what is returned (images), at what resolution, at what cost, how many, and when the visual content matters. No significant gap remains for an agent deciding whether and how to call it.

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: ad_id is sourced ("The ad id from a search"), max_images has a default and a hard ceiling, and detail's enum values are explained with resolutions and their practical tradeoff. This is meaning an agent cannot get from the bare schema.

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?

The description states a concrete resource and output form: "The ad's photos as images you can look at," which tells an agent this returns viewable images rather than metadata. It implicitly separates itself from metadata siblings (detail/seller) by scoping use to visual questions, but never names or contrasts a sibling tool explicitly.

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?

It gives a clear, actionable trigger: "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." It also routes between detail levels (low for condition/completeness, high for small print). It stops short of stating when not to call this tool or naming alternative tools to prefer.

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