Skip to main content
Glama

UniAffitti Room Finder

Save a room

add_favorite
Idempotent

Save an approved room to the authenticated user’s favorites.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
room_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
addedYes
room_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "added": {
      +      "type": "boolean"
      +    },
      +    "room_id": {
      +      "type": "integer"
      +    }
      +  },
      +  "required": [
      +    "added",
      +    "room_id"
      +  ],
      +  "type": "object"
      +}
  2. Added

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare the write nature (readOnlyHint=false), idempotency, and safe/non-destructive behavior, so the safety profile is covered. The description adds only the 'approved room' precondition and the auth scope, but leaves unclear what 'approved' means or what happens on a duplicate/already-favorited call.

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, well-formed sentence with the action and target front-loaded and no redundant filler.

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 and annotations cover the safety profile, so return values need not be explained. However, the description omits error conditions, the meaning of 'approved', and param provenance, leaving meaningful gaps for a mutation tool.

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% and the description adds no meaning beyond the schema's room_id (integer, minimum 1). It does not say where the room_id comes from (e.g., get_room_details or search_rooms), so it fails to compensate for the coverage gap.

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: 'Save an approved room to the authenticated user's favorites.' An agent can identify the operation clearly, but the description does not name how it differs from siblings like remove_favorite or list_my_favorites, so it stops short of full sibling differentiation.

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?

There is no when-to-use or when-not-to-use guidance and no mention of alternatives such as remove_favorite (to undo) or list_my_favorites (to verify). The agent must infer the usage context entirely.

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