Skip to main content
Glama

chat_edit

Change the words of a message an agent posted for the user, at once; Undo is in their Activity. Never a message a person wrote (the user's own included), another person's agent's, or one where a client is, nor in an archived channel.

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": {
      "message": "<message>",
      "text": "<text>",
      "author": "<author>"
    },
    "name": "chat_edit"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYes
modelNo
authorYes
messageYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Beyond the annotations (readOnlyHint=false, destructiveHint=false, openWorldHint=false), it adds real behavioral context: the edit applies immediately ("at once") and is reversible via Undo in the user's Activity feed. That reconciles the non-destructive hint with an edit operation. It does not describe failure behavior or what an ineligible-target error looks like.

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?

One dense sentence that front-loads the action and revision behavior before the eligibility exclusions, so the critical information lands first. The semicolon-and-clause chain is slightly awkward to parse but contains no filler.

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?

Annotations cover the safety profile and there is no output schema, so the main remaining burden is parameter meaning — precisely where the description is silent. Eligibility is well covered, but with 0% schema coverage on four parameters the definition leaves an agent under-equipped to populate the call correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% across four parameters (message, text, author, model), and the description supplies no meaning for any of them. The reader must guess that "author" identifies the agent posting the message and what "model" is for. The eligibility rules touch the semantics indirectly but leave the actual fields undocumented.

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 concrete verb-and-resource pair ("change the words of a message") and immediately narrows the target to messages an agent posted for the user. That scoping makes it distinguishable from siblings like chat_post or chat_delete, though no sibling is named explicitly.

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 gives explicit when-not conditions: never a message a person wrote (including the user's own), never another person's agent's message, never one where a client is present, never in an archived channel. It stops short of naming an alternative tool for those cases, so the reader must infer where to go instead.

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.