Skip to main content
Glama

MIDAS CIVIL NX tools (MIDAS IT Europe)

Beam to Plate — undo a conversion

b2p_undo
Destructive

Undoes a b2p_convert run from the ledger with the plugin's own Undo: removes the virtual beams, the plates/solids, the rigid links and construction-joint links, the converted loads and the nodes it made, gives the stages and boundary groups back, then puts the beams back with their beam loads, temperatures, releases, offsets, moved nodal loads and structure-group membership, and reads the model back. Resumable: if CIVIL NX refuses some deletes or the connection goes, the call says what is left and calling again with the same runId carries on (also after a background job that stopped). Afterwards (tidy, default on) it also removes the thickness records and the 'B2P mesh' group the run created when nothing uses them — the plugin's own Undo leaves both. Default run: the latest not undone. Previews unless apply: true; on the website the apply runs as a background job.

Input Schema

NameRequiredDescriptionDefault
tidyNoAlso remove the thickness records and mesh group this run created, when unused.
applyNo
runIdNoLedger run id; default = the latest b2p_convert run not yet undone.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already flag destructiveHint=true, and the description goes well beyond them: it lists the exact categories of model entities removed, which are restored to the original beams, that it re-reads the model afterwards, and that tidy additionally deletes thickness records and the 'B2P mesh' group that the plugin's own Undo leaves behind. Resumability and the dry-run default are behaviors no annotation conveys.

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?

All content is relevant, but it is delivered as one very long run-on paragraph where resumability, tidy behavior, default run selection and preview/apply mode are interleaved. Front-loading the undo purpose is good, but the behavioral clauses would scan far better as separate sentences or bullets.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

No output schema exists, and the description covers what an agent needs: default target selection, preview-versus-apply, what a partial failure returns ('says what is left'), and how to resume. Nothing material about invoking this tool safely is missing.

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 67% schema coverage, the description compensates for the undocumented `apply` parameter (previews unless true; runs as a background job on the website) and reinforces `runId`'s default. `tidy` is already fully documented in the schema, so the description adds little there, keeping this just under a 5.

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 ('Undoes') and a specific resource (a b2p_convert run from the ledger), and enumerates exactly what is reverted versus restored. An agent can distinguish this from b2p_convert or the other *_undo siblings 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 Guidelines5/5

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

Explicit call conditions: default targets the latest not-undone run, it previews unless apply:true, and repeated calls with the same runId resume after a partial failure or a stopped background job. The only minor omission is naming b2p_convert directly as the paired tool, but the runId semantics make that obvious.

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