Skip to main content
Glama

When is an amenity free

amenity_availability
Read-onlyIdempotent

For a resident: bookable slots on one amenity — copy a starts_at from here verbatim to book it. For an owner or manager: who has it booked.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "amenity_id": "<amenity_id>"
    },
    "name": "amenity_availability"
  }
}

Input Schema

NameRequiredDescriptionDefault
amenity_idYes

Output Schema

NameRequiredDescriptionDefault
noteNoWhy the result was truncated, when it was.
truncatedNoPresent and true when the result was too large to return in full. Treat it as a partial answer.
total_availableNoHow many rows existed before truncation.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, closed-world, non-destructive behavior, so the safety profile is covered. The description adds real value by disclosing role-dependent response content and the format sensitivity of `starts_at` (must be copied verbatim), but says nothing about the time horizon of availability (how far ahead slots are returned) or result size, which materially affect interpretation.

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?

Two short clauses, front-loaded by audience, with zero filler. Every phrase carries information: the audience split, the returned content, and the verbatim-copy constraint.

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, so return fields need no prose explanation, and the verbatim `starts_at` hint covers the main output-consumption pitfall. However, with a single undocumented parameter, nothing tells the agent how to supply a valid `amenity_id` or what the availability window covers, leaving real gaps for a lookup 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 `amenity_id` is documented only as an integer. The description says 'one amenity' but never explains where an amenity ID comes from or what form it takes, so it does not compensate for the schema gap on the only parameter.

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 concretely what the tool returns — bookable slots for one amenity (residents) or existing bookings (owners/managers) — which is more specific than the title's 'When is an amenity free'. It never names a sibling booking/filtering tool, so differentiation is left to the partial sibling list rather than to the text.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives clear role-conditional context (resident vs owner/manager) and a concrete downstream action: copy a `starts_at` from the result verbatim in order to book. There is no explicit when-not guidance or named alternative tool for scheduling questions this one can't answer.

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