Skip to main content
Glama

Compare areas

compare_areas
Read-onlyIdempotent

Two to five BTS/MRT stations, lines, districts, neighbourhoods or residences side by side: listings, median price, typical range (middle half) and price per m², for rent or sale, optionally for one number of bedrooms. Returns each place's bkkradar.com page.

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": {
      "places": "<places>"
    },
    "name": "compare_areas"
  }
}

Input Schema

NameRequiredDescriptionDefault
langNoLanguage of the titles and links: en, fr, th, ja (Japanese), zh (simplified Chinese) or ru (Russian). Use the user's language.en
typeNorent (monthly price) or sale (total price).rent
placesYes2 to 5 places separated by commas: BTS/MRT stations, lines, districts, neighbourhoods or residences, e.g. "Asok, Thonglor, Ari, Life Asoke". A station's name means the station: write "Silom district" or "Ari neighbourhood" for the area.
bedroomsNoCompare this number of bedrooms only; 0 = studio, 3 or more = the 3+ group.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / lang / description
      Previous value: -"Language of the titles and links: en, fr, th, ja (Japanese) or zh (simplified Chinese). Use the user's language."New value: +"Language of the titles and links: en, fr, th, ja (Japanese), zh (simplified Chinese) or ru (Russian). Use the user's language."
    • changedInput schema / properties / lang / enum
      Previous value: -[
      -  "en",
      -  "fr",
      -  "th",
      -  "ja",
      -  "zh"
      -]New value: +[
      +  "en",
      +  "fr",
      +  "th",
      +  "ja",
      +  "zh",
      +  "ru"
      +]
  2. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, non-destructive, closed-world behavior, so the safety profile is covered. Because no output schema exists, the description usefully fills that gap by listing what comes back (listings, median price, typical range, price per m²) and that each place links to its bkkradar.com page. It does not discuss error or ambiguity handling.

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 dense sentences with the comparison scope front-loaded and zero filler. The metric enumeration is somewhat list-heavy but every item earns its place given there is no output schema.

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 four fully documented parameters, rich annotations, and no output schema, the description covers inputs, scope, and return contents adequately. Minor omission is what happens for unresolvable place names, but that is a small gap for a read-only lookup tool.

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 every semantic detail in the description (2-5 places, rent vs sale, optional bedroom count) is already present in the schema property descriptions. The description adds reinforcement rather than new meaning, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

Uses a concrete comparison framing ("side by side") plus an enumerated resource set (BTS/MRT stations, lines, districts, neighbourhoods, residences) and names the metrics returned. It is clearly distinguishable from condo_stats or area_stats by the 'two to five places' scope, but it never names a sibling to route against explicitly.

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?

Usage is only implied: the 'two to five places' constraint signals that this is the multi-place comparison tool and that single-place lookups belong elsewhere, but no alternative tool is named and no when-not-to-use condition is 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