Skip to main content
Glama

Generate Message

trillet_generate_message

Generates an AI message for a conversation so voice call agents can draft replies using only the conversation ID.

Instructions

Generate an AI message for a conversation.

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": {
      "conversationId": "<conversationId>"
    },
    "name": "trillet_generate_message"
  }
}

Input Schema

NameRequiredDescriptionDefault
conversationIdYesConversation ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.1/5.0
Behavior2/5

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

Annotations already disclose that this is not read-only, is open-world, is non-idempotent, and is non-destructive. The description adds no behavioral context beyond that, such as whether the generated message is persisted, whether it incurs AI-cost side effects, or what permissions are required.

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

Conciseness5/5

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

The description is a single front-loaded sentence with no filler or redundant wording. It is as concise as possible while still naming the core action and target.

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?

The tool is simple: one required parameter, full schema coverage, and annotations covering safety hints. However, the description does not explain what 'generate' produces or whether the message is stored, which matters for a non-read-only, non-idempotent operation.

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?

Schema description coverage is 100%, so the single conversationId parameter is already documented in the schema. The description adds only the contextual phrase 'for a conversation' and gives no additional syntax or constraints beyond what the schema provides.

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?

The description states a specific verb and resource: generate an AI message for a conversation. It is clear what the tool does, but it does not differentiate this operation from sibling message tools such as trillet_create_message_flow or trillet_handle_message_action.

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 gives no guidance on when this tool should be used instead of alternatives. It names no prerequisites, exclusions, or sibling tools that cover related tasks.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.