Skip to main content
Glama

Create a voice agent

create_agent

Create a voice agent

Creates a voice agent and provisions it in the voice engine in the same request, so the agent is ready to take calls as soon as the call succeeds. Only name and language are required; every other field falls back to a platform default, and language is normalised to a two-letter code, so a value like "german" is stored as de. The response is a short acknowledgement rather than the full agent, so read the agent back if you need the stored configuration. The new agent is created with status active and is owned by the account behind the key, or by the reseller for a reseller key.

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": {
      "body": "<body>"
    },
    "name": "create_agent"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyYesThe agent configuration. `systemToolsConfig` switches on the built-in call-control tools, and `transferNumbers` lists the numbers the agent may hand a call over to.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare readOnlyHint=false and idempotentHint=false, and the description adds context the annotations cannot carry: provisioning happens synchronously, the response is a bare acknowledgement rather than the created object, the agent starts as `active`, and ownership depends on whether the key is account-level or reseller-level. It also discloses the language normalisation side effect, which matters for callers verifying stored data.

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?

Dense and front-loaded: provisioning behaviour first, then requirements/defaults, then response shape, then ownership. The only waste is the opening line restating the title before the real sentence begins.

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

Completeness5/5

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

For a create tool with one deeply nested body and no output schema, the description supplies exactly the missing pieces: required-only fields, defaults for the rest, and an explicit warning that the response is not the full agent. An agent can call this correctly and know what to do afterwards.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3; the description earns an extra point by stating that only `name` and `language` are required, that everything else falls back to platform defaults, and that `language` is normalised ("german" -> `de`) — meaning not evident from the field descriptions alone.

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

Purpose5/5

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

States a specific verb and resource ("Creates a voice agent and provisions it in the voice engine in the same request") and clarifies the post-create state ("ready to take calls", status `active`). It also implicitly distinguishes itself from `get_agent` by saying the create response is only an acknowledgement and the agent must be read back.

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

Usage Guidelines4/5

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

Gives clear context for use (create + provision in a single request) and useful follow-up guidance ("read the agent back if you need the stored configuration"). It does not name explicit exclusions or say when to prefer a sibling such as `update_agent`, so it stops short of the top score.

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.