Skip to main content
Glama

Discard the messages a channel held

colliedesk_channels_held_discard
Destructive

Throw away messages a channel held while it was off (all, or those of event_ids). It cannot be undone; the history keeps how many. To keep them, use colliedesk_channels_held_replay.

Needs: channels:update.

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": {
      "channel_id": "<channel_id>"
    },
    "name": "colliedesk_channels_held_discard"
  }
}

Input Schema

NameRequiredDescriptionDefault
event_idsNoLeave out for every held message.
channel_idYesFrom colliedesk_channels_list.

Output Schema

NameRequiredDescriptionDefault
discardedYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Beyond the destructiveHint/readOnlyHint annotations, it discloses that the action is irreversible and that the history still retains a count of what was discarded, plus the required permission scope 'channels:update'. It stops short of describing what happens to associated thread items or attachments, so it is strong but not exhaustive.

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?

Two short blocks: the destructive action and its irreversibility come first, the escape hatch to the sibling second, and the permission requirement last. No filler sentences and nothing buried.

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 destructive two-parameter tool with an output schema and full annotation coverage, the description supplies everything an agent needs: what is destroyed, whether it is reversible, what remains, the required scope, and the retention alternative.

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% and both parameters are documented in the schema (including 'Leave out for every held message' and the channel_id source). The description's '(all, or those of event_ids)' restates rather than extends that, so the baseline of 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?

Specific verb ('Throw away') plus a precise resource ('messages a channel held while it was off') and an explicit scope modifier ('all, or those of event_ids'). An agent can immediately distinguish this from the replay sibling without opening either schema.

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?

The description names the opposite operation's alternative explicitly — 'To keep them, use colliedesk_channels_held_replay' — which tells the agent exactly which tool to pick when the intent is retention rather than deletion. The parenthetical also clarifies the choice between discarding everything versus a subset.

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