Skip to main content
Glama

session_message_create

Destructive

Send a user message and wait for the submitted turn to finish

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": {
      "workspaceSlug": "<workspaceSlug>",
      "sessionId": "<sessionId>",
      "body": "<body>"
    },
    "name": "session_message_create"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyYes
waitMsNo
sessionIdYes
backgroundNo
workspaceSlugYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / body / properties / tier / enum
      Previous value: -[
      -  "frontier",
      -  "balanced",
      -  "economy",
      -  "openai-frontier",
      -  "openai-max",
      -  "anthropic-frontier",
      -  "anthropic-max",
      -  "anthropic-balanced",
      -  "google-recommended",
      -  "google-balanced"
      -]New value: +[
      +  "frontier",
      +  "balanced",
      +  "economy",
      +  "openai-frontier",
      +  "openai-max",
      +  "anthropic-frontier",
      +  "anthropic-max",
      +  "anthropic-balanced",
      +  "google-frontier",
      +  "google-recommended",
      +  "google-balanced"
      +]
  2. Changed1 schema field changed
    • changedInput schema / properties / body / properties / tier / enum
      Previous value: -[
      -  "frontier",
      -  "balanced",
      -  "economy",
      -  "openai-frontier",
      -  "openai-max",
      -  "anthropic-frontier",
      -  "anthropic-max",
      -  "anthropic-balanced",
      -  "google-recommended"
      -]New value: +[
      +  "frontier",
      +  "balanced",
      +  "economy",
      +  "openai-frontier",
      +  "openai-max",
      +  "anthropic-frontier",
      +  "anthropic-max",
      +  "anthropic-balanced",
      +  "google-recommended",
      +  "google-balanced"
      +]
  3. First observed

TDQS

C2.7/5.0
Behavior2/5

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

Annotations declare readOnlyHint=false, destructiveHint=true, and openWorldHint=true, so the safety burden is largely on the description, yet it says nothing about why this is destructive or what external side effects occur. Worse, "wait for the submitted turn to finish" is contradicted by the exposed background and waitMs parameters, which imply the caller can opt out of waiting; the description never reconciles that.

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?

A single short sentence, front-loaded with the action, with no filler. It is efficient, though its brevity is under-specification rather than discipline given the tool's complexity.

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?

The tool has a deeply nested input object, no output schema, and non-trivial pacing semantics (background/waitMs up to 720000 ms), yet the description covers none of the return behavior, blocking versus backgrounded execution, or payload structure. For a mutation tool with destructiveHint=true, this is substantially incomplete.

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 5 parameters plus a nested body with tier, images, attachments, behavior, dictated, and sourceSessionId fields. The description clarifies only that a message body is sent and that the call waits, giving no meaning to workspaceSlug, sessionId, background, waitMs, or the body sub-fields, so it fails to compensate for the coverage gap.

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 ("Send a user message") plus the lifecycle effect ("wait for the submitted turn to finish"), so the core operation is unambiguous. It offers no differentiation from near-identical siblings such as agent_session_default_message_create or session_answer, so an agent cannot tell which to pick from the text alone.

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?

Provides no when-to-use guidance: nothing about preferring this over session_answer, session_interrupt, or the agent-default message variant, and no exclusions. The blocking behavior is mentioned but never framed as a reason to choose or avoid the tool.

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