Skip to main content
Glama

AVnester — Indian Real Estate Intelligence

Compare Indian localities head-to-head

compare_localities
Read-onlyIdempotent

Compare 2–3 localities in one city side-by-side: price trends, livability, investment grade, strengths, and watchouts. Use when the user asks "X vs Y" or "which is better for buying/renting" about neighborhoods. Covers cities AVnester publishes locality guides for; others return supported=false — surface the scopeMessage. For specific LISTINGS by ID, use compare_properties instead.

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": {
      "city": "<city>",
      "localities": "<localities>"
    },
    "name": "compare_localities"
  }
}

Input Schema

NameRequiredDescriptionDefault
cityYesIndian city covering all compared localities.
localitiesYes2–3 localities to compare (array, not comma-separated string).
propertyTypeNoProperty type for comparison.

Output Schema

NameRequiredDescriptionDefault
cityYes
cardsYes
supportedYes
comparisonYes
disclaimerYes
handoffUrlYes
localitiesYes
attributionYes
scopeMessageNo
editorialNoteNo
supportedCitiesNo
resolvedLocalitiesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / city / pattern
      Previous value: -"^[A-Za-z0-9 .,'’()\\-஀-௿ऀ-ॿ]+$"New value: +"^[A-Za-z0-9 .,'’()\\-ஂ-௺ऀ-ॿ]+$"
    • changedInput schema / properties / localities / items / pattern
      Previous value: -"^[A-Za-z0-9 .,'’()\\-஀-௿ऀ-ॿ]+$"New value: +"^[A-Za-z0-9 .,'’()\\-ஂ-௺ऀ-ॿ]+$"
  2. Changed1 schema field changed
    • addedOutput schema / properties / editorialNote
      Added value: +{
      +  "type": "string"
      +}
  3. Changed1 schema field changed
    • addedOutput schema / properties / resolvedLocalities
      Added value: +{
      +  "additionalProperties": {
      +    "type": [
      +      "string",
      +      "null"
      +    ]
      +  },
      +  "type": "object"
      +}
  4. Changed4 schema fields changed
    • changedOutput schema / properties / comparison / additionalProperties / properties / confidence / enum
      Previous value: -[
      -  "high",
      -  "medium",
      -  "low"
      -]New value: +[
      +  "high",
      +  "medium",
      +  "low",
      +  null
      +]
    • changedOutput schema / properties / comparison / additionalProperties / properties / livabilityScoreBasis / enum
      Previous value: -[
      -  "editorial-estimate"
      -]New value: +[
      +  "editorial-estimate",
      +  null
      +]
    • addedOutput schema / properties / comparison / additionalProperties / properties / priceTrends / items / properties / estimated
      Added value: +{
      +  "type": [
      +    "boolean",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / comparison / additionalProperties / properties / priceTrends / items / properties / pricePerSqftInr
      Added value: +{
      +  "type": [
      +    "number",
      +    "null"
      +  ]
      +}
  5. Changed8 schema fields changed
    • addedOutput schema / properties / comparison / additionalProperties / properties / asOfMonth
      Added value: +{
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / comparison / additionalProperties / properties / confidence
      Added value: +{
      +  "enum": [
      +    "high",
      +    "medium",
      +    "low"
      +  ],
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / comparison / additionalProperties / properties / priceGrowth1YPct
      Added value: +{
      +  "type": [
      +    "number",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / comparison / additionalProperties / properties / pricePerSqftInr
      Added value: +{
      +  "type": [
      +    "number",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / comparison / additionalProperties / properties / rent2bhkInr
      Added value: +{
      +  "type": [
      +    "number",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / comparison / additionalProperties / properties / rentalYieldPct
      Added value: +{
      +  "type": [
      +    "number",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / comparison / additionalProperties / properties / sourceCount
      Added value: +{
      +  "type": [
      +    "integer",
      +    "null"
      +  ]
      +}
    • changedOutput schema / properties / comparison / additionalProperties / required
      Previous value: -[
      -  "priceTrends",
      -  "livabilityScore",
      -  "livabilityScoreBasis",
      -  "investmentGrade",
      -  "strengthTags",
      -  "watchouts",
      -  "highlights"
      -]New value: +[
      +  "priceTrends",
      +  "pricePerSqftInr",
      +  "rent2bhkInr",
      +  "rentalYieldPct",
      +  "priceGrowth1YPct",
      +  "asOfMonth",
      +  "sourceCount",
      +  "confidence",
      +  "livabilityScore",
      +  "livabilityScoreBasis",
      +  "investmentGrade",
      +  "strengthTags",
      +  "watchouts",
      +  "highlights"
      +]
  6. Changed2 schema fields changed
    • addedOutput schema / properties / comparison / additionalProperties / properties / livabilityScoreBasis
      Added value: +{
      +  "enum": [
      +    "editorial-estimate"
      +  ],
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • changedOutput schema / properties / comparison / additionalProperties / required
      Previous value: -[
      -  "priceTrends",
      -  "livabilityScore",
      -  "investmentGrade",
      -  "strengthTags",
      -  "watchouts",
      -  "highlights"
      -]New value: +[
      +  "priceTrends",
      +  "livabilityScore",
      +  "livabilityScoreBasis",
      +  "investmentGrade",
      +  "strengthTags",
      +  "watchouts",
      +  "highlights"
      +]
  7. Changed2 schema fields changed
    • addedOutput schema / properties / cards
      Added value: +{
      +  "items": {
      +    "additionalProperties": true,
      +    "properties": {
      +      "data": {
      +        "additionalProperties": {},
      +        "type": "object"
      +      },
      +      "priority": {
      +        "type": "integer"
      +      },
      +      "template": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "template",
      +      "data",
      +      "priority"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "city",
      -  "localities",
      -  "supported",
      -  "comparison",
      -  "attribution",
      -  "handoffUrl",
      -  "disclaimer"
      -]New value: +[
      +  "city",
      +  "localities",
      +  "supported",
      +  "comparison",
      +  "attribution",
      +  "handoffUrl",
      +  "disclaimer",
      +  "cards"
      +]
  8. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": true,
      +  "properties": {
      +    "attribution": {
      +      "enum": [
      +        "AVnester"
      +      ]
      +    },
      +    "city": {
      +      "type": "string"
      +    },
      +    "comparison": {
      +      "additionalProperties": {
      +        "additionalProperties": true,
      +        "properties": {
      +          "highlights": {
      +            "items": {
      +              "type": "string"
      +            },
      +            "type": "array"
      +          },
      +          "investmentGrade": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "livabilityScore": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "priceTrends": {
      +            "items": {
      +              "additionalProperties": true,
      +              "properties": {
      +                "avgPriceInr": {
      +                  "type": [
      +                    "number",
      +                    "null"
      +                  ]
      +                },
      +                "period": {
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "period",
      +                "avgPriceInr"
      +              ],
      +              "type": "object"
      +            },
      +            "type": "array"
      +          },
      +          "strengthTags": {
      +            "items": {
      +              "type": "string"
      +            },
      +            "type": "array"
      +          },
      +          "watchouts": {
      +            "items": {
      +              "type": "string"
      +            },
      +            "type": "array"
      +          }
      +        },
      +        "required": [
      +          "priceTrends",
      +          "livabilityScore",
      +          "investmentGrade",
      +          "strengthTags",
      +          "watchouts",
      +          "highlights"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "object"
      +    },
      +    "disclaimer": {
      +      "type": "string"
      +    },
      +    "handoffUrl": {
      +      "format": "uri",
      +      "type": "string"
      +    },
      +    "localities": {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "scopeMessage": {
      +      "type": "string"
      +    },
      +    "supported": {
      +      "type": "boolean"
      +    },
      +    "supportedCities": {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    }
      +  },
      +  "required": [
      +    "city",
      +    "localities",
      +    "supported",
      +    "comparison",
      +    "attribution",
      +    "handoffUrl",
      +    "disclaimer"
      +  ],
      +  "type": "object"
      +}
  9. Changed1 schema field changed
    • removedInput schema / $schema
      Removed value: -"http://json-schema.org/draft-07/schema#"
  10. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world, so the safety profile needs no restating. The description adds real behavioral context beyond them: coverage is limited to cities with published locality guides, and unsupported cities return supported=false with a scopeMessage the agent should surface to the user. It does not discuss limits on ambiguity resolution or how localities are matched, which keeps it out of the top band.

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?

Four short sentences, front-loaded with the capability before the usage trigger, the failure mode, and the sibling exclusion. Nothing is padded and no sentence merely restates the title.

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?

With an output schema present and annotations covering safety, the description supplies what those cannot: routing guidance and the supported=false failure path. The remaining gap is minor — it never says whether propertyType is optional or what happens when it is omitted, so an agent must fall back to the schema.

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%, so city, localities, and propertyType are already fully documented, including the 2–3 array constraint and the propertyType enum. The description reinforces the single-city scoping and the 2–3 count, but adds no new meaning such as a default for propertyType or how it changes the comparison. Baseline 3 applies.

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 concrete verb and resource ("Compare 2–3 localities in one city side-by-side") and enumerates the dimensions returned: price trends, livability, investment grade, strengths, watchouts. It also explicitly separates itself from compare_properties, so an agent can route without opening either schema.

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?

Gives an explicit trigger ("Use when the user asks 'X vs Y' or 'which is better for buying/renting' about neighborhoods") plus a named alternative for a different intent ("For specific LISTINGS by ID, use compare_properties instead"). Both when-to-use and when-to-use-something-else are stated.

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