Skip to main content
Glama

Universal Data — x402 + MPP Payment Setup

api_therapy_session_capacity

Read-onlyIdempotent

Estimate a physiotherapy or massage business total bookable sessions given rooms, therapists, shifts and appointment spacing. One call costs 0.01 USDC on Base x402; customer-owned provider credentials use X-Provider-Key header where needed.

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": {
      "rooms": "<rooms>",
      "therapists": "<therapists>",
      "shift_hours": "<shift_hours>",
      "session_minutes": "<session_minutes>"
    },
    "name": "api_therapy_session_capacity"
  }
}

Input Schema

NameRequiredDescriptionDefault
roomsYesrooms; see operation description for units and format
therapistsYestherapists; see operation description for units and format
shift_hoursYesshift hours; see operation description for units and format
buffer_minutesNobuffer minutes; see operation description for units and format
session_minutesYessession minutes; see operation description for units and format

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, openWorld), and the description adds genuinely new operational context: a per-call price of 0.01 USDC on Base x402 and the X-Provider-Key header for customer-owned credentials. That is real cost/auth disclosure an agent needs before invoking. It stops short of stating units of the returned figure (per day/week) or any rate-limit or failure behavior.

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 sentences, front-loaded with the purpose, then the cost/auth caveat. No filler and no repetition of the tool name. The payment sentence is dense but each clause carries information an agent needs.

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?

There is no output schema, so the description bears responsibility for explaining what comes back, and it never says whether the result is sessions per day, per week, or per therapist-shift combination. It also omits any guidance on buffer_minutes, which is optional and therefore most in need of explanation. For a 5-parameter estimation tool this leaves a material gap.

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 coverage is nominally 100%, so the baseline is 3, and the description does map its four phrases onto rooms, therapists, shift hours and appointment spacing. However, the schema text is boilerplate ('see operation description for units and format') and the description supplies no units or time basis, while buffer_minutes is never addressed at all.

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 gives a specific verb+resource: 'Estimate ... total bookable sessions' for a physiotherapy or massage business, plus the input dimensions that drive the estimate (rooms, therapists, shifts, appointment spacing). It is easy to tell apart from neighbors like api_clinic_appointment_load or api_therapy_visit_scheduler, though it never names those alternatives explicitly.

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?

The domain is implied clearly ('physiotherapy or massage business'), which tells an agent roughly when this applies, but there is no explicit when-to-use/when-not guidance, no mention of prerequisites, and no routing to the sibling capacity or scheduling tools. Usage is inferable rather than stated.

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