Skip to main content
Glama

Create agent

create_agent

Create a bare AI agent (no brains/tools/memory yet — it can do nothing until granted some). Use provision_agent for a one-shot fully-configured agent.

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

Input Schema

NameRequiredDescriptionDefault
nameYes
descriptionNo
triggerModeYesmcp_client

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare this is a non-read-only, non-destructive, non-idempotent write, so the safety profile is covered. The description adds genuine behavioral context beyond that: the created agent is inert and unusable until brains, tools, or memory are granted. It stops short of noting what the call returns or what permissions/scope are required to create an agent.

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, no filler, with the defining constraint (bare, inert) front-loaded before the alternative-tool pointer. Nothing could be removed without losing routing information.

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 simple three-parameter creation tool with no output schema, the description covers the essentials of what gets created and when to prefer the sibling. The material gap is the required triggerMode enum, which is left entirely unexplained, plus no hint about naming conventions or what the response contains.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must carry the param burden, and it does not: it never mentions 'name', 'description', or 'triggerMode'. The required enum (mcp_client vs. server_job) is undocumented in both schema and description, leaving the agent to guess which mode to pick.

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 names a specific verb and resource ('Create a bare AI agent') and immediately qualifies the result ('no brains/tools/memory yet — it can do nothing until granted some'), which tells an agent exactly what state the new object is in. It also distinguishes itself from provision_agent, a sibling that would otherwise look interchangeable.

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

Usage Guidelines5/5

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

It explicitly routes to the alternative: 'Use provision_agent for a one-shot fully-configured agent,' giving the condition that selects the other tool. The contrast (bare vs. fully-configured) is the exact decision an agent must make between the two.

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