Skip to main content
Glama

widgets_delete

DestructiveIdempotent

Delete a livechat widget permanently.

This will remove the widget and its embed code will stop working. Its conversations and their messages are deleted with it: the widget IS the channel, and thread.channel_account_id cascades.

Use this when user wants to remove a chat widget.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
widget_idYesID of the widget to delete
in_workspaceNoRun this one call in this workspace id instead of the session's. Nothing is stored; other sessions are not affected.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / in_workspace
      Added value: +{
      +  "description": "Run this one call in this workspace id instead of the session's. Nothing is stored; other sessions are not affected.",
      +  "type": "integer"
      +}
  2. Added
  3. Removed
  4. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true, idempotentHint=true, and readOnlyHint=false, but the description adds substantial behavior the annotations cannot convey: the embed code stops working, and conversations plus their messages are deleted because the widget IS the channel with thread.channel_account_id cascading. This is exactly the blast-radius detail an agent needs before invoking a destructive tool.

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?

Three tight sentences, front-loaded with the destructive verb and permanence, then the consequences, then the usage trigger. No filler and no repetition of the title or schema.

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 a two-parameter destructive delete with no output schema, the description covers permanence, collateral destruction (conversations/messages), and the cascade mechanism. There is nothing else an agent needs in order to call this correctly and safely.

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 100%, so widget_id and in_workspace are already documented in the schema ('ID of the widget to delete', the workspace override semantics). The description adds no syntax or format detail beyond that, so the 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?

Opens with a specific verb+resource+scope: 'Delete a livechat widget permanently.' This is unambiguously distinguishable from siblings like widgets_update, widgets_get, and widgets_get_embed_code without opening any 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?

Explicitly states the triggering condition: 'Use this when user wants to remove a chat widget.' It gives clear context for when to invoke, but names no alternatives or exclusions (e.g., when to prefer widgets_update for non-destructive changes), which is the only thing separating it from a 5.

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.