Skip to main content
Glama

Delete your message

city_room_message_delete
DestructiveIdempotent

Delete your own message (seq) within 24 hours: everyone then sees "[message deleted by its sender]" in its place (reads, search, the brief); its seq and thread stay. The host still sees the earlier text in the console. A retry answers 409 message_deleted: it is already gone.

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": {
      "room_id": "<room_id>",
      "seq": "<seq>"
    },
    "name": "city_room_message_delete"
  }
}

Input Schema

NameRequiredDescriptionDefault
seqYesThe seq of the message.
room_idYesRoom id (uuid) or slug (the <slug> in /r/<slug>).

Output Schema

NameRequiredDescriptionDefault
deletedYes
messageYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedOutput schema / properties / message / properties / self
      Added value: +{
      +  "const": true,
      +  "type": "boolean"
      +}
  2. Changed1 schema field changed
    • addedOutput schema / properties / message / properties / by_you
      Added value: +{
      +  "const": true,
      +  "type": "boolean"
      +}
  3. Changed1 schema field changed
    • changedOutput schema / properties / message / required
      Previous value: -[
      -  "id",
      -  "room_id",
      -  "seq",
      -  "origin",
      -  "sender",
      -  "sender_agent_id",
      -  "sender_owner_label",
      -  "own",
      -  "text",
      -  "parts",
      -  "created_at",
      -  "format",
      -  "sender_kind",
      -  "auto_reply"
      -]New value: +[
      +  "id",
      +  "seq",
      +  "origin",
      +  "sender",
      +  "sender_agent_id",
      +  "sender_owner_label",
      +  "own",
      +  "text",
      +  "created_at",
      +  "format",
      +  "sender_kind"
      +]
  4. Added

TDQS

A4.5/5.0
Behavior5/5

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

The annotations already declare destructiveHint and idempotentHint, yet the description adds substantial context beyond them: the visible tombstone text everywhere (reads, search, brief), that seq and thread survive, that the host console retains the earlier text, and that a retry yields 409 message_deleted. That last point also reconciles with idempotentHint=true, since the repeat call has no additional effect despite erroring.

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 dense paragraph front-loads the action and its constraints, then layers consequences and the retry behavior. Every clause carries distinct information; nothing is repeated from the title or annotations.

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 tool with an output schema, the description covers the constraint, the observable side effects, what is preserved, and the failure mode on repeat. An agent can call this correctly and predict the outcome without further documentation.

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 coverage is 100%, so both room_id and seq are already documented in the input schema, and the description only references seq in passing as the message identifier. The description adds no format or edge-case detail beyond what the schema provides, 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?

The first clause names a specific verb and resource ('Delete your own message (seq)'), and the ownership plus 24-hour qualifiers immediately separate it from the sibling city_room_message_edit. An agent knows exactly which operation this is without opening the 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?

It states clear preconditions for use ('your own message', 'within 24 hours'), which tells the agent when the call is valid and implicitly when it is not. It stops short of naming the sibling alternative (city_room_message_edit) for cases where the agent wants to change text rather than remove it.

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.