Skip to main content
Glama

AFR Lambda Converter

convert_afr_lambda
Read-only

Convert AFR and lambda across gasoline, E85, methanol, and race fuel scales. Calculates from measured inputs without authentication and does not read or save account data. Use this as a conversion reference. Tune targets depend on fuel, engine, load, and calibration strategy.

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": {
      "afr": "<afr>",
      "lambda": "<lambda>",
      "fuel": "<fuel>"
    },
    "name": "convert_afr_lambda"
  }
}

Input Schema

NameRequiredDescriptionDefault
afrYesAFR
fuelYesFuel scale
lambdaYesLambda

Output Schema

NameRequiredDescriptionDefault
urlNo
noteNo
toolYesTuneWorks MCP tool name that produced this result.
inputsNo
resultNo
statusYesStable result status such as ok, created, updated, sent, auth_required, or confirmation_required.
messageNo
outcomeNoOptional domain outcome for an otherwise successful read.
resultsNo
unitSystemNo
volumeUnitNo
authenticationRequiredNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedOutput schema / properties / outcome
      Added value: +{
      +  "description": "Optional domain outcome for an otherwise successful read.",
      +  "enum": [
      +    "no_vehicles",
      +    "vehicle_not_found",
      +    "vehicle_selection_required",
      +    "no_data"
      +  ],
      +  "type": "string"
      +}
    • changedOutput schema / properties / status / description
      Previous value: -"Result status such as ok, created, updated, sent, auth_required, or confirmation_required."New value: +"Stable result status such as ok, created, updated, sent, auth_required, or confirmation_required."
  2. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so safety is covered. The description adds that the tool "Calculates from measured inputs without authentication and does not read or save account data," which is useful non-obvious context, but it says nothing about precision, unit conventions, or how the result is derived and returned.

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?

Purpose is front-loaded in the first sentence and the remaining sentences add scope and safety context rather than repeating the name. It is slightly padded by two consecutive disclaimer-flavored sentences that could be merged.

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?

A simple pure-calculation tool with full required-parameter documentation and an output schema, so return values need no explanation. The only real gap is not explaining how afr and lambda inputs interact, plus no note on precision or rounding.

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

Parameters3/5

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

Schema description coverage is 100% and the fuel enum is self-documenting, so the schema already carries the parameter burden. The description restates the four fuels but never clarifies the relationship between the two required numeric inputs (afr and lambda), which is the one ambiguity a converter description should resolve.

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?

Names a specific verb (Convert) and resource (AFR and lambda) plus the set of fuel scales handled, which distinguishes it from data-mutation siblings in the garage/team toolset. It stops short of naming the nearest sibling converters (e.g. calculate_ethanol_blend), but the purpose is 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?

"Use this as a conversion reference" and the note that "Tune targets depend on fuel, engine, load, and calibration strategy" frame the intent and warn against treating output as tuning advice. However there is no explicit guidance on when to prefer this over related calculators such as calculate_ethanol_blend or calculate_race_fuel_and_weight.

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