Skip to main content
Glama

Create an AI agent

create_agent

Create a first-class Skysay agent in external_audio, external_text, or hosted mode. Creating an agent does not make any number answer with it: when the agent can answer calls and the credential may read numbers, the result's numbers_not_answering names the project's numbers that answer nobody (a sample of the newest 50), and update_number_rules sets who answers. Hosted agents can choose a shared stack and selected languages; locale overrides remain draft data until the explicit voice-stack publish command. An engine whose agent-catalog row says has_language_axis false (a voice-to-voice engine) refuses languages, language_profiles and follow_caller with a 400 naming the field and the engine.

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

Input Schema

NameRequiredDescriptionDefault
modeYes
nameYes
modelNo
voiceNo
languageNo
languagesNo
project_idYes
prompt_nameNoName of the AI agent's initial prompt draft, shown in the prompt editor. Defaults to "Initial prompt".
request_keyNo1 to 200 ASCII characters. Names this creation attempt for its workspace and project. Sent again with the same content it returns the AI agent the first request created; with other content it is refused and names that agent.
transcriberNo
webhook_urlNo
call_summaryNoThe free AI call summary: enabled (default true) and an optional goal line (at most 4000 characters) the call is judged against.
begin_messageNo
first_messageNo
system_promptNo
voice_frontendNoOptional conversation engine. Omit or cascade keeps STT/LLM/TTS. gpt_live selects GPT-Live 1.1. Each engine declares whether it has a language axis as has_language_axis in get_agent_catalog.
organization_idNoOptional. Defaults to the authenticated workspace; when supplied it must be that workspace's id.
audio_stream_urlNo
language_profilesNo
require_publishedNoEnd with a published AI agent or with nothing: a refusal anywhere, publication included, creates nothing.
knowledge_base_idsNoKnowledge bases of this project to attach. Needs knowledge:write.
voice_confirmationNoMark the AI agent's voice as not yet confirmed; a voice-stack save with voice_confirmation confirmed clears it.
post_call_extractionNoThe result fields written down after each call, as set_agent_post_call_extraction takes them.
follow_caller_where_supportedNoFollow the other person's language for every language this setup supports where it can, otherwise answer in the opening language only; decided again on every save that sends it, and a save is refused (voice_setup_changed) when another save changed the setup so that this decision no longer holds: send it again. Omit follow_caller, languages, language_profiles and voice_setup beside it. A conversation engine without a language axis stores nothing.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / voice_frontend / description
      Previous value: -"Optional conversation engine. Omit or cascade keeps STT/LLM/TTS. gpt_live selects GPT-Live-1. Each engine declares whether it has a language axis as has_language_axis in get_agent_catalog."New value: +"Optional conversation engine. Omit or cascade keeps STT/LLM/TTS. gpt_live selects GPT-Live 1.1. Each engine declares whether it has a language axis as has_language_axis in get_agent_catalog."
  2. Changed6 schema fields changed
    • addedInput schema / properties / follow_caller_where_supported
      Added value: +{
      +  "description": "Follow the other person's language for every language this setup supports where it can, otherwise answer in the opening language only; decided again on every save that sends it, and a save is refused (voice_setup_changed) when another save changed the setup so that this decision no longer holds: send it again. Omit follow_caller, languages, language_profiles and voice_setup beside it. A conversation engine without a language axis stores nothing.",
      +  "enum": [
      +    true
      +  ],
      +  "type": "boolean"
      +}
    • addedInput schema / properties / knowledge_base_ids
      Added value: +{
      +  "description": "Knowledge bases of this project to attach. Needs knowledge:write.",
      +  "items": {
      +    "type": "string"
      +  },
      +  "maxItems": 20,
      +  "type": "array"
      +}
    • addedInput schema / properties / post_call_extraction
      Added value: +{
      +  "additionalProperties": false,
      +  "description": "The result fields written down after each call, as set_agent_post_call_extraction takes them.",
      +  "properties": {
      +    "schema": {
      +      "type": "object"
      +    }
      +  },
      +  "required": [
      +    "schema"
      +  ],
      +  "type": "object"
      +}
    • addedInput schema / properties / request_key
      Added value: +{
      +  "description": "1 to 200 ASCII characters. Names this creation attempt for its workspace and project. Sent again with the same content it returns the AI agent the first request created; with other content it is refused and names that agent.",
      +  "maxLength": 200,
      +  "minLength": 1,
      +  "pattern": "^[\\x00-\\x7F]+$",
      +  "type": "string"
      +}
    • addedInput schema / properties / require_published
      Added value: +{
      +  "description": "End with a published AI agent or with nothing: a refusal anywhere, publication included, creates nothing.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / voice_confirmation
      Added value: +{
      +  "description": "Mark the AI agent's voice as not yet confirmed; a voice-stack save with voice_confirmation confirmed clears it.",
      +  "enum": [
      +    "pending"
      +  ],
      +  "type": "string"
      +}
  3. Changed2 schema fields changed
    • changedInput schema / properties / language_profiles / maxItems
      Previous value: -69New value: +256
    • changedInput schema / properties / languages / maxItems
      Previous value: -69New value: +256
  4. Changed2 schema fields changed
    • changedInput schema / properties / language_profiles / maxItems
      Previous value: -32New value: +69
    • changedInput schema / properties / languages / maxItems
      Previous value: -32New value: +69
  5. Changed1 schema field changed
    • addedInput schema / properties / prompt_name
      Added value: +{
      +  "description": "Name of the AI agent's initial prompt draft, shown in the prompt editor. Defaults to \"Initial prompt\".",
      +  "maxLength": 100,
      +  "type": "string"
      +}
  6. Changed1 schema field changed
    • changedInput schema / properties / voice_frontend / enum
      Previous value: -[
      -  "cascade",
      -  "gpt_live",
      -  "gemini_live"
      -]New value: +[
      +  "cascade",
      +  "gpt_live",
      +  "gemini_live",
      +  "eleven_realtime"
      +]
  7. Changed1 schema field changed
    • addedInput schema / properties / call_summary
      Added value: +{
      +  "additionalProperties": false,
      +  "description": "The free AI call summary: enabled (default true) and an optional goal line (at most 4000 characters) the call is judged against.",
      +  "properties": {
      +    "enabled": {
      +      "type": "boolean"
      +    },
      +    "goal": {
      +      "maxLength": 4000,
      +      "type": "string"
      +    }
      +  },
      +  "type": "object"
      +}
  8. First observed

TDQS

A3.8/5.0
Behavior5/5

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

Beyond the annotations, it discloses important side effects: creating an agent does not make any number answer with it, the result's numbers_not_answering identifies unassigned numbers, and update_number_rules handles assignment. It also explains hosted stack/language behavior, draft locale overrides until publish, and 400 refusals for engines without a language axis.

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 definition is front-loaded with the core purpose and every sentence carries behavioral information relevant to a complex 24-parameter creation tool. Some sentences are dense and jargon-heavy, but there is little obvious filler.

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 complex creation tool with no output schema and low schema coverage, the description covers purpose and several non-obvious behavioral caveats well. It remains incomplete on many parameter meanings and only briefly mentions the response via numbers_not_answering.

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?

With only 42% schema description coverage across 24 parameters, the description must compensate, and it does explain mode effects, languages and language_profiles constraints, and voice-to-voice engine refusals. However, many parameters such as model, voice, transcriber, and webhook_url receive no additional meaning beyond the schema.

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 names a specific verb and resource: create a Skysay agent, with the three supported modes stated explicitly. It does not explicitly distinguish this from creation-adjacent siblings such as duplicate_agent or connect_external_agent, so it falls short of a 5.

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

Usage Guidelines3/5

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

The description implies the post-creation workflow by saying update_number_rules sets who answers, and it explains what hosted agents can configure. It gives no explicit when-not-to-use condition or named alternative for modifying versus creating an agent.

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.