Skip to main content
Glama

findingsteel-steel-sections

Calculate steel theoretical weight

weight_calculate
Read-onlyIdempotent

计算常用钢材理论重量。shape 可选:plate钢板 / round圆钢 / square方钢 / flat扁钢 / hex六角钢 / oct八角钢 / rebar螺纹钢 / pipe圆管 / squareTube方管 / rectTube矩形管 / cProfile C型钢 / zProfile Z型钢 / weldedI焊接工字 / weldedBox焊接箱形 / standard国标型钢库(按型号)。尺寸单位 mm,长度 m。Calculate theoretical weight (kg/m, kg, tonnes) for common steel shapes or GB sections.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dimsYes尺寸 mm:各形状所需键不同(见描述),如 plate 需 t/w/l,pipe 需 D/t,cProfile 需 h/b/c/t
shapeYes形状:plate/round/square/flat/hex/oct/rebar/pipe/squareTube/rectTube/cProfile/zProfile/weldedI/weldedBox/standard
lengthMNo长度 m(省略则只返回 kg/m)
materialNo材质键:q235/q355/ss304/ss316/aluminum/copper(默认碳钢 7.85)
quantityNo数量(默认 1)
designationNoshape=standard 时的国标型号,如 HN400×200×8×13
customDensityNo自定义密度 g/cm³,覆盖 material

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNo
noteNo
shapeNo
validYes
kgPerMNo
shapesNo
lengthMNo
messageNo
totalKgNo
materialNo
quantityNo
totalTonsNo
densityGPerCm3No

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": {},
      +  "properties": {
      +    "densityGPerCm3": {
      +      "type": "number"
      +    },
      +    "kgPerM": {
      +      "type": "number"
      +    },
      +    "lengthM": {
      +      "type": [
      +        "number",
      +        "null"
      +      ]
      +    },
      +    "material": {
      +      "type": "string"
      +    },
      +    "message": {
      +      "type": "string"
      +    },
      +    "name": {
      +      "type": "string"
      +    },
      +    "note": {
      +      "type": "string"
      +    },
      +    "quantity": {
      +      "type": "number"
      +    },
      +    "shape": {
      +      "type": "string"
      +    },
      +    "shapes": {
      +      "items": {
      +        "additionalProperties": {},
      +        "properties": {
      +          "dims": {
      +            "items": {
      +              "type": "string"
      +            },
      +            "type": "array"
      +          },
      +          "name": {
      +            "type": "string"
      +          },
      +          "note": {
      +            "type": "string"
      +          },
      +          "shape": {
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "shape",
      +          "name",
      +          "dims",
      +          "note"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "totalKg": {
      +      "type": "number"
      +    },
      +    "totalTons": {
      +      "type": "number"
      +    },
      +    "valid": {
      +      "type": "boolean"
      +    }
      +  },
      +  "required": [
      +    "valid"
      +  ],
      +  "type": "object"
      +}
  2. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, so the safety profile is covered. The description adds real behavioral context beyond that: units (mm dims, m length), output units (kg/m, kg, tonnes), the default carbon steel density 7.85, and the rule that omitting length returns only kg/m. It does not, however, discuss precision/rounding or failure behavior for invalid designations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The shape enumeration and unit conventions are front-loaded, which is good, but the same shape list appears in both the Chinese and English portions, producing redundant repetition. It is functional but not tight.

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?

With a rich output schema and full annotation coverage, the description only needs to supply units, defaults, and shape coverage, all of which it does. Given 7 parameters and a nested dims object, it is largely complete, with a minor gap around how dims keys map to each shape and any error behavior.

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 parameter is already documented in the schema, setting the baseline at 3. The description restates the shape keys, units, and output-unit behavior but adds no parameter meaning the schema does not already carry, and it never explains the dims-key-per-shape mapping in more depth than the schema's own notes.

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 resource ('calculate theoretical weight' for steel shapes / GB sections) and enumerates all supported shape keys, so an agent knows exactly what the tool computes and its scope. It is clearly distinct from the sibling lookup/search tools (section_lookup, section_search, weight_materials) which retrieve data rather than compute weight.

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 through the shape enumeration and unit conventions, but there is no explicit when-to-use / when-not-to-use guidance and no mention of alternatives such as section_lookup or weight_materials. An agent must infer that this is the computation tool while the siblings are lookup tools.

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.