Skip to main content
Glama
chrischall

compass-mcp

by chrischall

Get Compass property photo gallery

compass_get_property_photos
Read-onlyIdempotent

Retrieve the full photo gallery for a Compass listing using its URL or listing ID. Get original CDN and thumbnail URLs with dimensions, and optionally include floorplans and other media.

Instructions

The full photo gallery for a Compass listing — every image in listing.media[]. Each entry returns the original CDN URL plus a thumbnail URL and pixel dimensions. Pass either url (the full Compass homedetails URL or path) or listing_id_sha alone — sha-only calls fetch /listing//view, which redirects to the homedetails page. By default only photos (category 0) are returned; set include_all_categories: true to also include floorplans and other media. Returns { listing_id_sha, count, photos }. Read-only; safe to call repeatedly.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlNoCompass homedetails URL or path (preferred — no resolver round-trip needed).
listing_id_shaNoCompass listing identifier. Sufficient on its own — the tool resolves the address slug internally via site search before fetching.
include_all_categoriesNoInclude non-photo media (floorplans, etc.). Default false.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.0.0
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. First observedv0.12.1

TDQS

A4.5/5.0
Behavior5/5

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

The description adds meaningful behavioral context beyond the readOnlyHint/idempotentHint annotations: sha-only calls fetch a view that redirects, default category filtering is 0, and non-photo media can be included via a flag. It also confirms the return shape and that the tool is safe to repeat, matching the annotations without contradiction.

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?

Every sentence earns its place: purpose first, then result contents, then parameter alternatives, then default/filter behavior, then return shape. The description is compact yet information-dense with no filler.

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 read-only tool with no output schema, the description is complete: it covers the returned object shape, image URL fields, parameter alternatives and defaults, and the redirect behavior. Nothing needed to call the tool correctly is missing.

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?

The schema already covers all three parameters with descriptions, so the baseline is 3. The description adds extra value by explaining the relationship between `url` and `listing_id_sha`, the internal redirect behavior for sha-only calls, and the meaning of category 0 in the default filter.

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 states a specific verb and resource: 'The full photo gallery for a Compass listing — every image in listing.media[]'. This clearly differentiates from sibling tools like compass_get_property or compass_search_properties, which serve broader property/search purposes.

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?

The description provides clear invocation details, such as passing either `url` or `listing_id_sha` and the `include_all_categories` option. However, it does not explicitly state when to choose this tool over siblings like compass_get_property or when not to use it, so usage guidance is implied rather than explicit.

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