Skip to main content
Glama

Create Agent

agent_create
Idempotent

Creates a new unpublished Agent and returns its saved draft, request key and replay status.

agent_draft_read and agent_draft_edit operate on existing Agents. Identical data with the original client-generated key replays the original creation.

Input Schema

NameRequiredDescriptionDefault
dataYesNew Agent name, optional description and starting welcome-message locale.
request_keyYesClient-generated request UUID; identical retries retain this key.

Output Schema

NameRequiredDescriptionDefault
draftYes
effectYes
replayedYes
request_keyYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / $defs / ConversationPolicy / description
      Previous value: -"Conversation-level rules, stored as JSONB on ``bot_configs.conversation_policy``.\n\nStored legacy keys, such as the retired Agent-wide ``mode``, are ignored on read.\nWho answers first is each channel's ``reply_mode``."New value: +"Conversation-level rules, stored as JSONB on ``bot_configs.conversation_policy``.\n\nWho answers first is each channel's ``reply_mode``."
  2. Changed2 schema fields changed
    • addedInput schema / properties / data / description
      Added value: +"New Agent name, optional description and starting welcome-message locale."
    • addedInput schema / properties / request_key / description
      Added value: +"Client-generated request UUID; identical retries retain this key."
  3. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare non-read-only, idempotent, non-destructive behavior. The description adds useful context beyond them: the created Agent is unpublished, the response includes the saved draft, request key and replay status, and identical data with the original key replays the original creation.

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?

Two sentences, front-loaded with the core action and return behavior, followed by the key sibling distinction and idempotency note. There is no filler.

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?

With only two required parameters, full schema description coverage, annotations, and an output schema, the description is complete enough. It covers the creation behavior, unpublished state, return essentials and idempotent replay semantics.

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 schema carries the basic parameter documentation. The description adds meaningful replay semantics for request_key, clarifying that identical data with the original client-generated key replays the original creation.

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?

The description states a specific verb and resource: creates a new unpublished Agent and returns its saved draft. It also explicitly distinguishes this creation operation from agent_draft_read and agent_draft_edit, which operate on existing Agents.

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?

It clearly implies when to use this tool by contrasting it with draft read/edit tools for existing Agents, and it explains the retry/replay case with the original request key. It does not explicitly name all alternatives, but the creation-vs-existing-draft distinction is clear.

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.

Resources