Skip to main content
Glama

Delete Interaction

webinarstack.webinars.interactions_delete
Destructive

Permanently delete a poll or CTA interaction from a tenant-owned webinar. This action is irreversible and high-risk on a live webinar where polls and CTAs display to real attendees. WARNING: Deleting a poll permanently removes all its recorded poll_vote_snapshots (per-attendee votes) via ON DELETE CASCADE — this data is NOT recoverable from the returned snapshot (the snapshot recreates the poll config only, not the vote data). Deleting a CTA offer clears the attribution_offer_id pointer on any purchase_records via ON DELETE SET NULL — the revenue and refund ledger rows survive, only the attribution link is lost. Before deleting, consider whether the interaction has live engagement. The response returns a full snapshot of the deleted interaction for config-only recovery. The delete warning and undo window of the dashboard editor do not apply to API deletes: this delete is permanent and takes effect immediately.

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>",
      "interactionId": "<interactionId>"
    },
    "name": "webinarstack.webinars.interactions_delete"
  }
}

Input Schema

NameRequiredDescriptionDefault
webinarIdYes
interactionIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Annotations already flag destructiveHint=true, yet the description goes far beyond that by disclosing the exact cascade behavior: poll_vote_snapshots are removed via ON DELETE CASCADE and are unrecoverable, while CTA deletion only nulls attribution_offer_id via ON DELETE SET NULL and leaves revenue/refund ledger rows intact. It also clarifies that the returned snapshot restores configuration only, not vote data, and that the dashboard's undo window does not apply to API deletes.

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?

The permanent/irreversible warning is front-loaded and the cascade details are well organized by interaction type. There is some redundancy at the end, where 'this delete is permanent and takes effect immediately' restates the opening 'irreversible' claim, but the density of useful information justifies the length.

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 two-parameter destructive tool with no output schema, the description covers the return value (a config-only snapshot), the data-loss consequences, and the lack of an undo path. It stops short of mentioning permission or authorization requirements for deleting a tenant-owned interaction, which is the main remaining gap.

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?

Schema description coverage is 0%, so the description must carry the semantic load. It does so partly by typing interactionId as a poll or CTA interaction and webinarId as a tenant-owned webinar, which tells the agent what kind of entity each UUID refers to. It does not discuss ID resolution or behavior when the interaction belongs to a different webinar, so it falls short of full compensation.

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?

The opening sentence names a specific verb (delete), a specific resource (a poll or CTA interaction), and the ownership scope (tenant-owned webinar). An agent can immediately distinguish this from interactions_update, interactions_get, or interactions_list 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 Guidelines3/5

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

The description gives a caution ('Before deleting, consider whether the interaction has live engagement') but never names an alternative path, such as using interactions_update to disable or hide the interaction instead of deleting it. Usage is implied by the risk framing rather than stated as an explicit when-to-use/when-not-to-use rule.

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