Skip to main content
Glama

Update Interaction

webinarstack.webinars.interactions_update
Idempotent

Replace all fields on an existing poll or CTA interaction on a tenant-owned webinar. NOTE: This is a REPLACE-not-merge operation — omitted type-specific fields reset to their defaults. To change one field, call interactions_get first to retrieve the current values, then resend the full body with your change applied. The type discriminator (cta|poll) is immutable after creation — attempting to change it returns VALIDATION_ERROR; create a new interaction with the desired type instead. Exception to replace semantics: omitting segmentId or timeline keeps the stored value; send segmentId: null to show the item in every segment. Exception for polls: an omitted optionSpecs is derived from the stored answers, so unchanged answers keep their ids. Renaming a poll answer rewrites the branch rules that route on it to the new text in the same write.

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

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
interactionIdYesID of the interaction to update
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.6/5.0
Behavior4/5

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

Goes well beyond the annotations by disclosing replace-not-merge semantics, the VALIDATION_ERROR on type changes, and even a cross-resource side effect (renaming a poll answer rewrites branch rules that route on it). One tension: destructiveHint=false understates that omitted fields are reset to defaults, so an agent could read the annotations and assume a safe merge; the description carries that burden itself, which is the right place for it.

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

Conciseness5/5

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

Front-loads the core action, then the replace-vs-merge warning, then the remedy, then immutability, then exceptions — a deliberate ordering that puts the data-loss risk before the workflow. Dense but every sentence carries a distinct rule; no filler.

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 24-parameter mutation with no output schema, it covers the semantics an agent most needs to avoid silently wiping configuration, and the annotations cover safety and idempotency. Remaining gaps are the response shape and any permission or webinar-state prerequisites (e.g. whether the webinar must be a draft), which the agent must discover by failure.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

At 8% schema coverage across 24 parameters the description has to compensate, and it does for the highest-risk ones: `type` immutability, `segmentId` null vs omit vs keep, and `optionSpecs` being derived from stored answers when omitted. It also supplies the governing rule for everything else (omitted type-specific fields reset to defaults), though individual fields like countdownMode, resultsDisplayMode, and customAggregatePercentages remain undocumented anywhere.

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?

"Replace all fields on an existing poll or CTA interaction on a tenant-owned webinar" gives a specific verb (replace), resource (interaction), the two subtypes, and the ownership scope. It also implicitly separates itself from interactions_create by noting that an immutable `type` requires creating a new interaction instead.

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 prescribes the partial-change workflow (call interactions_get first, then resend the full body with the change applied) and explicitly redirects the impossible case to a different tool ("create a new interaction with the desired type instead"). No inference needed about when to use this versus get or create.

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