Skip to main content
Glama
eng-toolkit

eng-toolkit

by Lin830326

Calc Cylinder Force

calc_cylinder_force

Calculate theoretical push and pull force of a single-rod hydraulic cylinder from bore diameter, rod diameter, and working pressure.

Instructions

Theoretical push (cap end) and pull (rod end) force of a single-rod hydraulic cylinder from bore diameter, rod diameter and working pressure. Ideal: no seal friction, no back pressure, no rod-side 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": {
      "bore": "<bore>",
      "pressure": "<pressure>"
    },
    "name": "calc_cylinder_force"
  }
}

Input Schema

NameRequiredDescriptionDefault
rodNoRod diameter with unit, e.g. '50 mm'. Empty string = no rod (pull = push).
boreYesCylinder bore (piston) diameter with unit, e.g. '100 mm'
pressureYesWorking pressure with unit, e.g. '210 bar' or '3000 psi'
output_unitNoForce unit for the outputs, e.g. 'kN', 'N', 'lbf'kN

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.8/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does disclose the modeling assumptions that determine whether the output is trustworthy (ideal fluid, no friction, no back pressure, no rod-side pressure). It does not mention error behavior for unit-parse failures, rod diameter exceeding bore, or which end each output corresponds to beyond the initial parenthetical, leaving some behavioral gaps.

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?

Two sentences, no filler: the first front-loads what is computed and from which inputs, the second qualifies the validity of the result. Every clause earns its place and nothing is repeated from the schema.

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?

An output schema exists, so the description need not explain return values, and the stated idealizations give the agent what it needs to use the result responsibly. The remaining gap is edge-case handling (invalid or rod ≥ bore) and any note on unit conversion expectations, which a calculator of this complexity could reasonably cover.

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 each parameter already documents its format and units, including the empty-string convention for the rod. The description adds only the conceptual mapping of bore to cap-end force, rod to rod-end pull, and pressure as the working input, which is a modest supplement rather than new semantic detail. Baseline 3 fits when the schema does the heavy lifting.

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 names the exact quantities computed (cap-end push force and rod-end pull force) and the physical device (single-rod hydraulic cylinder), so an agent can distinguish it from a sibling like calc_cylinder_speed without opening the schema. It stops short of explicitly contrasting itself with any named alternative, which keeps it at a clear-but-not-exemplary 4.

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?

The 'Ideal: no seal friction, no back pressure, no rod-side pressure' clause implicitly scopes the tool to first-order sizing rather than validated design work, which is useful usage context. However, it never states when to prefer a more detailed calculation, what prerequisites exist, or any explicit exclusions, so guidance remains implied rather than stated.

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