Skip to main content
Glama

Import the listing's photos

import_listing_photos
Idempotent

Download up to count (default 8, at most 10) of the listing's photos into the site's draft as images/listing-1.jpg, images/listing-2.jpg and so on, resized for the web. Returns each path with a short note of what is known about it (shape, who took it). Use these paths in with alt text that describes the photo plainly; do not claim a photo shows something you cannot see. A photo taken by a visitor is credited once, in one small line in the footer ("Photos: Ana, Joe"), not as a caption under the photo. Fails with a limit when the plan's storage is full.

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": {
      "site": "<site>",
      "place_id": "<place_id>"
    },
    "name": "import_listing_photos"
  }
}

Input Schema

NameRequiredDescriptionDefault
siteYesthe site's clay.site name (subdomain) or its id
countNohow many photos, default 8
place_idYesthe Google Maps place_id of the business

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already flag write (readOnlyHint=false), open-world, idempotent and non-destructive; the description adds substantive context beyond them – the draft write target and filename scheme, that files are resized, the shape of the return value (path plus shape/credit note), and an explicit failure mode when plan storage is full.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The operational core is front-loaded and clear, but a sizeable middle section is editorial style policy (alt-text rules, footer credit formatting) that dilutes an import tool's definition and would sit better in a design-guide tool.

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 only 3 fully documented params and no output schema, the description covers what an agent needs: where files land, how they are named, what the response contains, and the storage-limit failure; only the overwrite behavior on repeat calls is left implicit.

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% and the description only restates the count default (8) and cap (10) that the schema already declares, adding no new meaning for site or place_id; 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 ('Download ... the listing's photos into the site's draft') plus the exact output naming convention (images/listing-1.jpg, resized for web), so the agent knows precisely what gets created and where.

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?

It gives downstream usage instructions for the returned paths (<img src>, alt text, footer credit) but never says when to call this versus alternatives such as get_listing or list_library, nor what prerequisite state the site must be in.

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