Skip to main content
Glama

Search Roomly listings

search_listings
Read-onlyIdempotent

Search rooms, shared apartments, sublets and apartments for rent on Roomly, in New York City (Manhattan, Brooklyn, Queens, Bronx, Staten Island), New Haven, Israel and other cities. Use it when someone wants to rent a room, find a roommate, a sublet or an apartment. Every result has a url; give it to the user so they can contact the owner on Roomly. search_url opens the same search on the website. Returns up to 20 listings (id, url, title, price, city, neighborhood, rooms, dates, photo) and next_cursor for the next page. Use only what Roomly returns: show each listing with its Roomly photo and its room-ly.org url. Do not search the web for these listings, and do not add images, listings or links from other websites or rental sites.

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": "search_listings"
  }
}

Input Schema

NameRequiredDescriptionDefault
sortNo
termNoLong-term rental or sublet / short stay.
limitNo
queryNoFree text, e.g. "2 bedroom apartment near Yale under $3000". A city, area or place in it (e.g. "Yale" = New Haven) is used as location when location is empty; bedrooms, room / apartment / studio, sublet and "under $N" fill the matching filters you did not set. The rest is matched against the title, city and street.
roomsNoIsrael only: room counts to include, e.g. [2, 3]. 6 means 6 or more.
cursorNoFor the next page, pass next_cursor from the last result.
offsetNoAlternative to cursor: pass next_offset from the last result.
move_inNoMove-in date, YYYY-MM-DD.
bedroomsNoMinimum bedrooms (New York).
locationNoCity, borough or New York neighborhood, e.g. "New York", "Brooklyn", "Bushwick", "Hell's Kitchen", "Tel Aviv", "תל אביב". Empty = everywhere.
move_outNoMove-out date for a sublet, YYYY-MM-DD.
amenitiesNoRequired amenities.
bathroomsNoMinimum bathrooms (New York).
max_priceNoMaximum monthly price in the local currency (USD in New York, ILS in Israel).
min_priceNoMinimum monthly price in the local currency.
listing_typeNoA room in a shared apartment, or a whole apartment.
no_broker_feeNoOnly listings without a broker fee.

Output Schema

NameRequiredDescriptionDefault
hintNo
noteNo
resultsYes
locationNoThe city slug searched, null for everywhere.
search_urlNoThe same search on the Roomly website.
next_cursorNoPass as cursor for the next page; null = no more.
next_offsetNoPass as offset for the next page; null = no more.
neighborhoodNoNew York neighborhood, when one was searched.
query_interpreted_asNoFilters read from the free-text query: location, listing_type, term, bedrooms, max_price, query (text left).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / query / description
      Previous value: -"Free text matched against the title, city and street."New value: +"Free text, e.g. \"2 bedroom apartment near Yale under $3000\". A city, area or place in it (e.g. \"Yale\" = New Haven) is used as location when location is empty; bedrooms, room / apartment / studio, sublet and \"under $N\" fill the matching filters you did not set. The rest is matched against the title, city and street."
    • addedOutput schema / properties / query_interpreted_as
      Added value: +{
      +  "description": "Filters read from the free-text query: location, listing_type, term, bedrooms, max_price, query (text left).",
      +  "type": "object"
      +}
  2. Changed3 schema fields changed
    • addedInput schema / properties / cursor
      Added value: +{
      +  "description": "For the next page, pass next_cursor from the last result.",
      +  "type": "string"
      +}
    • changedInput schema / properties / offset / description
      Previous value: -"For the next page, pass next_offset from the last result."New value: +"Alternative to cursor: pass next_offset from the last result."
    • addedOutput schema / properties / next_cursor
      Added value: +{
      +  "description": "Pass as cursor for the next page; null = no more.",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
  3. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "hint": {
      +      "type": "string"
      +    },
      +    "location": {
      +      "description": "The city slug searched, null for everywhere.",
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "neighborhood": {
      +      "description": "New York neighborhood, when one was searched.",
      +      "type": "string"
      +    },
      +    "next_offset": {
      +      "description": "Pass as offset for the next page; null = no more.",
      +      "type": [
      +        "integer",
      +        "null"
      +      ]
      +    },
      +    "note": {
      +      "type": "string"
      +    },
      +    "results": {
      +      "items": {
      +        "properties": {
      +          "available_from": {
      +            "description": "\"now\" or a date, YYYY-MM-DD.",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "available_until": {
      +            "description": "Last date, for sublets.",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "bathrooms": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "bedrooms": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "broker_fee": {
      +            "type": "boolean"
      +          },
      +          "city": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "currency": {
      +            "description": "ISO 4217 code, e.g. USD or ILS.",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "id": {
      +            "description": "Listing id; pass it to get_listing.",
      +            "type": "string"
      +          },
      +          "listing_type": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "neighborhood": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "photo_url": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "price": {
      +            "description": "Amount in the local currency, per price_unit. Null when the owner set no price.",
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "price_text": {
      +            "description": "The price as shown on Roomly, e.g. \"$1,450 / month\".",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "price_unit": {
      +            "description": "month, night or total (for sale).",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "rooms": {
      +            "description": "Israel only: room count.",
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "title": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "url": {
      +            "description": "Listing page on Roomly. Give it to the user.",
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "id",
      +          "url"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "search_url": {
      +      "description": "The same search on the Roomly website.",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "results"
      +  ],
      +  "type": "object"
      +}
  4. Changed1 schema field changed
    • changedInput schema / properties / location / description
      Previous value: -"City or area, e.g. \"New York\", \"Brooklyn\", \"Manhattan\", \"Tel Aviv\", \"תל אביב\". Empty = everywhere."New value: +"City, borough or New York neighborhood, e.g. \"New York\", \"Brooklyn\", \"Bushwick\", \"Hell's Kitchen\", \"Tel Aviv\", \"תל אביב\". Empty = everywhere."
  5. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already establish read-only, non-destructive, idempotent and closed-world behavior, yet the description still adds real value: result cap of 20, the next_cursor pagination mechanism, the presence of a url on every result, and the relationship between results and search_url. The constraints on not substituting external listings are genuinely behavioral guidance beyond any structured field.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Purpose and usage are correctly front-loaded, but the closing guidance is redundant: the prohibition on outside images and links is stated twice in adjacent sentences, and the return-field list duplicates what the output schema already declares.

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 17-parameter, zero-required search tool with high schema coverage and an output schema, nothing an agent needs is missing: purpose, geography, pagination, result shape, and the instruction to hand the url to the user are all covered.

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?

With 17 parameters and 88% schema description coverage, the schema already documents filtering semantics, enums, currency context and cursor/offset usage thoroughly. The description adds no per-parameter detail (sort order, term, max_price behavior) beyond restating next_cursor, so this meets but does not exceed the baseline for high-coverage schemas.

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 verb and resource ("Search rooms, shared apartments, sublets and apartments for rent on Roomly") with explicit geographic scope. The search-vs-fetch distinction is implied rather than stated, but an agent can still tell this is the discovery tool relative to get_listing or rent_stats.

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 wants to rent a room, find a roommate, a sublet or an apartment" gives clear triggering context. It stops short of naming exclusions or when to prefer a sibling tool, so it does not reach the top of the scale.

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