Skip to main content
Glama

Create Call Flow

trillet_create_call_flow

Create a new voice call flow with prompts, welcome messages, routing nodes, transfer/compliance settings, and webhooks for outbound or bidirectional calls.

Instructions

Create a new call flow with voice interaction configuration.

Args:

  • name, direction (outbound|bidirectional): required

  • prompt, description, agent, folderId: optional

  • welcomeMessage: user_initiated | ai_dynamic | ai_custom

  • settings: voice, compliance, transfers, knowledge base config

  • flowData: nodes and edges for call routing

  • webhooks, dynamicVariableCollections: optional

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": {
      "name": "<name>",
      "direction": "<direction>"
    },
    "name": "trillet_create_call_flow"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesCall flow name
agentNoAgent ID to assign
promptNoPrimary interaction prompt
flowDataNoNodes and edges defining call routing
folderIdNoFolder ID to place flow in
isActiveNoActive status
isGlobalNoGlobal flow flag
settingsNoFlow settings (voice, compliance, transfers, etc.)
webhooksNoWebhook configurations
directionYesCall direction
promptTypeNoPrompt typesimple
descriptionNoFlow description
welcomeMessageNoWelcome message mode
customWelcomeMessageNoCustom greeting (when welcomeMessage is ai_custom)
dynamicVariableCollectionsNoVariable collections

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnly=false, destructive=false, openWorld=true and non-idempotent, so the safety profile is covered. The description adds that the created resource bundles voice settings, compliance, transfers and knowledge base config, which hints at the breadth of the write, but says nothing about permissions, validation failures, or whether repeated calls create duplicates (a real concern given idempotentHint=false).

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?

The purpose sentence is front-loaded and the Args block is scannable with no filler prose. It is slightly redundant against a schema that is already fully annotated, but nothing is padded or repeated within the description itself.

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 15-parameter, nested-object creation tool with no output schema, the description is incomplete: it never explains the shape expected for flowData (nodes/edges), settings, or webhooks, which is exactly where an agent is most likely to fail. It also does not say what the creation returns (e.g. an ID) that a follow-up call would need.

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 schema already documents all 15 parameters individually; the Args block mostly restates the required/optional split and the two enums. The one modest addition is grouping settings into voice/compliance/transfers/KB, which gives a hint of intent the flat schema does not.

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 first sentence gives a specific verb and resource ("Create a new call flow") plus a scope note about voice interaction configuration, which cleanly separates it from the update/get/delete call-flow siblings. It does not explicitly name an alternative, but the create-vs-update distinction is unambiguous from the name and verb.

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 body is an argument inventory, not usage guidance: there is no statement of when to choose this over trillet_create_message_flow, no prerequisites (e.g. needing a folder or agent first), and no note on what a caller should do if a flow with the same name exists. The agent must infer the invocation context entirely.

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