Skip to main content
Glama

Create Agent

create_agent

Create a reusable voice Agent profile: persona, greeting, voice, language, tools and knowledge. Does not place a call. Use saved tool IDs; configure connection settings privately in the PyAI console. Never supply credentials.

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
bodyYesWritable agent fields. On update, present fields are set, `null` clears, absent fields are untouched.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already flag a non-read-only, open-world, non-idempotent write, so the lower bar applies; the description still adds real behavior: no call is placed, credentials and connection settings are rejected by design, and those are configured privately in the console. It does not mention what a repeated create does (no idempotency warning), which is a modest gap.

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?

Three short sentences, front-loaded with what is created, then the key scope boundary, then the credential constraint. No redundant restatement of the schema.

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

Completeness4/5

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

For a create tool with a fully documented nested schema and annotations, the description supplies the essential preconditions and safety constraints. The only missing piece is what comes back from a successful creation, which matters slightly since no output schema exists.

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% and the nested body is extensively self-documented, so baseline is 3; the description still adds meaning by telling the agent to pass only saved tool IDs and that credentials/connection settings are out of scope, which shapes how the tools field should be populated.

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 ('Create a reusable voice Agent profile') and enumerates the field families it covers (persona, greeting, voice, language, tools, knowledge). 'Does not place a call' explicitly separates it from telephony_create_call, and the 'Create' verb distinguishes it from update_agent.

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 operational context for using it: bind tools via saved tool IDs, configure connection settings in the console, never supply credentials, and it does not itself place a call. No explicit condition naming when to call update_agent instead, which keeps it below a 5.

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.