Skip to main content
Glama

messages_bulk_delete

Body {message_sqids: ['abc','def']}. Deletes messages that have not been sent yet (status < SENT). Already-sent messages are skipped.

Method: POST /api/v1/workspaces/{workspace_sqid}/messages/bulk-delete/

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": {
      "body": "<body>",
      "subject": "<subject>"
    },
    "name": "messages_bulk_delete"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyYes
channelNo
subjectYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose one important trait: already-sent messages are skipped rather than raising an error, implying partial-success semantics on a bulk call. It says nothing about irreversibility, required permissions, or whether a count of skipped/deleted messages is returned, leaving significant gaps for a destructive operation.

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?

Three compact lines with no filler. The ordering is slightly off — the body payload example leads before the sentence explaining what the tool does — but nothing is redundant and the endpoint line is short.

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

Completeness3/5

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

For a destructive, no-annotation, no-output-schema bulk tool with three parameters, the description covers the core selection rule and the body shape but omits the required 'subject' parameter, the return payload, and permission requirements. Adequate to attempt a call, not complete enough to call it confidently.

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 0%, and the description does real work by revealing that 'body' is actually a JSON payload with a 'message_sqids' array, which the bare string schema does not convey. However, the required 'subject' parameter is never mentioned and its relevance to a delete call is unexplained, and 'channel' is left entirely to its enum description.

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

Purpose4/5

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

States a specific verb and resource ('Deletes messages') plus a scoping rule ('have not been sent yet, status < SENT'), and the name plus the body example ('message_sqids' array) make clear this is the bulk variant versus the singular 'messages_delete'. It does not explicitly name that sibling, so it stops short of a 5.

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?

Gives an implicit eligibility rule: only unsent messages are deleted, and sent ones are skipped. There is no explicit statement of when to prefer this over messages_delete, messages_bulk_approve, or messages_bulk_unapprove, nor any prerequisites such as workspace permissions, so guidance is inferred rather than stated.

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.