Skip to main content
Glama

create_session

Creates a new session (Workshop slot) under a WorkshopDefinition. Required fields: start_date and end_date. The session inherits the WorkshopDefinition's name/description. Streaming, chat, Zoom and related integrations are not configurable via this API.

Precondition: the event must have multiple sessions enabled; otherwise the request fails with 422 "You cannot create a workshop session because multiple sessions are disabled for this event.". A workshop's first session is created through create_workshop (via workshops_attributes).

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": {
      "uuid": "<uuid>",
      "workshop_definition_guid": "<workshop_definition_guid>",
      "start_date": "<start_date>",
      "end_date": "<end_date>"
    },
    "name": "create_session"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoSession name; defaults to the workshop definition's name.
uuidYesEvent public UUID. Used in all event-scoped API paths.
end_dateYesEnd as `YYYY-MM-DD HH:MM:SS` in the event's timezone.
locationNoRoom or place shown to attendees.
start_dateYesStart as `YYYY-MM-DD HH:MM:SS` in the event's timezone.
descriptionNoSession description; defaults to the workshop definition's.
availabilityNo0 means unlimited.
attendance_modeNo`offline`, `online` or `mixed`.
show_on_registerNoWhether attendees can pick this session while registering.
booking_deadline_dateNoLast moment attendees can enroll, as `YYYY-MM-DD HH:MM:SS`; null for no deadline.
workshop_definition_guidYesWorkshopDefinition GUID.

Output Schema

NameRequiredDescriptionDefault
dataNo
statusNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Adds real behavior beyond the annotations: the inherited name/description semantics, the fact that streaming/chat/Zoom settings are not configurable here, and the exact 422 failure text for the disabled-multiple-sessions case. It does not cover authentication/permission requirements or what the response contains, but the mutation warning is otherwise well disclosed.

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 purpose, then a bolded Precondition heading, so an agent can scan it quickly. The long verbatim error string is defensible as a diagnostic aid but is the one element that could be trimmed.

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

Completeness5/5

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

For an 11-parameter mutation tool with full schema coverage and an output schema, the description supplies exactly the missing pieces: the parent-definition relationship, the sibling that handles the first-session case, and the gating precondition. Nothing an agent needs in order to call it correctly is absent.

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 100%, so the schema already documents every parameter, including the name/description inheritance defaults that the description repeats. The description adds only the framing of `start_date`/`end_date` as the required pair, which the schema's required list already conveys. Baseline 3 applies.

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?

Specific verb and resource: "Creates a new session (Workshop slot) under a WorkshopDefinition," immediately disambiguating it from create_workshop (which creates the parent definition/first session) and update_session. The parenthetical gloss of "session" as "Workshop slot" removes domain ambiguity.

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

Usage Guidelines5/5

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

Explicitly routes the agent to an alternative: "A workshop's first session is created through `create_workshop` (via `workshops_attributes`)." It also states the precondition under which this tool must not be used (multiple sessions must be enabled), so the when/when-not decision is fully specified.

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