Skip to main content
Glama

Lotlytics — US Real Estate Market Data & Investment Analytics

Compare two markets head-to-head

compare_markets
Read-onlyIdempotent

Compare two US markets side by side, with a winner marked on price, yield and appreciation. Requires API key (Investor plan) — https://www.lotlytics.us/pricing ; key at https://www.lotlytics.us/settings/api-keys Example: city_a='Austin', state_a='TX', city_b='Nashville', state_b='TN'

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
city_aYesFirst city or metro, e.g. 'Austin'.
city_bYesSecond city or metro, e.g. 'Nashville'.
state_aYesState of the FIRST city, e.g. 'TX'.
state_bYesState of the SECOND city, e.g. 'TN'.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • changedInput schema / properties / city_a / description
      Previous value: -"First city or metro name, e.g. \"Austin\". Case-insensitive."New value: +"First city or metro, e.g. 'Austin'."
    • changedInput schema / properties / city_b / description
      Previous value: -"Second city or metro name to compare against the first, e.g. \"Nashville\"."New value: +"Second city or metro, e.g. 'Nashville'."
    • changedInput schema / properties / state_a / description
      Previous value: -"State of the FIRST city — 2-letter abbreviation or full name, e.g. \"TX\"."New value: +"State of the FIRST city, e.g. 'TX'."
    • changedInput schema / properties / state_b / description
      Previous value: -"State of the SECOND city — 2-letter abbreviation or full name, e.g. \"TN\"."New value: +"State of the SECOND city, e.g. 'TN'."
  2. Changed4 schema fields changed
    • addedInput schema / properties / city_a / description
      Added value: +"First city or metro name, e.g. \"Austin\". Case-insensitive."
    • addedInput schema / properties / city_b / description
      Added value: +"Second city or metro name to compare against the first, e.g. \"Nashville\"."
    • addedInput schema / properties / state_a / description
      Added value: +"State of the FIRST city — 2-letter abbreviation or full name, e.g. \"TX\"."
    • addedInput schema / properties / state_b / description
      Added value: +"State of the SECOND city — 2-letter abbreviation or full name, e.g. \"TN\"."
  3. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, and non-destructive behavior, lowering the burden on the description. The description adds useful context beyond annotations: the Investor plan API key requirement, links to get the key, and the output characteristic of marking a winner on price, yield, and appreciation.

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 core purpose is front-loaded in the first sentence, followed by necessary auth guidance and a concrete example. The URLs add length but are operationally relevant, so the description remains efficiently structured.

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 straightforward four-parameter comparison tool with an output schema present, the description supplies purpose, result semantics, authentication requirements, and a worked example. There is no critical missing information for an agent to invoke it correctly.

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%, and each parameter already has clear descriptions with examples. The description's example reinforces the expected format but adds no substantive meaning beyond what the input schema provides, so the baseline of 3 is appropriate.

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 ('Compare'), a specific resource ('two US markets side by side'), and a distinctive behavior ('winner marked on price, yield and appreciation'). It is immediately distinguishable from siblings like get_market_health, get_market_summary, list_markets, and search_markets.

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?

The description clearly implies the use case: head-to-head comparison of exactly two markets. It does not explicitly name alternatives or exclusions, but the purpose is specific enough that an agent can infer when to use this tool over the siblings.

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.