Skip to main content
Glama

Update UnifiedMessage

unifiedmessage_update
DestructiveIdempotent

Updates UnifiedMessage with your own account permissions, the same as the site. Without confirm it shows a preview and saves nothing.

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

Input Schema

NameRequiredDescriptionDefault
idYesRow id (uuid).
statusNo
confirmNoSaves the change. Omitted: shows a preview and saves nothing.
contentNo
edited_atNo
is_editedNo
media_urlNo
sender_idNo
push_stateNo
sender_typeNo
message_typeNo
ai_session_idNo
call_metadataNo
media_metadataNo
sms_history_idNo
call_history_idNo
conversation_idNo
delivery_statusNo
is_ai_generatedNo
consumer_user_idNoAct on this seat (own seat, account owner or admin, or staff). Same checks as the site.
message_metadataNo
parent_message_idNo
sender_identifierNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / consumer_user_id
      Added value: +{
      +  "description": "Act on this seat (own seat, account owner or admin, or staff). Same checks as the site.",
      +  "type": "string"
      +}
  2. Added

TDQS

B3.4/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and idempotentHint=true, but the description adds genuinely load-bearing behavior: writes happen under the caller's own account permissions, and without confirm nothing is persisted. That dry-run-by-default contract is not visible in the annotations and materially changes how an agent should call it. It stops short of describing what happens to unspecified fields or what a preview returns.

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 short sentences, front-loaded with the action and the permission constraint, with the preview rule second. The phrase "the same as the site" is slightly vague but does not waste much space.

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 23-parameter mutation with no output schema, the definition covers the confirm gating and permission model but leaves a large surface unexplained: partial vs full update semantics, which fields are writable, and how nested metadata objects behave. Adequate to avoid a destructive surprise, insufficient to call it confidently.

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 coverage is only 13% across 23 parameters; aside from id, confirm, and consumer_user_id, the schema lists names with no descriptions. The description adds no meaning for the roughly 20 undocumented fields (status, content, edited_at, media_*, delivery_status, message_metadata, etc.), so an agent gets no help on what is editable or how nested objects are treated.

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?

States a specific verb and resource ("Updates UnifiedMessage") and adds the permission scope, so the agent knows this is a scoped mutation. It does not differentiate from the sibling message_update, which is the most likely source of confusion.

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?

The description gives the key operational rule — omit confirm for a preview, include it to save — which effectively tells the agent the two-step usage pattern. It offers no guidance on when to pick this versus message_update or unifiedmessage_create.

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.