Skip to main content
Glama
eng-toolkit

eng-toolkit

by Lin830326

Calc Accumulator Precharge

calc_accumulator_precharge

Calculates nominal gas volume V0 for a gas-charged hydraulic accumulator to deliver a usable fluid volume between minimum and maximum working pressures, including pre-charge pressure sizing.

Instructions

Size a gas-charged hydraulic accumulator (bladder, piston, diaphragm): the nominal gas volume V0 that delivers a given usable fluid volume between a minimum and a maximum working pressure, from the gas law p*V^n = constant (n = 1.0 isothermal / slow, 1.4 adiabatic / fast discharge). The pre-charge pressure is given, or defaults to 0.9 x the minimum pressure.

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": {
      "usable_volume": "<usable_volume>",
      "min_pressure": "<min_pressure>",
      "max_pressure": "<max_pressure>"
    },
    "name": "calc_accumulator_precharge"
  }
}

Input Schema

NameRequiredDescriptionDefault
exponentNoPolytropic exponent n, 1.0 to 1.67: 1.0 slow (isothermal), 1.4 fast (adiabatic) nitrogen
volume_unitNoUnit for the volumes, e.g. 'L', 'm^3', 'gal'L
max_pressureYesHighest (system) pressure, e.g. '200 bar'
min_pressureYesLowest working pressure the circuit still needs, e.g. '100 bar'
usable_volumeYesFluid volume to deliver between the two pressures, e.g. '5 L'
precharge_pressureNoGas pre-charge pressure, e.g. '90 bar'. Empty = 0.9 x min_pressure (a common rule of thumb).
pressures_are_gaugeNotrue: the three pressures are gauge (bar g); false: they are absolute

Output Schema

NameRequiredDescriptionDefault
okYes
dataNoNon-quantity payload (reports, listings)
errorNo
valueNoPrimary quantity result
valuesNoAll named quantity results (includes the primary)
warningsNo
artifactsNo
provenanceYesWhat produced the result and from which inputs.
review_statusNounreviewed

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.0.1

TDQS

A3.9/5.0
Behavior4/5

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

No annotations are supplied, so the description carries the full burden, and it does disclose the underlying model (p*V^n = constant), the meaning of the polytropic exponent, and the default pre-charge convention. What it omits is any mention of validity limits, such as a pre-charge pressure that must stay below the minimum working pressure or ideal-gas/temperature assumptions, so the behavioural disclosure is strong but not exhaustive.

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?

Two sentences, front-loaded with the purpose and output before the modelling assumptions, with no filler. The second sentence is slightly tacked on but still carries real information (pre-charge default), so there is minimal waste.

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?

For a seven-parameter sizing calculation with a fully documented schema and an output schema, the description covers purpose, model, and key conventions adequately. It stops short of stating edge-case behaviour (invalid pressure ordering, pre-charge above minimum pressure) that would make it fully self-sufficient.

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%, so every one of the seven parameters is already documented in structured form, including the exponent values and the empty-precharge default. The description restates the same exponent and pre-charge semantics rather than adding new meaning, so the baseline of 3 applies.

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?

The description names a specific verb and resource ('Size a gas-charged hydraulic accumulator') and states the exact output ('the nominal gas volume V0 that delivers a given usable fluid volume between a minimum and a maximum working pressure'). That is concrete enough to distinguish it from siblings such as calc_cylinder_force or calc_pump_power without opening a 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?

It explains which physical regime to assume (n = 1.0 slow/isothermal, 1.4 fast/adiabatic) and that pre-charge can be omitted in favour of a 0.9 x min_pressure rule of thumb, which guides the main modelling decision. However, it never states when this tool should be chosen over sibling sizing tools, nor any exclusions or prerequisites, leaving tool selection implicit.

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

Deploy Server

Other Tools