Skip to main content
Glama

create_workshop

Creates a new workshop definition together with at least one session (workshops_attributes). Required fields: name (multilingual hash) and workshops_attributes (non-empty). Image fields (banner_image, background_image) are not supported via this API. The response carries the workshop definition only; fetch the created session(s) and their GUIDs with list_sessions.

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>",
      "name": "<name>",
      "workshops_attributes": "<workshops_attributes>"
    },
    "name": "create_workshop"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesMultilingual hash. Must include the event's default language.
uuidYesEvent public UUID. Used in all event-scoped API paths.
priceNoPer-attendee_type price. Keys: attendee_type IDs (as strings) from `list_attendee_types`; values: numeric strings (e.g. "0", "150.00").
descriptionNoMultilingual description keyed by locale (`en`, `es`, `fr`, `pt`, `de`).
workshops_attributesYesObject with arbitrary keys; each value is one session.
show_for_attendee_typeNoWhitelist of attendee types that can see/book this workshop. Keys: attendee_type IDs (as strings) returned by `list_attendee_types`; values: "true" or "false". Omitting the field (or sending `{}`) hides the workshop from every attendee type — entries must be present and set to "true" to grant visibility.

Output Schema

NameRequiredDescriptionDefault
dataNo
statusNo

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 the write, open-world, non-idempotent, non-destructive profile, and the description adds real context beyond that: a hard minimum of one nested session, an explicit unsupported-field limitation, and the fact that the response contains the workshop only (not the created sessions). It stops short of stating failure modes or that retries will duplicate.

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?

Three short sentences, front-loaded with what gets created and the required fields, followed by the limitation and the follow-up call. The line breaks inside sentences are gratuitous but no sentence is wasted.

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?

For a 6-parameter nested write with an output schema, the description covers the essentials: required inputs, an unsupported field, and the fact that the returned payload omits the created sessions, which is exactly the kind of gap that would otherwise cause a second wrong call.

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 `name`, `uuid`, `price`, `show_for_attendee_type`, and the nested session shape. The description adds one genuine constraint the schema does not enforce — that `workshops_attributes` must be non-empty — but says nothing about `price` or `show_for_attendee_type` semantics.

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 verb and resource plus the composite nature of the operation: 'Creates a new workshop definition together with at least one session'. This distinguishes it from a plain session-creation call in substance, though it never names the sibling `create_session`, so the differentiation is implied rather than explicit.

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 concrete preconditions (required `name` and non-empty `workshops_attributes`) and an explicit exclusion ('Image fields ... are not supported via this API'), plus a post-call routing instruction to `list_sessions`. It does not, however, say when to prefer `create_session` or `update_workshop` over this tool.

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