Skip to main content
Glama

Delete own chat message

chat_delete
Destructive

Delete from the widget. Widget only.

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": {
      "hub": "<hub>",
      "id": "<id>"
    },
    "name": "chat_delete"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesmessage id
hubYeshub key

Output Schema

NameRequiredDescriptionDefault
hubYes
doneYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.7/5.0
Behavior2/5

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

Annotations already declare destructiveHint=true, idempotentHint=false, and readOnlyHint=false, so the safety profile is covered. The description adds only a scope note ('widget only'); it does not say what happens on deleting an already-deleted message, whether the 'own message' restriction will cause a failure, or anything about the effect on the conversation.

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

Conciseness3/5

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

It is short and front-loaded, but the second sentence ('Widget only.') largely restates the first ('from the widget'), so one of two sentences is redundant. Brevity here reflects under-specification rather than disciplined concision.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return values need not be explained, and annotations cover the destructive nature. Still, for a destructive mutation the definition leaves the 'widget' surface undefined and never mentions the 'own message' restriction from the title, which is the detail most likely to cause a failed or wrongly-targeted 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 description coverage is 100% — both 'id' and 'hub' are documented in the schema — so the baseline is 3. The description adds no meaning beyond the schema, not even clarifying that 'hub' identifies the widget's hub.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The verb 'Delete' is explicit, but the resource is only 'from the widget' — an undefined surface — and the crucial scope from the title ('own' chat message) never appears in the description. An agent can guess this is chat deletion scoped to widgets, but must open the schema or title to know what is actually deleted.

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?

'Widget only' functions as a usage constraint, implicitly steering agents away from the hub-chat siblings such as delete_hub_chat_message. However, it never states when this tool should be chosen over those alternatives, nor any prerequisites (e.g., that only your own messages can be deleted).

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