Skip to main content
Glama

UniAffitti Room Finder

Get room details

get_room_details
Read-onlyIdempotent

Return public details for one approved room, including user-submitted description, media, features, and limited landlord trust information.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
room_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
roomYes
mediaYes
featuresYes
landlordYes
contact_availableYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "contact_available": {
      +      "type": "boolean"
      +    },
      +    "features": {
      +      "items": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "code": {
      +            "type": "string"
      +          },
      +          "label": {
      +            "type": "string"
      +          },
      +          "type": {
      +            "type": "string"
      +          },
      +          "unit": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "value": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "number"
      +              },
      +              {
      +                "type": "boolean"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          },
      +          "value_label": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          }
      +        },
      +        "required": [
      +          "code",
      +          "label",
      +          "type",
      +          "unit",
      +          "value",
      +          "value_label"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "landlord": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "avatar_url": {
      +          "type": "string"
      +        },
      +        "is_verified": {
      +          "type": "boolean"
      +        },
      +        "name": {
      +          "type": "string"
      +        },
      +        "rating_average": {
      +          "type": [
      +            "number",
      +            "null"
      +          ]
      +        },
      +        "rating_count": {
      +          "type": "integer"
      +        },
      +        "role": {
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "name",
      +        "avatar_url",
      +        "role",
      +        "is_verified",
      +        "rating_average",
      +        "rating_count"
      +      ],
      +      "type": "object"
      +    },
      +    "media": {
      +      "items": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "media_type": {
      +            "type": "string"
      +          },
      +          "url": {
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "media_type",
      +          "url"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "room": {
      +      "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"
      +        },
      +        "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"
      +      ],
      +      "type": "object"
      +    }
      +  },
      +  "required": [
      +    "room",
      +    "landlord",
      +    "media",
      +    "features",
      +    "contact_available"
      +  ],
      +  "type": "object"
      +}
  2. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, open-world, so the safety profile is covered. The description adds genuinely new context: results are public-only, restricted to 'approved' rooms, and landlord trust info is deliberately 'limited', which tells the agent what it will and won't get back.

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?

A single front-loaded sentence that lists the returned content with zero filler. Every clause earns its place.

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

Completeness4/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 not be re-explained, yet the description usefully previews them. Annotations cover safety. The only omission is behavior on failure (missing or unapproved room_id), which keeps it short of a 5.

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?

One parameter at 0% schema description coverage; the description never mentions room_id or its semantics. However, the name is self-explanatory and the schema constrains it to an integer >= 1, so the gap is minor rather than damaging.

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+resource ('Return public details for one approved room') and enumerates the payload (description, media, features, trust info). It implies single-record retrieval, distinguishing it from search_rooms, but never names or contrasts the sibling explicitly.

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?

Usage is only implied — an agent infers you call this with a room_id when you need one room's detail page. There is no statement of when to prefer it over search_rooms or compare_rooms, and no prerequisites or exclusions.

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