Skip to main content
Glama

Add photos to a listing

add_listing_photos

ChatGPT only: adds photos the person attached in the chat to one of their draft listings (up to 8 in all), which ChatGPT passes as files with download links. Never use photos from the web or anywhere else: a listing shows the seller's own item. Other assistants can't pass attached photos to a tool: give the person the listing's upload page link instead (create_listing and get_listing return it). Location and camera details are removed from every photo. Needs sign-in.

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": {
      "listing_id": "<listing_id>",
      "photos": "<photos>"
    },
    "name": "add_listing_photos"
  }
}

Input Schema

NameRequiredDescriptionDefault
photosYesThe photos the person attached.
listing_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior3/5

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

It goes beyond the annotations by disclosing the 8-photo cap, the draft-only requirement, the EXIF stripping of location and camera data, and the sign-in requirement. However, it says nothing about what the tool returns, what happens when the cap is exceeded or a file fails, or whether repeats create duplicates — and idempotentHint=false raises a re-run question the description never answers.

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?

Purpose and capability lead, with constraints following; nearly every clause carries information. The single long clause about other assistants and upload page links is dense and slightly digressive, but it earns its place as a routing rule.

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?

For a two-parameter mutation with no output schema, the description covers authorization, source restrictions, limits, and privacy handling. The remaining gap is outcome information — what is returned or how partial failures are reported — which an agent would want before calling it on a real listing.

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 only 50% and listing_id has no schema description at all; the description compensates by clarifying that listing_id must be one of the person's own draft listings. It also explains that photos are file objects with download links the chat passes in, which adds real meaning beyond the 'The photos the person attached' schema note, though per-field details like accepted mime types or file_name use remain unaddressed.

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?

The description gives a specific verb and resource ('adds photos ... to one of their draft listings') plus a hard scope limit ('up to 8 in all'). The word 'draft' and the constraint that photos come from the chat attachment distinguish it clearly from see_listing_photos and remove_listing_photo without needing to name them.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It states the audience restriction ('ChatGPT only'), the precondition (draft listing, photos attached in the chat), an explicit prohibition ('Never use photos from the web or anywhere else'), and a concrete alternative for other assistants (hand over the upload page link from create_listing/get_listing). When-to-use, when-not-to-use, and fallback are all present.

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.