Skip to main content
Glama

Create Interaction

webinarstack.webinars.interactions_create

Create a new poll or CTA offer on a tenant-owned webinar. Call interactions_find_matching BEFORE creating to avoid duplicate interactions at the same timeline position that would confuse live attendees seeing two competing polls or CTAs. Accepts a flat input with type discriminator (cta|poll) + base fields + type-specific optional fields. The service layer enforces type-discriminated validation — a cta payload carrying poll-only fields (e.g. options) returns VALIDATION_ERROR; a cross-tenant webinarId returns NOT_FOUND. Set segmentId to place the item in one segment of an adaptive webinar (Live timeline only); a segment of another webinar is rejected.

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": {
      "webinarId": "<webinarId>",
      "type": "<type>",
      "appearsAtSeconds": "<appearsAtSeconds>",
      "endsAtSeconds": "<endsAtSeconds>",
      "headline": "<headline>"
    },
    "name": "webinarstack.webinars.interactions_create"
  }
}

Input Schema

NameRequiredDescriptionDefault
typeYes
optionsNo
headlineYes
iconNameNo
imageUrlNo
timelineNo
buttonUrlNo
segmentIdNoSegment of an adaptive webinar this item plays in. Live timeline only. null = every segment. On update, omit to keep the current link.
webinarIdYes
choiceModeNosingle
buttonColorNo
buttonLabelNo
descriptionNo
optionSpecsNo
internalNameNo
countdownModeNo
endsAtSecondsYes
buttonTextColorNo
appearsAtSecondsYes
countdownSecondsNo
aggregateMinVotesNo
resultsDisplayModeNosession
customAggregatePercentagesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / segmentId
      Added value: +{
      +  "anyOf": [
      +    {
      +      "format": "uuid",
      +      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "Segment of an adaptive webinar this item plays in. Live timeline only. null = every segment. On update, omit to keep the current link."
      +}
  2. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations only declare write/non-idempotent/non-destructive; the description adds real substance beyond that: type-discriminated validation with a concrete failure case (cta payload with poll-only `options` → VALIDATION_ERROR), cross-tenant `webinarId` → NOT_FOUND, and segment cross-webinar rejection. It omits what a successful call returns, which matters because there is no output schema.

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 purpose, then the duplicate-avoidance prerequisite, then the payload shape, then failure semantics — a logical order. Four dense sentences with no filler, though the last sentence mixes segment placement rules and cross-webinar rejection in a way that could be split for scanability.

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?

For a 23-parameter mutation tool with no output schema and near-zero schema descriptions, the definition covers the discriminative logic and the main pitfalls well. It still leaves an agent unable to predict what a successful create returns or how most of the poll/CTA configuration fields behave, so it is adequate rather than complete.

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 4% across 23 parameters, so the description must carry the load. It does explain the critical structural contract — a flat payload with a `type` discriminator (cta|poll) plus base and type-specific optional fields — and clarifies segmentId's Live-timeline restriction. However, the many type-specific fields (countdownMode, resultsDisplayMode, aggregateMinVotes, customAggregatePercentages, optionSpecs, choiceMode, timeline) get no semantic treatment beyond 'type-specific optional fields'.

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?

States a specific verb and resource ('Create a new poll or CTA offer on a tenant-owned webinar') and names the two supported item types. The tenant-owned scoping plus the reference to interactions_find_matching/interactions_update lets an agent place this tool among its siblings without opening a schema.

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 an explicit prerequisite workflow: call interactions_find_matching BEFORE creating to avoid duplicate interactions at the same timeline position, with the consequence spelled out (confused live attendees). It stops short of stating when not to create (e.g. update an existing interaction instead of creating a near-duplicate), so no explicit alternatives are named.

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