Skip to main content
Glama

Send Direct Message

send_direct_message
Idempotent

Execute the canonical Direct Session send_direct_message operation. Requires an Authorization: Bearer header.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
messageYesCanonical message argument for the send_direct_message Direct Session operation.
session_idYesCanonical session id argument for the send_direct_message Direct Session operation.
idempotency_keyYesRequired mutation idempotency key, shared across REST, MCP, and A2A.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
okYesTrue when the upstream exchange call succeeded (HTTP status < 400).
dataYesCanonical send_direct_message result. Null when ok is false.
errorYesIn-band error code or message when ok is false; null on success.
statusYesUpstream HTTP status code returned by the Conductor Relay API.

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Changed2 schema fields changed
    • addedInput schema / properties / message / description
      Added value: +"Canonical message argument for the send_direct_message Direct Session operation."
    • addedInput schema / properties / session_id / description
      Added value: +"Canonical session id argument for the send_direct_message Direct Session operation."
  2. Added

TDQS

C2.4/5.0
Behavior3/5

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

Annotations already indicate that this is a non-read-only, idempotent, non-destructive operation. The description adds the requirement for an Authorization: Bearer header, which is a behavioral detail not captured in annotations. However, it does not describe side effects, return behavior, or any other operational nuances, so the added transparency is minimal but present.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is very short, with only two sentences, but the first sentence is largely redundant with the tool name and title. The second sentence about the auth header is useful. There is minimal verbosity, but the description is under-specified, making it less effective than a concise, information-rich version could be.

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 mutation tool in a complex domain with many sibling operations, the description is insufficient. It lacks critical context about what a direct message is, whether the session must be active, how it relates to session lifecycle, and potential error conditions. The output schema and annotations provide some structure, but the description is too thin to confidently invoke the tool correctly.

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

Parameters3/5

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

The schema has 100% description coverage for all three parameters, though the descriptions are formulaic ('Canonical ... argument'). The tool description itself does not add any parameter-level meaning beyond what the schema provides. Baseline for high schema coverage is 3, and the description fails to elevate it further.

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

Purpose2/5

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

The description states 'Execute the canonical Direct Session send_direct_message operation,' which essentially restates the tool name and title. It does not explain what sending a direct message does or how it differs from sibling operations like open_direct_session or close_direct_session. This is a tautological description that fails to convey the tool's actual function.

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?

The description provides no guidance on when to use this tool versus alternatives. It does not mention any prerequisites, such as having an active direct session, or when not to use it. The only note about requiring an Authorization: Bearer header is a general authentication requirement, not specific usage context.

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.