Skip to main content
Glama

Create turnout sleepers

create_turnout_sleepers

Lays the sleepers of one turnout panel (create_turnout) by rule turnout_sleepers/1; dry_run previews it, nothing written. Each sleeper is one IfcTrackElement SLEEPER, a box length x width_m x height_m, a part of the panel (IfcRelAggregates) typed by the IfcTrackElementType you name; Pset_TrackElementOccurrenceSleeper.SequenceInTrackPanel numbers them 1..n from WA. Pivots every step_m along the stem from WA; up to WE each line turns by k of the local branch angle toward WA, behind WE it stands square to the bisector of the end angle. Length 2.60 m plus a (pivot to branch axis along the line), rounded up to 0.10 m, while it stays within 4.70 m (the last is ldSch); then short pairs on the same line, outer ends 1.30 m beyond each axis, 2.30 to 2.50 m, until a reaches 2.60 m: from there plain track fits. Every sleeper carries assumption turnout_sleepers/1 with deviation_m, the largest of length rounding, end offset against k 1 and a short one's centre off a symmetric one; sleepers.rows names each. The branch must run in the file past the last sleeper line: edit_alignment the branch first (the refusal names its length). Moddl_Weiche.Schwellen holds the input and the reach; create_track sleepers whose bodies meet theirs and bed there are refused, rails pass; laying them where plain sleepers stand is refused too. A stem edit carries the sleepers with the panel only where the stem keeps its shape under them; else the turnout stays where it stands. New revision, effect report. A call that succeeds is not a job that's done.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "guid": "<guid>",
      "sleepers": "<sleepers>"
    },
    "name": "create_turnout_sleepers"
  }
}

Input Schema

NameRequiredDescriptionDefault
guidYesThe turnout panel: IfcElementAssembly TURNOUTPANEL of create_turnout
noteNoYour note, stored with the new revision
sourceNoWhere the values you write come from: assumption (default, your own estimate, stamped in the file) or user (only what the person named word for word; it then reads as the file does)
dry_runNoPreview: the planned effect and its checks, nothing written
sleepersYesType, section and top of the sleepers; the lengths come from the rule
request_idNoYour id for this call: a repeat answers the first result and writes nothing

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior5/5

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

The annotations declare a non-destructive write operation, and the description adds substantial behavioral context: dry_run writes nothing, multiple refusal cases, assumption stamping, revision creation, and stem-edit propagation. These details go well beyond the annotations without contradicting them.

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 purpose is front-loaded, but the body is a dense run-on with undefined domain abbreviations such as WA, WE, and ldSch. The detail is relevant, yet the closing line is cryptic and the structure makes parsing harder than necessary.

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 complex nested-geometry creation tool with no output schema, the description covers prerequisites, refusals, and side effects well. The response is summarized only as an 'effect report,' so some output detail remains thin.

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%, and the schema already defines every field in detail. The description mostly restates parameter behavior for k and step_m and explains derived geometry rather than adding input-specific meaning for note, source, or request_id.

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 opening clause states a specific verb ('Lays') and resource ('sleepers of one turnout panel'), ties it to create_turnout, and distinguishes the dry-run mode. An agent can identify the operation 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?

It gives a concrete prerequisite, requiring the branch to run past the last sleeper line and directing the agent to edit_alignment first otherwise. It also lists refusal conditions for conflicting sleepers, though it does not fully contrast use against other creation 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.

Resources