Skip to main content
Glama

Create AI Object

msfs_create_ai_object
Destructive

Create an AI aircraft or object in MSFS at specified coordinates, heading, airspeed, and altitude. Use to set up traffic or collision-avoidance test scenarios.

Instructions

Spawn an AI aircraft or object at a position.

Useful for building traffic or collision-avoidance test scenarios. The title must match an installed aircraft exactly. When it does, SimConnect confirms the object was actually created with an ASSIGNED_OBJECT_ID reply, and object_id on the result carries it -- also the id SimConnect_AIRemoveObject would need to remove it again. When the title matches nothing installed, MSFS ignores the request silently: no error, no reply, so object_id stays null. Treat that null as "not confirmed to exist," not as a definite failure of this call -- a request registry being briefly slow to answer, or a connection with none at all (the plain SimConnect fallback), leaves the same null for a different reason; see message for which applies.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
titleYesExact aircraft or object title as MSFS knows it, e.g. 'Boeing 747-8i Asobo'
headingNoHeading in degrees true
airspeedNoAirspeed in knots
latitudeYesLatitude
longitudeYesLongitude
on_groundNoPlace the object on the ground
altitude_ftNoAltitude in feet

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv1.0.1

TDQS

A4.7/5.0
Behavior5/5

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

The description adds substantial behavior beyond annotations: silent ignore when the title matches nothing, no reply/error, null object_id meaning 'not confirmed to exist' rather than definite failure, and the separate causes for null. It also explains that object_id is the handle needed for SimConnect_AIRemoveObject. This is exactly the kind of non-obvious behavior an agent needs.

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 front-loaded with a one-sentence purpose, then a compact use-case statement, and then a focused edge-case explanation. The longer section about null object_id is justified because misinterpreting it would lead an agent to report a false failure.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given an output schema exists, the description does not need to redefine return values, yet it explains the meaning of object_id and message, clarifies the not-installed case, and gives removal context. For a spawn tool with non-obvious failure modes, this is complete.

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?

The schema already documents all 7 parameters (100% coverage), so the baseline is 3. The description adds meaningful parameter-specific context for 'title' by emphasizing that it must match an installed aircraft exactly and linking the resulting object_id to removal. Other parameters need no further explanation.

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?

States a precise action ('Spawn an AI aircraft or object at a position') and a clear resource. The 'AI' qualifier distinguishes it from actions on the user aircraft (e.g., msfs_set_aircraft_position) and from loading flights or events, so an agent can tell it apart from siblings.

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 an explicit use case ('building traffic or collision-avoidance test scenarios') and a hard prerequisite: the title must exactly match an installed aircraft. It does not name alternatives or when-not-to-use, but the context is clear and the tool's role is unique among the listed siblings.

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

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/robin24/simconnect-mcp'

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