Skip to main content
Glama

Create a new OpenBot agent (via a manager agent)

create_agent

Compose and validate an OpenBot agent profile, preview creation arguments by default, then delegate exact creation to an existing manager agent when dry-run is disabled.

Instructions

Compose and validate a new agent's profile the way OpenBot's Agent Designer does (one job → anti-jobs → voice → wake, description ≤ 2,000 chars), then ask an existing 'manager' agent to call openbot.create_agent with exactly those arguments. dryRun=true (default) only returns the description, the create_agent arguments, warnings and the message — nothing is sent. The Local scripts API cannot create agents itself; the new agent starts with Local scripts OFF. Read openbot://guides/create-agent for the rules.

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>",
      "job": "<job>",
      "initialMessage": "<initialMessage>"
    },
    "name": "create_agent"
  }
}

Input Schema

NameRequiredDescriptionDefault
howNoThe concrete how: which service, inbox, channel, repo.
jobYesONE sentence: what it does every time it wakes.
nameYesShort name of the new agent.
wakeNo
modelNoMust be listed by openbot.list_models.
titleNoRole title, e.g. "Code reviewer".
voiceNoA few words of tone/character. Not a generic assistant.
dryRunNoDefault true: preview only.
managerNoExisting agent that performs the creation. Required when dryRun=false.
routineNoA standing routine the manager creates for the new agent (openbot.create_routine).
antiJobsNoWhat it never does, even if asked (adjacent work → another agent).
providerNoOmit to copy the manager agent's provider/model/account.
avatarHueNoOne of 0 red, 30 orange, 55 yellow, 100 lime, 150 green, 185 cyan, 215 blue, 245 indigo, 280 violet, 320 magenta.
descriptionNoFull persona text used verbatim instead of composing job/antiJobs/voice/wake/how.
initialMessageYesThe new agent's first task.
timeoutSecondsNoHow long to wait. Timing out stops only the wait; the agent keeps working.
reasoningEffortNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.5/5.0
Behavior5/5

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

Annotations only declare the write/non-open-world profile; the description adds substantive behavior: dryRun returns exactly the description, create_agent arguments, warnings and message without sending anything, the manager performs the actual creation, the new agent starts with Local scripts OFF, and timeouts stop only the wait, not the agent.

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?

Front-loaded with the workflow and the dryRun qualifier before the caveats. Dense but each clause carries information; the guide pointer is the only borderline sentence, though it is a useful reference for the 17-parameter surface.

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 17-parameter, nested-object, no-output-schema tool, the description covers the essential mental model: this is a compose-and-delegate operation, dryRun is safe, and a manager is required for real creation. It also summarizes the preview payload in lieu of an output schema. Remaining parameter-level detail is left to the 88%-covered schema.

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 88%, so the baseline is 3, but the description adds real meaning beyond the schema: the composition order one job → anti-jobs → voice → wake, the 2,000-char description cap, and the fact that passing description replaces composing those fields. Provider/model/routine nuances remain schema-only.

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 chain and resource: compose and validate a new agent's profile, then have an existing manager agent call openbot.create_agent with those exact arguments. It distinguishes itself from list_agents/update_agent_settings by framing itself as creation-via-manager, and explicitly notes the Local scripts API cannot create agents itself.

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?

Clear conditions are given: dryRun=true (the default) previews only and sends nothing, while real creation is delegated to a manager agent. It also points to openbot://guides/create-agent for rules. It does not explicitly route the agent away from siblings such as update_agent_settings, which keeps it from a 5.

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