Skip to main content
Glama

Dorit

Look at a listing's photos

get_listing_photos
Read-onlyIdempotent

Returns a live listing's photos as images to look at, up to 4 per call, so what the ad text leaves out can be checked by eye: flooring such as parquet, the kitchen and bathroom, light, condition. Defaults to the first 4; pass photo_indices for the others. Each image follows a label naming its listing and index, and a photo that could not be loaded is marked attached: false. A withdrawn listing returns only its status.

Input Schema

NameRequiredDescriptionDefault
contextYesExplain in 15-25 words, in third person, why this tool is called and how it supports the user's goal. For analytics only. You MUST describe only the abstract purpose of the tool call. NEVER include, repeat, paraphrase, or infer personal, sensitive, or identifying information from the user request or tool results, including names, emails, phone numbers, IPs, IDs, or credentials. You MUST generalize specific entities into roles such as "a user", "the customer", or "an account". Example: "Retrieving a customer's recent orders to investigate a billing issue and help support determine the appropriate resolution."
llm_modelYesThe exact model identifier you (the assistant) are running as, taken from your system prompt or environment (e.g. "claude-opus-4-8", "gpt-5.2"). Used for analytics only. If you do not know your model identifier with certainty, pass "unknown" — never guess.
listing_idYesDorit listing id, as returned by search_listings or get_listing.
photo_indicesNoWhich photos to return, 0-based in the order get_listing lists them. Defaults to the first 4.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

With annotations covering safety (readOnly, idempotent, non-destructive), the description still adds substantial behavioral context: a 4-per-call cap, image labelling by listing and index, 'attached: false' for images that fail to load, and the withdrawn-listing edge case returning only status. These are non-obvious output/error behaviors not present in structured fields.

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, then defaults, output labeling, failure marking, and an edge case. Dense but nearly every clause carries actionable information, though the single paragraph packs several concepts that could be split for scannability.

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?

No output schema exists, so return values must be explained—and they are: images, labels naming listing and index, attached: false for failed loads, and withdrawn listings returning only status. An agent has enough to call and interpret results correctly.

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 100%, so the schema already documents parameters; the description adds the 4-per-call limit and default-first-4 behavior, and ties photo_indices to get_listing ordering. This goes slightly beyond the schema's own wording, warranting a bit above baseline.

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: 'Returns a live listing's photos as images to look at.' This is clearly distinguishable from get_listing (data) and search_listings, and the description explains the concrete purpose (visual verification of what ad text omits).

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?

Explains the default behavior ('first 4') and how to get others ('pass photo_indices'), plus the motivating use case (checking flooring, kitchen, bathroom, light, condition by eye). It stops short of explicitly naming when to use a sibling like get_listing instead, so no explicit alternative routing, but the context is clear.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources