Skip to main content
Glama

UniAffitti Room Finder

Search cities

search_cities
Read-onlyIdempotent

Search cities represented in the active university catalog and public room listings, with country and university counts for assisted room search.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo
queryNo
offsetNo
country_codeNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitYes
totalYes
citiesYes
offsetYes
has_moreYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "cities": {
      +      "items": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "city": {
      +            "type": "string"
      +          },
      +          "country_code": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "country_name": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "region": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "universities_count": {
      +            "type": "integer"
      +          }
      +        },
      +        "required": [
      +          "city",
      +          "region",
      +          "country_code",
      +          "country_name",
      +          "universities_count"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "has_more": {
      +      "type": "boolean"
      +    },
      +    "limit": {
      +      "type": "integer"
      +    },
      +    "offset": {
      +      "type": "integer"
      +    },
      +    "total": {
      +      "type": "integer"
      +    }
      +  },
      +  "required": [
      +    "cities",
      +    "total",
      +    "limit",
      +    "offset",
      +    "has_more"
      +  ],
      +  "type": "object"
      +}
  2. Added

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, openWorld, and non-destructive, so the safety profile is covered. The description adds that results carry country and university counts, which is useful return-content context, but it says nothing about pagination despite limit/offset parameters existing.

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?

A single front-loaded sentence with no filler. It is tight, but the compression comes at the cost of omitting routing and parameter detail rather than by economizing on redundancy.

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

Completeness2/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 restated, and annotations cover safety. However, for a four-parameter search tool inside a 21-tool family with zero schema documentation, the description leaves both filtering semantics and sibling choice unresolved.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% across four parameters (query, limit, offset, country_code), so the description must compensate and largely does not. "Country and university counts" faintly suggests a country dimension, but no parameter's meaning, matching behavior, or default handling is clarified.

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?

Specific verb+resource ("Search cities") with a stated data scope: the active university catalog and public room listings. It implicitly separates itself from search_universities and search_rooms by naming the entity it returns and where it draws from, though it never names those siblings directly.

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 only usage cue is the trailing "for assisted room search," which implies a discovery step before a room search but states no when/when-not condition or alternative. With search_rooms, search_universities, and list_search_metadata available, an agent gets no routing help.

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