Skip to main content
Glama

Create UnifiedMessage

unifiedmessage_create

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

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "unifiedmessage_create"
  }
}

Input Schema

NameRequiredDescriptionDefault
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

C2.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false and destructiveHint=false. The description adds genuinely useful context beyond that: writes occur under the caller's own account permissions ("the same as the site") and omitting confirm yields a preview that persists nothing — a real safety gate the agent could not otherwise know. It does not cover validation failures, required-field behavior, or what a successful create 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 tight sentences with the creation scope front-loaded and the preview caveat second. Nothing is wasted, though the second sentence duplicates the confirm parameter description.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 22-parameter, zero-required mutation with no output schema, the definition is far too thin. An agent cannot know which fields are needed for a valid create, how message_type or sender_type interact, or what the preview response contains, so trial and error is likely.

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 9% across 22 parameters, so the description carries the burden and mostly does not. It usefully explains confirm (omitted = preview, saves nothing), but says nothing about content, conversation_id, sender_id, media_url, or any of the other 19 fields an agent must populate to create a meaningful message.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb and resource ("Creates UnifiedMessage"), so the action is unambiguous. However, it never distinguishes this tool from the sibling message_create or unifiedmessage_update, leaving the agent unable to tell which create path to pick.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

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

It implies the tool is used for creating messages but gives no when-to-use guidance versus message_create, no prerequisites, and no conditions beyond the confirm preview behavior. The agent must infer the selection rule from sibling names alone.

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.