Skip to main content
Glama

messages_update

Messages with status NEW, REVIEW_REQUIRED, or APPROVED can be edited (subject, body, scheduled_at). Once SENT, edits are rejected — sent messages are part of the audit trail.

Method: PATCH /api/v1/workspaces/{workspace_sqid}/messages/{sqid}/

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": {
      "sqid": "<sqid>"
    },
    "name": "messages_update"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyNo
sqidYes
channelNo
subjectNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations, the description must carry the full load. It discloses the status gate and the reason edits fail (audit trail), which is valuable. It omits whether this is a partial PATCH (unspecified fields untouched), what happens on rejected edits (error shape/status code), and any permission requirements.

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?

Two tight sentences with the eligibility rule front-loaded, followed by the endpoint. No filler. The scheduled_at mention is a minor liability in an otherwise efficient statement.

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 an unannotated mutation with no output schema, the essential gating rule is covered. However, the description leaves one of four parameters undocumented and references a field the schema does not accept, so an agent relying on it alone could mis-specify the call.

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% for four parameters, so the description should compensate but only partly does. It names subject and body but omits the channel parameter, whose enum the agent must dig out of the schema, and it advertises 'scheduled_at' — which is not in the input schema at all. Length constraints (minLength/maxLength) and the required sqid are not addressed.

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 ('can be edited (subject, body, scheduled_at)') and enumerates the eligible statuses, so an agent can separate this from siblings like messages_approve, messages_bulk_delete, or messages_mark_replied without opening the schema. The PATCH endpoint line reinforces that this is a modification of an existing message.

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?

Clear preconditions: only NEW, REVIEW_REQUIRED, or APPROVED messages may be edited, and an explicit negative case ('Once SENT, edits are rejected — sent messages are part of the audit trail'). It does not name an alternative tool for sent-message needs, but the exclude condition is unambiguous.

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.