Skip to main content
Glama

Moneda

undo_message_reply

Undo a reply the user just sent to a message from Moneda. Only call this when the user asks to undo, and only within 10 seconds of sending (until the reply's undoableUntil); afterwards it fails with "too late". The reply and its document are deleted and the message asks for a reply again.

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": {
      "replyId": "<replyId>"
    },
    "name": "undo_message_reply"
  }
}

Input Schema

NameRequiredDescriptionDefault
replyIdYesId of the reply, from reply_to_moneda_message.

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?

Annotations only say readOnlyHint=false and destructiveHint=false; the description adds the real behavioral payload: the 10-second window with the field name that exposes it, the exact error condition, what gets removed (the reply and its document), and the resulting state (the message asks for a reply again). The one soft spot is that 'deleted' sits in mild tension with destructiveHint=false, though since the deleted data was created by the reply being reverted, the net effect is restorative.

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?

Three tight sentences: what it does, when it is permitted, and what the effect is. No restatement of the name or filler, and the permission precondition is front-loaded.

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 single-parameter revert tool with no output schema, the description covers the trigger, the time limit, the failure mode, the side effects, and the post-state. Nothing an agent needs in order to call it safely is missing.

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?

Only one parameter and the schema already documents it at 100% coverage ('Id of the reply, from reply_to_moneda_message'). The description adds no format, lookup, or validation detail about `replyId` beyond what the schema states, 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?

States a specific verb and resource ('Undo a reply ... sent to a message from Moneda') and implicitly separates it from reply_to_moneda_message and list_message_replies by naming the exact artifact being reverted and the source tool that produced the replyId. An agent can identify the operation 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 Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives an explicit gating condition ('Only call this when the user asks to undo') plus a hard temporal constraint (within 10 seconds, bounded by `undoableUntil`) and the failure outcome ('too late'). It tells the agent both when to call and when it is already too late.

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