Skip to main content
Glama

UniAffitti Room Finder

Update rental request status

update_rental_request_status
Destructive

Change a rental request to in review, accepted, rejected, or cancelled according to the authenticated user’s role. Acceptance marks the room as rented; status changes may notify the other participant.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
statusYes
request_idYes
available_fromNoYYYY-MM-DD; required when accepting.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
statusYes
request_idYes
available_fromYes

Schema Changelog

Changes observed during successful MCP inspections.

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

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare destructive=true, idempotent=false and openWorld=true, but the description adds real value beyond them: authorization depends on the caller's role, accepting has a side effect on the room ('marks the room as rented'), and other participants may be notified. It does not say whether transitions can be reversed or which transitions are legal from a given state.

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 tightly written sentences: the operation and its allowed target states come first, and the consequential behavior (room marked rented, notifications) follows. No filler or repetition.

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?

With an output schema present, return values need no explanation, and the destructive/non-idempotent nature is covered by annotations plus the side-effect and notification notes. The remaining gap is the conditional available_from requirement and the legal transition rules, which an agent would want before mutating state.

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 33%, with only available_from documented. The description restates the enum values already in the schema and never mentions available_from or that it is conditionally required when accepting, so it does not compensate for the coverage gap beyond what the schema already conveys.

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?

The description states a specific verb and resource ('Change a rental request') and enumerates the valid target statuses, which cleanly separates it from siblings like create_rental_request and list_my_requests. It stops short of naming any sibling explicitly, so differentiation is inferred rather than stated.

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?

'According to the authenticated user's role' signals a permission constraint on who may perform which transition, which is useful context. However, it never states when to prefer this tool over alternatives or when a transition is disallowed, leaving usage guidance implied rather than explicit.

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