Skip to main content
Glama

Codinzy free trial class booking

Status of a free trial booking request

get_trial_booking_request
Read-onlyIdempotent

The status of a request made with request_trial_booking: "pending" (waiting for the parent to confirm on WhatsApp), "confirmed" (booked), "expired" or "cancelled". Poll at most every 30 seconds. Read only.

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": {
      "request_id": "<request_id>"
    },
    "name": "get_trial_booking_request"
  }
}

Input Schema

NameRequiredDescriptionDefault
request_idYesThe request_id request_trial_booking returned

Output Schema

NameRequiredDescriptionDefault
bookedYesTrue only once the parent confirmed: the class is booked
reasonNoWhy it ended (not pending)
statusYes
messageNo
next_stepYes
expires_atNoUTC; the hold ends then unless the parent confirms
request_idYesOpaque reference (tbr_...): poll get_trial_booking_request with it
trial_classNo
confirmationNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, so safety is covered. The description adds the polling rate limit and explains what 'pending' actually means (waiting for the parent to confirm on WhatsApp), which is behavioral context no structured field carries. The trailing 'Read only.' merely restates the annotation, so not a 5.

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?

Front-loaded with the resource, then the enumeration of status values, then the polling rule — efficiently ordered. The final 'Read only.' is redundant given readOnlyHint and is the only sentence that does not earn 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?

With an output schema present, return structure need not be explained, and the description still names the possible statuses, the polling cadence, and the originating tool. For a read-only single-parameter status check, that is close to complete; only the terminal condition for polling is missing.

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?

The single parameter has 100% schema description coverage stating it is the request_id returned by request_trial_booking, so the schema carries the meaning. The description adds nothing about format, length limits (maxLength 40) or error behavior for unknown ids, so baseline 3 applies.

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 resource (a free trial booking request) and, more usefully, enumerates the exact values the tool reports: pending, confirmed, expired, cancelled. It also names request_trial_booking as the originating call, which disambiguates it from the sibling that creates the request. It stops short of an explicit verb-plus-resource phrasing and never contrasts itself with cancel_trial_booking_request.

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?

Gives clear usage context by anchoring the tool as the follow-up to request_trial_booking, and adds a concrete polling constraint of at most every 30 seconds so an agent does not hammer it. It does not state when to stop polling or hand off to cancel_trial_booking_request.

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