Skip to main content
Glama

UniAffitti Room Finder

Rank room matches

rank_room_matches
Read-onlyIdempotent

Find public, approved room listings and score them against preferences such as budget, campus distance, room type, and trust signals. Listing content is submitted by UniAffitti users.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo
queryNo
featuresNo
campus_idNo
max_budgetNo
available_fromNoYYYY-MM-DD.
max_distance_kmNo
preferred_room_typeNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
roomsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "rooms": {
      +      "items": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "available_from": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "campus_name": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "cover_url": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "deposit_amount": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "description": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "distance_km": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "id": {
      +            "type": "integer"
      +          },
      +          "landlord_avatar_url": {
      +            "type": "string"
      +          },
      +          "landlord_is_verified": {
      +            "type": "boolean"
      +          },
      +          "landlord_name": {
      +            "type": "string"
      +          },
      +          "landlord_rating_average": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "landlord_rating_count": {
      +            "type": "integer"
      +          },
      +          "landlord_role": {
      +            "type": "string"
      +          },
      +          "location_label": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "location_name": {
      +            "type": "string"
      +          },
      +          "match_reasons": {
      +            "items": {
      +              "type": "string"
      +            },
      +            "type": "array"
      +          },
      +          "match_score": {
      +            "type": "integer"
      +          },
      +          "min_stay_months": {
      +            "type": [
      +              "integer",
      +              "null"
      +            ]
      +          },
      +          "occupancy_status": {
      +            "type": "string"
      +          },
      +          "price_currency": {
      +            "type": "string"
      +          },
      +          "price_monthly": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "public_url": {
      +            "type": "string"
      +          },
      +          "room_city": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "room_country_code": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "room_type": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "title": {
      +            "type": "string"
      +          },
      +          "university_city": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "university_country_code": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "university_name": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "zone_name": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          }
      +        },
      +        "required": [
      +          "id",
      +          "title",
      +          "price_monthly",
      +          "price_currency",
      +          "room_type",
      +          "location_name",
      +          "public_url",
      +          "match_score",
      +          "match_reasons"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    }
      +  },
      +  "required": [
      +    "rooms"
      +  ],
      +  "type": "object"
      +}
  2. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, open-world, non-destructive, so the safety profile is covered. The description adds that only 'public, approved' listings are considered and that content is user-submitted (a reliability caveat), which is real value, but it omits how scoring/ranking works and any ordering or result-count behavior.

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 sentences with no filler, and the core purpose is front-loaded. The user-submitted caveat is placed at the end, which is appropriate.

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?

An output schema exists so return values need no explanation, and annotations cover safety. However, for an 8-parameter tool with 13% schema coverage, the description leaves several parameters and the sibling-choice question unaddressed, making it only minimally complete.

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 only 13%, so the schema does little lifting. The description loosely maps to some parameters (budget=max_budget, campus distance=max_distance_km, room type=preferred_room_type) but ignores query, limit, campus_id, available_from, and the nested features object, so the gap is only partly filled.

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 pair (find and score) and resource (public, approved room listings) with the scoring dimensions called out. It is clear what the tool returns, though it never explicitly distinguishes itself from the sibling search_rooms or compare_rooms.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives no when-to-use guidance and never names an alternative, despite siblings like search_rooms and compare_rooms that an agent must choose between. Usage is only implied by the tool name.

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