Skip to main content
Glama

Check a space's free times

check_space_availability
Read-onlyIdempotent

The free start times of one bookable space (from list_spaces) on one day, in the venue's own time, with the longest booking that fits from each start (maxHours). The venue's opening hours and its existing bookings are already applied, so every time returned can be 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": {
      "restaurantId": "<restaurantId>",
      "spaceId": "<spaceId>",
      "date": "<date>"
    },
    "name": "check_space_availability"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateYesYYYY-MM-DD, the venue's local date
spaceIdYes
restaurantIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already cover readOnly, idempotent, non-destructive and closed-world, so the bar is lower. The description still adds real behavioral value: opening hours and existing bookings are pre-applied, times are in the venue's own time zone, and every returned time is guaranteed bookable — a meaningful guarantee not expressed anywhere in the structured fields.

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 dense sentences that front-load the core output semantics and waste little. The parenthetical '(maxHours)' is the one element that muddies rather than clarifies.

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?

For a 3-required-param read tool with no output schema, it explains what the returned times mean and their guarantees, which is the important part. It is still incomplete on identifying the two ID parameters and on the dangling maxHours reference, so an agent has to guess at parts of the call.

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 coverage is only 33% (only 'date' is documented), so the description must carry the load, but it leaves spaceId and restaurantId entirely unexplained. Worse, it introduces 'maxHours' as if it were an input ('the longest booking that fits from each start (maxHours)'), yet no such property exists in the schema — an agent could reasonably look for a parameter that cannot be supplied.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific resource and scope: free start times of ONE bookable space on ONE day, with the longest fitting booking per start. It also anchors the resource to its sibling source ('from list_spaces'), so an agent can distinguish it from the other check_* availability tools.

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 implies the prerequisite chain (get spaceId from list_spaces) and the query shape (one space, one day), which is clear usage context. It stops short of naming when to prefer this over check_room_availability / check_event_availability or stating exclusions, so it is not a full routing statement.

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