Skip to main content
Glama

create_scenario

Initialize a new AFSIM simulation scenario with a given name, duration, and time step, returning a unique scenario identifier for subsequent management and execution.

Instructions

Create a new AFSIM scenario in memory.

Parameters

name: Unique name for the scenario. description: Optional human-readable description. duration_s: Simulation duration in seconds (default 3600). time_step_s: Simulation time step in seconds (default 1.0).

Returns

JSON with scenario_id, name, and metadata.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYes
descriptionNo
duration_sNo
time_step_sNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

With no annotations, the description carries full burden. It discloses the 'in memory' behavior and return fields, providing key behavioral context. However, it does not specify behavior on duplicate names (overwrite/error) or side effects on existing scenarios. Still, it adds significant value beyond a bare description.

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?

The description is extremely concise: a one-line purpose, a structured parameter list, and a return note. Every sentence earns its place, with no fluff. The front-loaded purpose immediately orients the agent.

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?

Given the tool complexity (4 params, no annotations, output schema present), the description covers the core: name, duration, time step, and return. It misses context like reliance on an AFSIM installation and the need to later save the scenario. However, it is adequate for an experienced agent.

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

Parameters4/5

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

Schema coverage is 0%, so the description must compensate. It adds 'Unique name', 'Optional human-readable description', and units for numeric parameters (seconds, defaults). This meaningfully goes beyond the schema's titles and types, though it could include constraints like positive duration.

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 clearly states 'Create a new AFSIM scenario in memory,' with a specific verb and resource. It distinguishes from siblings like load_scenario (file-based) and generate_scenario_from_prompt (AI-generated), making the tool's purpose unambiguous.

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 implies usage for creating a new in-memory scenario but lacks explicit guidance on when to use vs. alternatives. It does not mention prerequisites (e.g., before adding components) or when to use load_scenario or generate_scenario_from_prompt instead. The 'in memory' hint is helpful but insufficient for clear decision-making.

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

Install Server

Other Tools

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/Yookio-Z/AFSIM_MCP'

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