Skip to main content
Glama

Simulate a powertrain

simulate_powertrain

Run one test bench point of a whole powertrain on the Fast model.

Battery, ESC, motor and propeller are solved together, so the answer is a
real thrust and current, not a propeller curve. The numbers come back in
`result` (`result.All` = system totals in SI units: thrust N, current A,
power W, time s; one entry per rotor; `result.Battery`), with a share URL.
No second call is needed to read them.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "powertrain": "<powertrain>"
    },
    "name": "simulate_powertrain"
  }
}

Input Schema

NameRequiredDescriptionDefault
powertrainYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed9 schema fields changed
    • addedInput schema / $defs / PowertrainInput / properties / hold_s
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "number"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Seconds each operating point is held. Default 5, from 2 to 60.",
      +  "title": "Hold S"
      +}
    • addedInput schema / $defs / PowertrainInput / properties / resting_voltage_v_per_cell
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "number"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Battery start as the resting voltage of one cell, in volts, instead of state_of_charge_pct.",
      +  "title": "Resting Voltage V Per Cell"
      +}
    • addedInput schema / $defs / PowertrainInput / properties / start
      Added value: +{
      +  "anyOf": [
      +    {
      +      "enum": [
      +        "rest",
      +        "spinning"
      +      ],
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "'rest' (default): the rotors start from standstill. 'spinning': the run starts at speed.",
      +  "title": "Start"
      +}
    • addedInput schema / $defs / PowertrainInput / properties / state_of_charge_pct
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "number"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Battery state of charge at the start, in percent. Default 100. Give this or resting_voltage_v_per_cell, not both.",
      +  "title": "State Of Charge Pct"
      +}
    • addedInput schema / $defs / PowertrainInput / properties / window_s
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "number"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Seconds at the end of the hold that the result is averaged over. Default 1, at least 0.2, at most half of hold_s.",
      +  "title": "Window S"
      +}
    • changedInput schema / $defs / PropellerLabel / properties / camber_pct / description
      Previous value: -"Section camber in percent. Defaults to the family's camber: thin electric 3.9, sport 3.64, slow flyer 5.47, multirotor and custom 4.34."New value: +"Section camber in percent. Defaults to the family's camber: thin electric 3.9, sport 3.64, slow flyer 5.47, multirotor 4.34, custom 4.34."
    • changedInput schema / $defs / PropellerLabel / properties / diameter_in / maximum
      Previous value: -400New value: +120
    • changedInput schema / $defs / PropellerLabel / properties / family / description
      Previous value: -"Blade family: 'thin electric', 'sport', 'slow flyer' or 'multirotor'. It sets the blade shape, the default camber and the chord ratio (thin electric 0.0431 + 0.2068 / diameter in inches, sport 0.07, slow flyer 0.10, multirotor 0.11). Defaults to sport."New value: +"Blade family: 'thin electric', 'sport', 'slow flyer' or 'multirotor'. It sets the blade shape, the default camber and the chord ratio (thin electric 0.0431 + 0.2068 / diameter in inches, sport 0.07, slow flyer 0.1, multirotor 0.11). Defaults to sport."
    • changedInput schema / $defs / PropellerLabel / properties / pitch_in / maximum
      Previous value: -400New value: +156
  2. Changed2 schema fields changed
    • changedInput schema / $defs / PropellerLabel / properties / camber_pct / description
      Previous value: -"Section camber in percent. Defaults to 3.2."New value: +"Section camber in percent. Defaults to the family's camber: thin electric 3.9, sport 3.64, slow flyer 5.47, multirotor and custom 4.34."
    • changedInput schema / $defs / PropellerLabel / properties / family / description
      Previous value: -"Chord-ratio preset: 'thin electric' (0.065 D), 'sport' (0.07 D), 'slow flyer' (0.10 D) or 'multirotor' (0.11 D). Defaults to sport."New value: +"Blade family: 'thin electric', 'sport', 'slow flyer' or 'multirotor'. It sets the blade shape, the default camber and the chord ratio (thin electric 0.0431 + 0.2068 / diameter in inches, sport 0.07, slow flyer 0.10, multirotor 0.11). Defaults to sport."
  3. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Beyond the annotations (readOnly false, idempotent false, non-destructive, closed-world), the description discloses the key behavioral trait that all components are solved simultaneously so the output is a real coupled thrust/current rather than an isolated propeller curve. It also names where results land in the response and mentions a share URL — genuinely useful context the annotations cannot convey.

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?

Three short sentences, front-loaded with the core action, then the modeling guarantee, then the output shape. Dense and largely waste-free, though the return-value detail is partly redundant with the existing output schema.

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

Completeness3/5

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

The output side is well covered and an output schema exists, so explaining result.All/result.Battery is a bonus. What is missing is anything about the inputs and call prerequisites — that components must be valid catalog ids, that propeller_id and propeller_label are alternatives — leaving an agent dependent on raw schema reading for a non-trivial simulation call.

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

Parameters2/5

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

The description says nothing about the single top-level 'powertrain' argument or its fields — motor/battery ids, throttle, airspeed, hold/window timing, start mode, state of charge. Reported schema description coverage is 0% at the top level, so the description should compensate for the terse parameter surface and does not; all its detail is spent on the return value.

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 specific verb and scope — 'Run one test bench point of a whole powertrain on the Fast model' — and immediately clarifies what it is not ('not a propeller curve'), which implicitly separates it from the sweep and propeller-estimate siblings. An agent can identify it as the single-point, coupled-powertrain simulation without opening the schema.

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?

Usage is implied by the scoping language ('one test bench point', 'Battery, ESC, motor and propeller are solved together') and the note that no second call is needed to read the results, which steers away from get_result. However, there is no explicit statement of when to prefer sweep_powertrain or estimate_propeller, nor any prerequisites or failure conditions.

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