Skip to main content
Glama

Where Roomly has listings

list_locations
Read-onlyIdempotent

Cities and areas with active Roomly listings, with how many each has. Use it when you are not sure Roomly covers a place, or to suggest where to look. Returns each location with its name (use it as search_listings location), country, listing count, search url and city 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": "list_locations"
  }
}

Input Schema

NameRequiredDescriptionDefault
countryNoUS (New York) or IL (Israel). Empty = both.

Output Schema

NameRequiredDescriptionDefault
locationsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "locations": {
      +      "items": {
      +        "properties": {
      +          "city_page": {
      +            "type": "string"
      +          },
      +          "country": {
      +            "description": "US or IL.",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "includes_areas": {
      +            "description": "True for a metro that counts its areas (New York = its boroughs).",
      +            "type": "boolean"
      +          },
      +          "listings": {
      +            "description": "Active listings.",
      +            "type": "integer"
      +          },
      +          "name": {
      +            "description": "Use as search_listings location.",
      +            "type": "string"
      +          },
      +          "name_he": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "search_url": {
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "name",
      +          "listings"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    }
      +  },
      +  "required": [
      +    "locations"
      +  ],
      +  "type": "object"
      +}
  2. First observed

TDQS

A4.3/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 behavior, so the safety profile is covered. The description adds value beyond them by enumerating the response payload (name, country, listing count, search url, city page) and stating the join key for search_listings, which the annotations could never convey.

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?

Three short sentences, front-loaded with what the tool returns, then when to use it, then what comes back. No filler, no repetition of the title, and the chaining hint is placed where it is actionable.

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 zero-required-parameter discovery tool with rich annotations and an output schema, the description covers purpose, trigger conditions, and the downstream handoff to search_listings. 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 coverage is 100% and the single country parameter already carries its enum values and the 'Empty = both' default in its own description. The prose adds no additional meaning about the country filter, so the baseline 3 for schema-documented parameters 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?

Names a specific resource with scope: cities/areas that have active listings, plus per-location counts. The returned 'name (use it as search_listings location)' explicitly relates it to the sibling that consumes the output, so an agent can tell it apart from search_listings, get_listing and rent_stats without opening a schema.

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?

Gives two concrete triggers: when you are not sure Roomly covers a place, and when you want to suggest where to look. It also implies the downstream step by noting the name is used as the search_listings location. It stops short of an explicit when-not or a direct 'use search_listings instead for X' exclusion.

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