Skip to main content
Glama

create_agent

Create a new agent for optimization. IMPORTANT: You must specify the LLM model this agent uses. Different models support different parameters. Opus 5 uses reasoningEffort and rejects temperature/topP; other models may support sampling controls. Always ask the user which model they use if it is not specified.

NOTE: After creating an agent, upload run transcripts with create_run before running optimization.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesDisplay name for the agent
tagsNoTags for organization (e.g., ['customer-support', 'onboarding'])
topPNoNucleus sampling parameter (0-1). Alternative to temperature for controlling randomness.
contentYesThe agent's system prompt content
llmModelYesREQUIRED: The LLM model this agent uses (e.g., 'gpt-4o', 'claude-sonnet-5-5', 'o1', 'gemini-3.8-flash'). This determines which parameters are relevant.
maxTokensNoMaximum tokens in response. Important for cost control and response length.
objectiveNoBusiness objective for this agent
customerIdNo(Converra superadmin only) Target customer ID to act on behalf of
constraintsNoWhat must NOT change during optimization - required structural elements, output formats, or sections that would break downstream integrations (e.g., 'Must return JSON with fields: name, score, summary')
descriptionNoOptional description of what the agent does
temperatureNoTemperature setting (0-2 for GPT, 0-1 for Claude). Controls randomness. Not applicable for reasoning models (o1/o3) - use reasoningEffort instead.
technicalNotesNoEngineering rationale explaining why the agent's prompt is structured this way (e.g., 'Uses XML tags because downstream parser expects structured output')
presencePenaltyNoEncourages new topics (-2 to 2). GPT models only.
reasoningEffortNoFor reasoning models: controls reasoning depth. Opus 5 supports low, medium, high, xhigh, and max.
frequencyPenaltyNoReduces repetition of token sequences (-2 to 2). GPT models only.
customEvaluationsNoAgent-level custom evaluation criteria (overrides org-level). Max 5.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations only tell the agent this is a non-read-only, non-destructive write. The description adds substantive behavior beyond that: model-dependent parameter compatibility (Opus 5 uses reasoningEffort and rejects temperature/topP) and the post-creation prerequisite of create_run. It omits whether creation is reversible or what the response contains.

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?

Purpose is front-loaded in the first clause, followed by the high-value model caveat and the workflow note. The capitalized IMPORTANT/NOTE markers are slightly heavy-handed, but each sentence carries real information with no padding.

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 16-parameter creation tool with no output schema, the description covers the two things an agent most needs: the required model choice and the follow-up create_run step. It does not say what the creation returns (e.g. an agent id needed downstream), which is the main residual gap.

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 coverage is 100%, so every parameter including llmModel, temperature, topP and reasoningEffort is already documented inline. The description reinforces the model-to-parameter interaction, but that information is duplicated from the schema rather than adding new semantics, so the baseline 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?

States a specific verb and resource ('Create a new agent for optimization'), making it distinguishable from update_agent, delete_agent, list_agents and the adjacent create_run/create_persona siblings. It does not explicitly name an alternative, but the purpose is unambiguous.

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?

Gives clear procedural guidance: specify the LLM model, ask the user which model when unspecified, and upload run transcripts with create_run before running optimization. That is real when-to-use sequencing, though it never contrasts with update_agent for modifying an existing 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.

Resources