Skip to main content
Glama

Create session

create_session

Create a new class session, optionally repeating on a recurrence pattern.

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": {
      "offering_id": "<offering_id>",
      "location_id": "<location_id>",
      "start_at": "<start_at>",
      "end_at": "<end_at>",
      "capacity": "<capacity>"
    },
    "name": "create_session"
  }
}

Input Schema

NameRequiredDescriptionDefault
end_atYesISO timestamp of the first occurrence's end.
repeatNoDefault 'none' (single session).
room_idNo
capacityYes
start_atYesISO timestamp of the first occurrence.
location_idYes
offering_idYes
repeat_countNoNumber of occurrences when repeating (max 52).
delivery_modeNoDefault 'in_person'.
instructor_idNoPrimary instructor UUID.
booking_statusNoDefault 'scheduled'.
repeat_weekdaysNo0=Monday..6=Sunday, for weekly/biweekly repeat on specific days.
repeat_monthdaysNoDay-of-month list, for monthly repeat on specific days.
waitlist_capacityNoDefault 0.
additional_instructorsNoExtra instructors (assistant/substitute), beyond the primary.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.8/5.0
Behavior2/5

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

Annotations already declare the operation is a non-read-only, non-destructive, non-idempotent, closed-world mutation, so the safety profile is covered structurally. The description adds nothing beyond that: it does not say whether creating a session generates bookings or notifications, whether capacity/waitlist constraints are enforced, what happens if the recurrence conflicts with existing sessions, or whether partial recurrence creation can occur. For a 15-parameter mutation with side effects, this leaves the behavior opaque.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The single sentence is front-loaded and free of filler, which is good, but its brevity is under-specification rather than economy for a tool with 15 parameters and recurrence branching. There is room to add high-value sentences without bloat.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With 15 parameters, five required, several interacting recurrence fields, and no output schema, the definition should explain how repeat interacts with repeat_count, repeat_weekdays, and repeat_monthdays, and what is returned (session id? occurrence ids?). None of that is present, leaving the agent to infer behavior from the schema alone.

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 73%, so most parameters (start_at, end_at, repeat, repeat_count, repeat_weekdays, repeat_monthdays, delivery_mode, booking_status, instructor_id, waitlist_capacity, additional_instructors) are already self-documented in the schema. The description only echoes the recurrence idea and adds no meaning beyond it, so the baseline of 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?

The description states a specific verb and resource ('Create a new class session') plus a scope qualifier ('optionally repeating on a recurrence pattern'), which is enough to separate it from update_session, delete_session, and the report/briefing siblings. It does not explicitly name a sibling to route away from, keeping it short of a 5.

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

Usage Guidelines2/5

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

There is no guidance on when to use this versus update_session, create_booking, or create_calendar_event, and no stated prerequisites such as needing a valid offering_id/location_id or instructor availability. The only usage signal is the implied 'use repeat if you want more than one occurrence', which the schema already conveys.

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