Skip to main content
Glama

Typical rent

rent_stats
Read-onlyIdempotent

Typical asking rent in a city or area on Roomly, from live listings: the median and the usual range for a room, a whole apartment and a sublet, with how many listings it is based on. Use it when someone asks what rent costs or whether a price is fair. Returns monthly median, typical low and high, in the local currency.

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": {
      "location": "<location>"
    },
    "name": "rent_stats"
  }
}

Input Schema

NameRequiredDescriptionDefault
locationYesCity or area, e.g. "Brooklyn", "Tel Aviv".
listing_typeNoEmpty = all three.

Output Schema

NameRequiredDescriptionDefault
perNoAlways "month".
hintNo
statsYes
based_onNo
currencyNo
locationNo
city_pageNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "based_on": {
      +      "type": "string"
      +    },
      +    "city_page": {
      +      "type": "string"
      +    },
      +    "currency": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "hint": {
      +      "type": "string"
      +    },
      +    "location": {
      +      "type": "string"
      +    },
      +    "per": {
      +      "description": "Always \"month\".",
      +      "type": "string"
      +    },
      +    "stats": {
      +      "items": {
      +        "properties": {
      +          "listing_type": {
      +            "description": "room, apartment or sublet.",
      +            "type": "string"
      +          },
      +          "listings": {
      +            "description": "How many listings it is based on.",
      +            "type": "integer"
      +          },
      +          "median": {
      +            "type": "number"
      +          },
      +          "typical_high": {
      +            "type": "number"
      +          },
      +          "typical_low": {
      +            "type": "number"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    }
      +  },
      +  "required": [
      +    "stats"
      +  ],
      +  "type": "object"
      +}
  2. First observed

TDQS

A4.2/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 is covered. The description adds genuinely new behavior: data comes from live listings, results include the number of listings the estimate is based on, and values are in the local currency — useful trust signals. It stops short of noting staleness or coverage limits of the sample.

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 sentences, front-loaded with the core definition, then usage, then return shape. Every clause carries information, though the final return-format sentence partly duplicates fields already exposed by the output schema.

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 simple two-parameter read-only lookup with an output schema and rich annotations, the description covers what is measured, the granularity, the sample basis and the currency — nothing an agent needs in order to call it correctly is missing.

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 both parameters are already documented, including the enum values and that an empty listing_type means all three. The description's mention of "a room, a whole apartment and a sublet" and "city or area" reinforces but does not extend the schema, so 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 specific resource (typical asking rent) with concrete scope: median, typical low/high, per room/apartment/sublet, plus sample size. It is clearly a statistics/aggregation tool, distinguishable from get_listing, list_locations and search_listings, which deal with individual records or location lists.

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?

"Use it when someone asks what rent costs or whether a price is fair" gives clear situational triggers. It does not name alternatives or state when-not to use it (e.g., for a specific listing's price, use get_listing), so it falls short of a 5.

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