Skip to main content
Glama

UniAffitti Room Finder

List university campuses

list_university_campuses
Read-onlyIdempotent

List active campuses for a selected university so the user can refine the room search.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
university_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
campusesYes
university_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "campuses": {
      +      "items": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "address": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "campus_type": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "id": {
      +            "type": "integer"
      +          },
      +          "is_verified": {
      +            "type": "boolean"
      +          },
      +          "latitude": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "longitude": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "name": {
      +            "type": "string"
      +          },
      +          "university_id": {
      +            "type": "integer"
      +          }
      +        },
      +        "required": [
      +          "id",
      +          "university_id",
      +          "name",
      +          "latitude",
      +          "longitude",
      +          "is_verified"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "university_id": {
      +      "type": "integer"
      +    }
      +  },
      +  "required": [
      +    "university_id",
      +    "campuses"
      +  ],
      +  "type": "object"
      +}
  2. Added

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so the safety profile is fully covered elsewhere. The description adds one behavioral fact: only active campuses are returned, implying inactive ones are filtered out. It does not cover ordering, pagination, or what happens for an invalid university_id.

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?

One sentence, front-loaded with the action and scope, with the purpose clause placed last. Every word 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 explained, and the tool is a simple single-param read. The only gap is that the description does not say where university_id comes from, which for a low-coverage schema would be helpful.

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 0% for the single required university_id, so the description must compensate. It does convey that the parameter selects a university (implying the ID originates from search_universities), but adds no detail on ID format or validation beyond the schema's integer/minimum=1 constraint.

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 (List) and resource (campuses) with a clear scope qualifier ('active', 'for a selected university'). It is distinguishable from siblings like search_universities, though it does not explicitly contrast with any of them.

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?

The trailing clause 'so the user can refine the room search' implies the workflow position (after picking a university, before searching rooms), but no alternatives are named and no when-not-to-use condition is given. Usage must be inferred from the purpose clause.

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