Skip to main content
Glama

simulate_agent

Start async simulated conversations to test how your agent performs against auto-generated or specified personas and scenarios. Returns a jobId immediately - use get_simulation_status to poll for results.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
runIdNoProvider run ID for the runtime context snapshot. Required with conversationId when runtimeContextId is not provided.
promptNoThe agent's system prompt content to test. If omitted, content is fetched from promptId.
maxTurnsNoMaximum turns per conversation (default: 10)
promptIdNoAgent ID. Used to fetch prompt content (if prompt is omitted) and LLM settings (temperature, maxTokens, etc.)
customerIdNo(Converra superadmin only) Target customer ID to act on behalf of
personaCountNoTotal number of personas to use (default: 3)
scenarioCountNoTotal number of scenarios to use (default: 3)
conversationIdNoConversation ID containing the runtime context snapshot. Required with runId when runtimeContextId is not provided.
simulationTypeNoSimulation type: standard, context_grounded_probe (one-turn context probe), or context_grounded_dialogue (multi-turn context-grounded dialogue). Context-grounded types require promptId plus runtimeContextId or conversationId with runId.
includePersonasNoOptional specific personas to include (system will generate the rest)
includeScenariosNoOptional specific scenarios to include (system will generate the rest)
runtimeContextIdNoRuntime context snapshot ID to bind for context-grounded simulations. Use this OR conversationId with runId.
conversationsPerPersonaNoConversations per persona (default: 1)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations declare readOnlyHint=false and destructiveHint=false, so the write-but-non-destructive profile is already known. The description adds meaningful behavior beyond that: the call is asynchronous, returns a jobId immediately rather than results, and therefore requires polling. It doesn't cover auth or scale/rate behavior, but the async lifecycle disclosure is substantive.

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 tight sentences with zero filler: the action and its scope come first, and the async return plus polling instruction follow. Every clause earns its place.

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 13-parameter tool with no output schema and no required fields, the description compensates by disclosing the async return value (jobId) and the polling path. It leaves the runId/conversationId/runtimeContextId interlock to the schema, which is acceptable since those are fully documented there.

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% with 13 well-documented parameters, so the schema already carries parameter meaning. The description only loosely gestures at the persona/scenario inputs ('auto-generated or specified personas and scenarios') without adding syntax or constraint detail beyond the schema, so 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 (start) and resource (simulated conversations) plus the goal (test agent performance against personas and scenarios), which is concrete and distinguishable in substance. It does not explicitly differentiate itself from adjacent simulation/testing siblings like simulate_ab_test, start_model_test, or start_production_test, so it falls short of a 5.

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

Usage Guidelines3/5

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

The description tells the agent the follow-up workflow ('use get_simulation_status to poll for results'), which is genuinely useful operational guidance. However, it gives no when-to-use vs. when-not guidance relative to the other simulation/test tools, so the alternative-selection dimension is left to inference.

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