Skip to main content
Glama
SorataYang

Qiao-MCP

by SorataYang

create_section

Create parametric cross-sections for bridge structural analysis. Supports basic, concrete, composite, and ribbed steel profiles with name, type, and dimensions.

Instructions

    Create a cross-section (创建截面) — one tool for all parametric section types.

    Args:
        name: Section name (截面名称)
        sec_type: Section type, Chinese enum (截面类型,中文枚举)。
            sec_info layout per type (各类型 sec_info 参数顺序):
            ─ 基本形状 ─
            "矩形":       [宽, 高]
            "圆形":       [直径]
            "圆管":       [直径, 壁厚]
            "箱型":       [宽, 高, 底宽, 腹板厚, 顶板厚, 底板厚]
            "T形":        [宽, 高, 腹板厚, 顶板厚]
            "倒T形":      [宽, 高, 腹板厚, 底板厚]
            "I字形":      [顶宽, 底宽, 高, 腹板厚, 顶板厚, 底板厚]
            "马蹄T形":    [宽, 高, 腹板厚, 翼缘厚, 腹板底渐变高, 顶倒角宽, 顶倒角高, 底倒角宽, 底倒角高]
            "实腹八边形": [宽, 高, 倒角高, 倒角宽]
            "空腹八边形": [宽, 高, 腹板厚, 顶板厚, 底板厚, 倒角宽, 倒角高]
            "内八角形":   [宽, 高, 腹板厚, 顶板厚, 底板厚, 倒角宽, 倒角高]
            "实腹圆端形": [宽, 高]
            "空腹圆端形": [宽, 高, 壁厚]
            ─ 混凝土/组合 ─
            "I字型混凝土": [顶宽, 底宽, 高, 腹板厚, 顶板厚, 底板厚, 顶倒角宽, 顶倒角高, 底倒角宽, 底倒角高]
            "钢管砼":     [直径, 壁厚]
            "钢箱砼":     [宽, 高, 底宽, 腹板厚, 顶板厚, 底板厚]
            "混凝土箱梁": 顶板/腹板/底板参数列表,配合 box_num/box_height/symmetry/chamfer_info
            "工字组合梁" | "箱形组合梁" | "自定义组合梁": sec_info + mat_combine(材料组合比)
            ─ 钢结构带肋 ─
            "带肋H截面":   [高, 宽, 左右腹板厚, 横腹板厚, 腹板肋高, 腹板肋厚]
            "钢工字型带肋": [顶宽, 底宽, 腹板高, 顶板厚, 底板厚, 腹板厚, 顶缘肋距, 肋数, 肋距, 肋高, 肋厚]
            "带肋钢箱":   [宽, 高, 腹板厚, 顶板厚, 底板厚, 顶底板肋高, 顶底板肋厚, 腹板肋高, 腹板肋厚,
                          顶底板肋距, 腹板肋距, 腹板肋数, 顶底板肋数]
            "钢桁箱梁3":  [高, 宽, 顶悬臂肋高, 底悬臂肋高, 腹板厚, 顶板厚, 底板厚, 顶板肋高, 顶板肋厚,
                          底板肋高, 底板肋厚, 腹板肋高, 腹板肋厚]
            "钢桁箱梁1":  [高, 宽, 左悬臂宽, 右悬臂宽, 底悬臂高, 腹板厚, 顶板厚, 底板厚, 顶板肋高, 顶板肋厚,
                          底板肋高, 底板肋厚, 顶缘腹板肋距, 腹板肋数, 腹板肋距, 腹板肋高, 腹板肋厚,
                          左腹板肋位置, 右腹板肋位置, 左悬臂肋距, 左悬臂肋高, 左悬臂肋厚, 左悬臂肋顶距,
                          左悬臂肋底距, 左悬臂肋倒角, 右悬臂肋距, 右悬臂肋高, 右悬臂肋厚, 右悬臂肋顶距,
                          右悬臂肋底距, 右悬臂肋倒角]  (32项)
            "钢桁箱梁2":  [高, 宽, 左上悬臂宽, 右上悬臂宽, 左下悬臂宽, 右下悬臂宽, 腹板厚, 顶板厚, 底板厚,
                          顶板肋高, 顶板肋厚, 底板肋高, 底板肋厚, 顶缘腹板肋距, 腹板肋数, 腹板肋距,
                          腹板肋高, 腹板肋厚, 左腹板肋位置, 右腹板肋位置, 左上悬臂肋距, 左上悬臂肋高,
                          左上悬臂肋厚, 左上悬臂肋顶距, 左上悬臂肋底距, 左上悬臂肋倒角, 右上悬臂肋距,
                          右上悬臂肋高, 右上悬臂肋厚, 右上悬臂肋顶距, 右上悬臂肋底距, 右上悬臂肋倒角,
                          左下悬臂肋距, 左下悬臂肋高, 左下悬臂肋厚, 右下悬臂肋距, 右下悬臂肋高,
                          右下悬臂肋厚]  (38项)
        sec_info: Section dimensions in the order shown above (按上表顺序的截面尺寸参数)
        mat_combine: Material combination ratios for composite sections (组合梁材料组合比)
        box_num: Number of box cells, concrete box girder only (箱室数,混凝土箱梁)
        box_height: Box girder height, concrete box girder only (箱梁梁高)
        symmetry: Symmetric section, concrete box girder (是否对称截面)
        chamfer_info: Chamfer info strings, concrete box girder (倒角信息)

    For non-parametric sections use: create_polygon_section (任意多边形),
    create_line_width_section (线宽), create_section_from_properties (按特性值).

    Example:
        create_section(name="主梁", sec_type="矩形", sec_info=[1.0, 1.5])
        create_section(name="钢管", sec_type="圆管", sec_info=[0.6, 0.016])
    

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYes
box_numNo
sec_infoNo
sec_typeYes
symmetryNo
box_heightNo
mat_combineNo
chamfer_infoNo

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv0.3.1

