Skip to main content
Glama

Sweep a powertrain

sweep_powertrain

Solve a powertrain across a throttle or airspeed range, up to 25 points.

`sweep.steps` is the NUMBER OF POINTS, not a step size: start 40, stop 100,
steps 4 gives 40, 60, 80 and 100. One sweep beats a loop of single points.
The points come back in `result.points` with the 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>",
      "sweep": "<sweep>"
    },
    "name": "sweep_powertrain"
  }
}

Input Schema

NameRequiredDescriptionDefault
sweepYes
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

A4.2/5.0
Behavior4/5

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

Annotations declare a non-read-only compute operation, and the description adds real behavioral context: the output arrives in `result.points` together with a share URL, so no follow-up get_result call is required. It also discloses the anonymous 25-point ceiling. It stops short of describing cost, runtime, or whether runs are cached/idempotent.

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?

Three short sentences with zero filler; the scope limit and the point-count clarification are front-loaded, and the return-format note closes it out. Every sentence carries actionable information.

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?

For a two-parameter wrapper around a rich nested schema and an existing output schema, this covers what an agent needs: what the tool computes, the range/point constraint, the unit-semantics trap, and where results appear. Nothing required for a correct first call is missing.

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?

Top-level parameters are $refs with no descriptions (reported coverage 0%), yet the description carries the key semantic load for `sweep.steps` — that it is a point count, not a step size — and anchors it with a worked example (40, 60, 80, 100). The remaining powertrain fields are documented in the nested $defs, so the description adds the one clarification most likely to cause a wrong call.

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?

The description opens with a specific verb and resource ('Solve a powertrain across a throttle or airspeed range, up to 25 points'), which is enough to distinguish a ranged sweep from a single-point run. The contrast is expressed as 'a loop of single points' rather than naming the sibling simulate_powertrain, so the differentiation is clear but slightly indirect.

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?

'One sweep beats a loop of single points' gives a concrete preference rule that tells the agent to choose this over repeated single-point calls. The 25-point cap ('up to 25 points', 'at most 25 anonymous') sets a boundary, but there is no explicit when-not guidance or statement about what happens beyond the anonymous limit.

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