Skip to main content
Glama

Median prices of an area

area_stats
Read-onlyIdempotent

Median rent or sale price and number of listings for one BTS/MRT station (within 1 km), one line, or one district or neighbourhood of Bangkok, overall and by bedrooms. Use it to tell whether a price is fair. Returns the bkkradar.com page.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "area_stats"
  }
}

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
lineNoLine code or name ("BTS-SUK", "BTS Sukhumvit", "MRT Blue"), or a whole network: "BTS", "MRT".
typeNorent (monthly price) or sale (total price).rent
stationNoBTS/MRT station name or code, e.g. "Asok", "Phrom Phong", "BTS-CEN".
bedroomsNoAlso give the median for this number of bedrooms; 0 = studio, 3 or more = the 3+ group.
districtNoDistrict (khet) or neighbourhood: "Watthana", "Sathorn", "Thonglor", "Ari".

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. Changed2 schema fields changed
    • changedInput schema / properties / lang / description
      Previous value: -"Language of the titles and links: en, fr or th. Use the user's language."New value: +"Language of the titles and links: en, fr, th, ja (Japanese) or zh (simplified Chinese). Use the user's language."
    • changedInput schema / properties / lang / enum
      Previous value: -[
      -  "en",
      -  "fr",
      -  "th"
      -]New value: +[
      +  "en",
      +  "fr",
      +  "th",
      +  "ja",
      +  "zh"
      +]
  3. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint false and openWorldHint false, so the safety profile is covered. The description adds genuinely useful behavior: it returns the bkkradar.com page rather than raw structured data, and the phrasing "one station, one line, or one district" implies a single area selector. It does not say what happens when zero or several area parameters are supplied.

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?

Three short sentences, front-loaded with the resource and its three scopes before the usage cue and return note. No filler or repetition. The final sentence about the returned page is terse but earns its place since no output schema exists.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Covers the resource, the three area granularities, the bedrooms breakdown, and that a web page is returned, which is the right shape for a six-parameter read-only tool with no output schema. The notable gap is that all six parameters are optional, and the description never states the selection rule when station, line and district are omitted or combined.

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%, so every parameter including lang, type, station, line, district and bedrooms is already documented in the schema. The description only reinforces that results break down "overall and by bedrooms" and clarifies the 1 km station radius, which the schema does not state. Baseline 3 is appropriate given the schema carries the load.

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?

States a specific resource and computation: median rent/sale price plus listing counts, scoped to exactly one station (within 1 km), one line, or one district of Bangkok, overall and by bedrooms. The scope detail makes it clearly an aggregate-area tool rather than a listing-level one. It stops short of naming a sibling (e.g. price_check or compare_areas) to sharpen the boundary.

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?

Offers one usage cue, "Use it to tell whether a price is fair," which gives an implied job-to-be-done. It does not say when to prefer the sibling price_check or compare_areas, nor any exclusion such as when a single listing lookup is wanted instead. Usage is inferable but not routed.

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