Skip to main content
Glama

create_agent

Compose local Genes into a new Agent saved to .rotifer/agents/. Genes must exist locally; wrap them first with wrap_gene.

Instructions

Create a new Agent by composing one or more local Genes. The Agent is saved to .rotifer/agents/ in the project. Genes must exist locally (wrap them first with wrap_gene).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
domainNoDomain tag for the agent (e.g. search.web). Metadata only, does not auto-select genes.
gene_idsYesArray of local gene names to compose (at least one required)
strategyNoGene selection strategy (default: greedy)
par_mergeNoMerge strategy for Par composition (default: first)
agent_nameYesAgent name
compositionNoComposition strategy (default: Seq for multi-gene, Single for one gene)
project_rootNoProject root path (defaults to cwd)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.19.1

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It usefully discloses side effects (creates a file under .rotifer/agents/ in the project) and a dependency on local genes. However, it omits overwrite/conflict behavior, permission or auth requirements, and failure modes for a mutation tool with 7 parameters.

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?

Three short sentences, front-loaded with the core action, followed by persistence location and the precondition. No filler, though the final sentence could be folded into the first for slightly tighter structure.

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 7-parameter mutation tool with no annotations and no output schema, the description covers the primary mechanics and store location but leaves lifecycle questions unanswered: does creating an existing agent name overwrite or error, and what does a successful call return? Adequate but with clear gaps.

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 schema already documents all seven parameters including enums and defaults. The description adds no parameter-level meaning beyond what the schema provides, so the baseline of 3 applies.

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 description states a specific verb and resource ('Create a new Agent') plus the mechanism ('composing one or more local Genes') and the persistence target. It partially differentiates from siblings by naming wrap_gene as a prerequisite, though it does not explicitly contrast with list_local_agents or agent_run.

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 gives a clear precondition — 'Genes must exist locally' — and an actionable routing hint to use wrap_gene first. There is no explicit when-not guidance or mention of alternatives, but the prerequisite context is strong.

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