Skip to main content
Glama

MIDAS CIVIL NX tools (MIDAS IT Europe)

Write the designed tendons into the model (Tendon Designer)

tendon_write
Destructive

Use after tendon_design, to write its tendons into the model. Writes a tendon_design result into the open model with the Tendon Designer plugin's writer: the strand material and tendon property (or one already in the model), every tendon profile (TDNA) and its prestress (TDPL) in the prestress load case, one load group per tendon group, and - when a construction stage is named - each group's load group activated in its stage. With improve, the model's own tendons the design was read from are removed first (only while unchanged since). Refused when the model, the girder, or the loads the forces were read from changed, and while checks fail unless allowFailedChecks. The model is re-checked before writing, the journal is kept before the first change, and every row is read back. Previews unless apply: true. ON THIS SERVER: called without apply it previews and applies in one call; preview: true only previews.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "tendon_write"
  }
}

Input Schema

NameRequiredDescriptionDefault
applyNo
stageNoActivate every tendon group's load group in this construction stage.
bondedNo
prefixNoTendon name prefix, at most 8 characters (tendons are named <prefix>-C1R1, ...).TD
stagesNoPer tendon group (its key or label from tendon_design design.groups): the construction stage it is stressed in.
previewNoOnly preview; write nothing.
replaceNoRemove tendons this tool wrote before on these elements with the same prefix (recorded in the ledger and unchanged since).
designIdNoThe tendon_design result to write (default: the latest).
loadCaseNoPrestress load case (default PS, or the model tendons' own).
transferLengthNoPost-tensioned transfer length written to each profile. Omitted: the design's own (tendon_design settings.transferLength, default calc = each tendon's EN 1992-1-1 8.10.3(5) length, written as user defined). calc / user (begin, end in m) / none (full force at the anchor) / auto (CIVIL NX's 0.5 x (H + Bf/n)).
confirmPlanHashNo
loadGroupPrefixNoEach tendon group's prestress goes in a load group named this prefix plus the group's name (made if missing). Empty string = no load group (Default); stages need one.TD PS
strandMaterialIdNoStrand material already in the model for a new tendon property (default: a new strand material).
tendonPropertyIdNoUse this tendon property already in the model (default: the model tendons' own for improve, else a new one from the design). null = a new one.
allowFailedChecksNoWrite a design whose checks fail. Only with the user's agreement.
tendonPropertyNameNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / preview
      Added value: +{
      +  "description": "Only preview; write nothing.",
      +  "type": "boolean"
      +}
  2. Changed3 schema fields changed
    • changedInput schema / properties / transferLength / description
      Previous value: -"Transfer length written to each profile (none = full force at the anchor; the design's checks take the full force either way)."New value: +"Post-tensioned transfer length written to each profile. Omitted: the design's own (tendon_design settings.transferLength, default calc = each tendon's EN 1992-1-1 8.10.3(5) length, written as user defined). calc / user (begin, end in m) / none (full force at the anchor) / auto (CIVIL NX's 0.5 x (H + Bf/n))."
    • removedInput schema / properties / transferLength / properties / mode / default
      Removed value: -"none"
    • changedInput schema / properties / transferLength / properties / mode / enum
      Previous value: -[
      -  "none",
      -  "user",
      -  "auto"
      -]New value: +[
      +  "calc",
      +  "user",
      +  "none",
      +  "auto"
      +]
  3. Added

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already flag destructive=true, but the description goes well beyond them: it discloses that improve first removes the model's own tendons (only while unchanged since), that the journal is kept before the first change, that the model is re-checked before writing, and that every row is read back. These are exactly the mutation-risk details an agent needs for a destructive write.

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?

Purpose and prerequisite are front-loaded in the first clause, which is correct. The prose is dense but largely earns its place; the only wasteful part is the redundant and internally inconsistent preview/apply pair of sentences at the end.

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 16-parameter destructive write tool with no output schema, the definition covers prerequisites, side effects, rollback safety, and most parameter nuances. The one shortfall is the ambiguous preview-versus-apply behavior on this server, which is material for an agent deciding whether calling it mutates state.

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?

With 75% schema coverage the baseline is 3, and the description adds real meaning for several parameters: transferLength modes (calc/user/none/auto) are explained in detail, loadGroupPrefix semantics and the empty-string=no-load-group case, prefix naming convention (<prefix>-C1R1), and the null-versus-default behavior of tendonPropertyId. Some parameters (stages, confirmPlanHash, tendonPropertyName) are left only to schema descriptions, so it stops short of full compensation.

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 ('write its tendons into the model') and explicitly ties it to the sibling tendon_design as the required predecessor. It then enumerates exactly what gets written (TDNA profiles, TDPL prestress, load groups, stage activation), so an agent can distinguish it from tendon_design and other *_write tools without opening the schema.

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

Usage Guidelines4/5

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

Gives clear ordering guidance ('Use after tendon_design') and states the refusal conditions (model/girder/loads changed, failed checks unless allowFailedChecks) plus the user-agreement caveat for allowFailedChecks. However, the apply/preview guidance is muddled: 'Previews unless apply: true' is immediately followed by 'called without apply it previews and applies in one call', which leaves the agent unsure whether a bare call mutates the model.

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.

Resources