Skip to main content
Glama

SPACEXPLORATION

Attach listing photo

attach_listing_photo

Attach a photo to a listing you own directly from its public URL — one call, no separate sign/upload/confirm. The server fetches the image and ingests it with auto-generated thumbnail/hero/full variants. Only https image URLs whose host is publicly routable are accepted. The photo is content-moderated (must be real-estate related and safe) before it can appear publicly — the returned snapshot includes the moderation_status (approved / rejected / escalated) and moderation_reason. A rejected or escalated photo will not be publicly visible and will block publishing until removed or replaced.

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": {
      "hashid": "<hashid>",
      "source_url": "<source_url>"
    },
    "name": "attach_listing_photo"
  }
}

Input Schema

NameRequiredDescriptionDefault
hashidYesHashid of the listing to attach the photo to.
source_urlYesPublic https URL of the image to fetch and attach. Must point directly at an image (jpeg, png, webp, gif, heic/heif) on a publicly-routable host.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / source_url / description
      Previous value: -"Public https URL of the image to fetch and attach. Must point directly at an image (jpeg, png, webp, gif, avif, heic/heif) on a publicly-routable host."New value: +"Public https URL of the image to fetch and attach. Must point directly at an image (jpeg, png, webp, gif, heic/heif) on a publicly-routable host."
  2. Added

TDQS

A4.4/5.0
Behavior5/5

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

Beyond the annotations (readOnlyHint=false, destructiveHint=false, openWorldHint=true), the description discloses that the server fetches the image itself, auto-generates thumbnail/hero/full variants, runs content moderation, returns moderation_status and moderation_reason, and that rejected/escalated photos block publishing. That is substantive behavioral context an agent cannot get from the annotations or schema.

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?

The definition is front-loaded with the core action, then layers constraints and moderation consequences in a logical order with no filler. It is slightly dense at four sentences and repeats the https/routable constraint that the schema also states.

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?

For a two-parameter mutation with no output schema, the description covers the mechanism, validation rules, moderation outcome, returned fields, and downstream consequence on publishing. Nothing an agent needs to invoke it correctly or interpret the result is missing.

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 both parameters are already documented with their formats and host requirements, so the description's URL details largely restate the schema. It adds only the ownership constraint on hashid, which is marginal — baseline 3 applies when the schema does the heavy lifting.

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 opens with a specific verb+resource+scope: 'Attach a photo to a listing you own directly from its public URL.' It also distinguishes itself from the multi-step path ('one call, no separate sign/upload/confirm'), which maps to the sign_attachment_upload/confirm_attachment_upload siblings.

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 clearly states the precondition (a listing you own) and the input constraint (https, publicly routable image host), and implicitly steers away from the sign/upload/confirm flow. It does not explicitly name when NOT to use this or what to do if the URL is not publicly routable, so it falls short of full when/when-not guidance.

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