Skip to main content
Glama

Delete a message

delete_message

Delete one message you sent, for both of you, at once and for good.

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": {
      "with": "<with>",
      "id": "<id>"
    },
    "name": "delete_message"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesMessage id
withYesHandle

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.1/5.0
Behavior1/5

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

The description states the deletion is 'at once and for good' and removes the message 'for both of you', i.e. an irreversible, destructive bulk removal of shared data. The annotations declare destructiveHint=false, which directly contradicts that claim and would mislead an agent into treating the call as non-destructive. The added detail is valuable in isolation, but it conflicts with the structured safety signal.

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?

A single short sentence that front-loads the verb and resource, then layers scope ('you sent'), effect ('for both of you'), timing ('at once') and permanence ('for good'). No filler or redundant restatement of the title.

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 two-parameter, fully described schema with no output schema, the description covers actor, scope and permanence, which is most of what an agent needs. It does not address failure modes (invalid id, wrong handle, already-deleted message) and its permanence claim conflicts with the destructiveHint flag, leaving the agent's risk model incomplete.

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 both parameters ('id' as message id, 'with' as handle) are already documented in the schema. The description adds the ownership constraint implied by 'you sent' but does not explain the pairing of id and with or what happens when the handle does not match the message author. Baseline 3 applies when the schema carries the parameter burden.

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?

The description names a specific verb and resource ('Delete one message') and narrows the scope with 'you sent', so an agent knows exactly which resource is affected. It stops short of naming or excluding any sibling, but no sibling in the list performs message deletion, so the risk of misrouting is low.

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?

'Delete one message you sent' implies the precondition that the message must be authored by the caller, which is a useful when-to-use constraint. However, there is no explicit statement of when not to use it, no mention of alternatives (e.g. message_timer for scheduled messages), and no note on what to do if the call fails.

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