Skip to main content
Glama

create_agent

Create an agent with a declared intent and USD budget, returning an agent_id for later task execution. Set capabilities and model to define what the agent can do before running goals.

Instructions

Create an agent process with intent, USD budget, and capabilities.

Returns agent_id for later run_task / list_agents. Does not execute a goal. Side effect: writes the in-memory process table. Default model is mock-gpt.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesHuman-readable agent name.
modelNoModel id. Default mock-gpt for offline / Glama.mock-gpt
intentYesDeclared goal the agent is allowed to pursue.
budget_usdNoUSD spend cap for this agent.
capabilitiesNoCapability names from list_available_tools. Default search+memory.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Changed13 schema fields changed
    • addedInput schema / additionalProperties
      Added value: +false
    • addedInput schema / properties / budget_usd / description
      Added value: +"USD spend cap for this agent."
    • removedInput schema / properties / budget_usd / title
      Removed value: -"Budget Usd"
    • addedInput schema / properties / capabilities / description
      Added value: +"Capability names from list_available_tools. Default search+memory."
    • removedInput schema / properties / capabilities / title
      Removed value: -"Capabilities"
    • addedInput schema / properties / intent / description
      Added value: +"Declared goal the agent is allowed to pursue."
    • removedInput schema / properties / intent / title
      Removed value: -"Intent"
    • addedInput schema / properties / model / description
      Added value: +"Model id. Default mock-gpt for offline / Glama."
    • removedInput schema / properties / model / title
      Removed value: -"Model"
    • addedInput schema / properties / name / description
      Added value: +"Human-readable agent name."
    • removedInput schema / properties / name / title
      Removed value: -"Name"
    • removedInput schema / title
      Removed value: -"create_agentArguments"
    • removedOutput schema / title
      Removed value: -"create_agentDictOutput"
  2. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

No annotations are present, so the description carries the disclosure burden. It discloses the side effect ('writes the in-memory process table'), notes that it does not execute a goal, and mentions the default model. It could add more about process-table volatility or idempotency, but the key behavioral traits are covered.

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 concise sentences front-load the purpose, then cover return value, side effect, and default model. There is no filler, and the most decision-relevant information appears early.

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?

The description covers what the tool returns, what it does not do, and its side effect, while the output schema and fully documented parameters fill remaining details. It is sufficient for an agent to invoke the tool correctly, though it does not explicitly route to create_workflow.

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?

Schema description coverage is 100%, so the baseline is 3. The description echoes intent, USD budget, capabilities, and default model but adds no meaning beyond what the input schema already provides.

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 operation: 'Create an agent process with intent, USD budget, and capabilities.' It also clarifies that the tool returns an agent_id for later run_task/list_agents and does not execute a goal, which distinguishes it from sibling execution tools.

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?

Clearly implies the correct workflow: create the agent first, then use the returned agent_id with run_task or list_agents. It also gives an explicit exclusion ('Does not execute a goal'), though it does not directly mention when to use create_workflow instead.

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

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ANAMIZED/OpenMesha'

If you have feedback or need assistance with the MCP directory API, please join our Discord server