TDQS

A4.5/5.0
Behavior4/5

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

Annotations give only readOnlyHint=false, destructiveHint=false, so they communicate little. The description compensates by disclosing the full complexity of the tool: sec_info layout varies by sec_type, all parameter orderings for 20+ types, and which parameters are conditional (box_num/box_height/symmetry/chamfer_info for concrete box girders). It doesn't discuss error behavior or what happens on invalid combinations, but for a parametric creation tool the parameter-layout disclosure is the key behavioral transparency, and it is provided in depth. A small deduction for not mentioning side effects or failure modes.

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?

The description is long, but the length is earned: every section type entry lists different parameter orderings that cannot be omitted. It is well-structured with visual separators (基本形状, 混凝土/组合, 钢结构带肋) and ends with examples. The 'Args:' formatting is a bit unusual for an LLM-facing tool (reads like Python docstring), but it is organized and scannable. One minor deduction for the docstring-style format and a small amount of redundancy (e.g. Chinese parentheticals repeating the English terms).

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 tool with 8 parameters, 20+ section types, and no output schema, the description is remarkably complete. It covers all parameter semantics, conditional parameter applicability, and provides examples. The remaining gaps: it doesn't state what the tool returns on success/failure, doesn't clarify whether mat_combine is formatted as ratios (e.g. percentages), and doesn't explain chamfer_info string format for concrete box girders. Given the complexity, this is strong but not perfect.

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?

Schema description coverage is 0%, so the description must fully compensate, and it does substantially. It defines sec_type as a Chinese enum with all allowed values, gives the exact sec_info element order for each type, and explains mat_combine, box_num, box_height, symmetry, and chamfer_info. However, it does not fully explain the default behavior of sec_info (nullable with default null) or whether it is required for all types, so there is a small remaining gap. Overall it adds enormous meaning beyond the bare schema.

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 clearly states the tool creates a cross-section and explicitly says it is 'one tool for all parametric section types' (创建截面). It distinguishes itself from non-parametric alternatives by naming siblings create_polygon_section, create_line_width_section, and create_section_from_properties. The purpose is unambiguous and directly differentiates from the sibling tools.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description explicitly explains when to use this tool vs alternatives: 'For non-parametric sections use: create_polygon_section, create_line_width_section, create_section_from_properties'. It also gives detailed per-type parameter guidance, including which parameters apply only to concrete box girders. This is exemplary usage guidance far beyond the minimum.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/SorataYang/qiao-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server