Skip to main content
Glama
SorataYang

Qiao-MCP

by SorataYang

add_constraint_equation

Define a linear constraint equation linking a slave node DOF to master DOFs with coefficients, enabling coupled motion in structural analysis models.

Instructions

    Add a constraint equation between node DOFs (添加约束方程).

    Establishes a linear relationship between a slave DOF and one or more
    master DOFs: slave_dof = Σ(coefficient × master_dof).
    建立从属自由度与主自由度之间的线性约束关系。

    Args:
        name: Constraint equation name (约束方程名称)
        slave_node: Slave node ID (从节点编号)
        slave_dof: Slave DOF index 1-6 (从节点自由度: 1=Dx,2=Dy,3=Dz,4=Rx,5=Ry,6=Rz)
        master_info: List of master DOF definitions [[node_id, dof, coefficient], ...]
                     (主自由度信息 [[节点号, 自由度号, 系数], ...])
        group_name: Boundary group name (边界组名)

    Example:
        add_constraint_equation("CE1", slave_node=5, slave_dof=3,
                                master_info=[[1, 3, 1.0], [2, 3, 0.5]])
        # Node 5 Dz = 1.0 * Node1_Dz + 0.5 * Node2_Dz
    

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYes
slave_dofNo
group_nameNo
slave_nodeYes
master_infoNo

Schema Changelog

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

  1. First observedv0.3.1

TDQS

A3.5/5.0
Behavior3/5

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

Annotations provide no behavioral hints, so the description must carry the burden. It does disclose the core linear-relationship behavior and DOF index meanings, but it does not explain side effects, duplicate-name behavior, validation, or how the equation affects the model beyond being added.

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 content is well-organized with a summary, Args block, and example, and the key behavior is front-loaded. However, repeating every line in Chinese roughly doubles the length without adding information for an English-speaking agent.

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 5-parameter tool with no output schema and unhelpful annotations, the description supplies nearly all needed call semantics: parameter roles, valid value meanings, and an example. It is still slightly incomplete about when this tool should be preferred over other master/slave or constraint tools.

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

Parameters5/5

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

With schema description coverage at 0%, the description fully compensates by explaining each parameter, including DOF index meaning (1=Dx, 2=Dy, etc.), the nested master_info structure, and coefficient interpretation. The worked example concretizes the exact list format expected.

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 clearly identifies a specific action ('Add a constraint equation between node DOFs') with a precise mathematical definition: slave_dof = Σ(coefficient × master_dof). This distinguishes it from generic 'link' or 'support' tools, though it does not explicitly contrast with the similar add_master_slave_link sibling.

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

Usage Guidelines2/5

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

There is no guidance on when to use this tool instead of alternatives like add_master_slave_link or add_bea_constraint. The example clarifies syntax but not the selection criteria or preconditions for constraint equations.

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