Skip to main content
Glama

generate_scenario_from_prompt

Convert natural language descriptions into executable AFSIM scenarios using keyword matching to configure platforms, sensors, and weapons.

Instructions

Generate an AFSIM scenario from a natural language description.

The generator uses keyword matching and heuristics to parse the prompt and build a scenario with platforms, movers, sensors, and weapons.

Examples: "Create a scenario with 2 fighters and a ship over 2 hours" "Simulate 3 UAVs with radar sensors patrolling for 30 minutes" "Air defense scenario: 1 SAM site and 4 attack aircraft, 1 hour"

Parameters

prompt: Natural language description of the desired scenario.

Returns

JSON with scenario_id, name, platform list, warnings, and AFSIM preview.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
promptYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

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