Skip to main content
Glama

SimplyRETS MCP by usefulapi

Get market analytics

simplyrets_get_market_analytics
Read-only

Statistics for the listings a search matches (same filters as simplyrets_search_listings): total count, average price, bedrooms, full baths, living area, lot size and year built, and the number of listings per area. Use it for market summaries of a city, zip or price band. GET /properties/analytics.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
qNoKeyword search over MLS number, street, unit, city, postal code, subdivision and area; several values match any.
idxNoIDX display filter. Default 'null' hides listings whose address or entire listing may not be displayed online; 'ignore' returns them too. Your MLS's display rules still bind how you use the data.
poolNoPool: 'true', 'false' or a value such as 'Private'.
typeNoProperty type (default residential and rental).
agentNoListing agent MLS ids (the co-listing agent is not matched).
waterNoWater body: 'true', 'false' or a value.
citiesNoCities (case-insensitive). simplyrets_get_feed_metadata lists the cities in the feed.
maxdomNoMaximum days on market (needs Days on Market data in the feed).
pointsNoA polygon of 'lat,lng' points (3 or more); returns listings inside it. Needs latitude/longitude in the feed.
statusNoListing status (default Active). Closed = sold or leased.
vendorNoMLS vendor id; required on multi-MLS apps (simplyrets_get_account_info lists them).
brokersNoBroker or listing office ids, as your MLS provides them.
maxareaNoMaximum living area, sq ft.
maxbedsNoMaximum bedrooms.
maxyearNoMaximum year built.
minareaNoMinimum living area, sq ft.
minbedsNoMinimum bedrooms.
minyearNoMinimum year built.
subtypeNoProperty sub type; not every feed supports every value.
countiesNoCounties (case-insensitive).
featuresNoInterior features, e.g. 'Wet Bar'.
maxacresNoMaximum acreage.
maxbathsNoMaximum bathrooms.
maxpriceNoMaximum price.
minacresNoMinimum acreage.
minbathsNoMinimum bathrooms.
minpriceNoMinimum price.
salesAgentNoSelling agent MLS ids (sales.agent).
postalCodesNoPostal / zip codes.
neighborhoodsNoNeighborhoods or subdivisions (case-insensitive).
maxGarageSpacesNoMaximum garage spaces.
minGarageSpacesNoMinimum garage spaces.
exteriorFeaturesNoExterior features, e.g. 'Porch'.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is covered. The description adds real value beyond that by disclosing the non-obvious fact that results are a search-driven aggregate (not a listing-level read) and by enumerating the computed statistics, which matters since no output schema exists.

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?

Two front-loaded sentences that carry the purpose, the output contents and the filtering model, with no repetition. The trailing API path 'GET /properties/analytics' is near-redundant affordance information rather than agent-relevant guidance, keeping it just short of a 5.

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 33-parameter, zero-required aggregate tool with full schema coverage but no output schema, the description supplies the two things the structured data cannot: the aggregate nature of the response and the equivalence to search_listings filters. It omits only minor operational detail such as defaults for status/type and whether filters actually narrow the aggregate.

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 description coverage is 100% across 33 parameters, so the schema documents filter syntax, enums and defaults fully; the baseline is 3. The description's only semantic contribution is the equivalence claim ('same filters as simplyrets_search_listings'), which helps an agent transfer known filter semantics but adds no per-parameter detail.

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+resource (aggregate statistics over listings matched by a search) and enumerates exactly what is returned: total count, average price, bedrooms, baths, living area, lot size, year built, and counts per area. It also distinguishes itself from the sibling simplyrets_search_listings by positioning itself as the aggregate counterpart.

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?

Gives clear when-to-use guidance ('Use it for market summaries of a city, zip or price band') and ties filtering semantics to simplyrets_search_listings ('same filters as'), which tells the agent how to build input. It does not, however, contrast itself with the similarly named sibling simplyrets_get_listing_analytics, leaving some selection ambiguity.

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.