Skip to main content
Glama

Get product photos

get_product_photos
Read-onlyIdempotent

Fetch a product's gallery photos as URLs and optional embedded image data; set include_images=false to return URLs only.

Instructions

Get the product's gallery photos. Returns the photo URLs and, by default, the images themselves so they can be looked at directly. Set include_images=false to get only URLs.

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": {
      "product_id": "<product_id>"
    },
    "name": "get_product_photos"
  }
}

Input Schema

NameRequiredDescriptionDefault
max_photosNoMaximum number of photos to return.
product_idYesProduct id as returned by search_products.
marketplaceNoMarketplace id from list_marketplaces.kaspi
include_imagesNoEmbed the image data in the result, not just URLs.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, and open-world, so the safety profile is covered. The description adds genuinely useful behavior: images are embedded by default, which implies a heavier payload, and include_images=false is the escape hatch for URL-only results.

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?

Three short sentences, front-loaded with the purpose, then the return shape, then the key toggle. No filler or redundancy.

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, the description correctly carries the burden of describing return values (photo URLs plus embedded images). It is complete for calling the tool, though it says nothing about ordering or what happens when a product has no photos.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so all four parameters are already documented, including include_images and max_photos. The description reinforces the include_images default and its practical effect but adds little beyond the schema's own wording, so baseline 3 applies.

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 ("Get the product's gallery photos") and clearly distinguishes itself from siblings like get_product, get_product_offers, and get_product_reviews by naming the exact artifact returned.

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?

Explains the include_images toggle, which is parameter-level guidance rather than tool-selection guidance. It never says when to prefer this over get_product or when photos are unnecessary, so usage is only implied.

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