Skip to main content
Glama
xiuchuan666

revit-tunnel-mcp

by xiuchuan666

预览盾构隧道独立管片

preview_tunnel_segments
Read-onlyIdempotent

Validate shield-tunnel segment layout, family versions, and dimensions to return preview tokens for each segment without modifying Revit.

Instructions

校验布局、族版本、线形与尺寸,返回每块独立管片的完整计划和预览令牌;不会修改 Revit。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
batch_idNo批次标识;不填时由几何参数确定性生成
layout_idNo管片布局标识,默认 9A1K;以后可由目录增加 6A2B1K
ring_countNo整体管片环数量,默认 10,MVP 最多 50 环
start_x_mmNo第一环起始端面 X 坐标,单位 mm
start_y_mmNo第一环起始端面 Y 坐标,单位 mm
start_z_mmNo第一环起始端面中心标高,单位 mm,默认 12000
thickness_mmNo管片厚度,单位 mm,默认 900,必须小于外半径
ring_width_mmNo单环宽度,单位 mm,默认 2000
grade_permilleNo直线纵坡,单位 ‰,正值表示沿 +X 下坡,默认 0
content_profileNo族内容配置,默认 basic
content_versionNo族内容版本,默认 1
outer_diameter_mmNo管片外径,单位 mm,默认 18000
stagger_angle_degNo相邻环交替正负旋转的错缝角,单位度,默认 18.75
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false. The description adds value by specifying the concrete behavior: it validates inputs and returns a plan plus preview token, and reaffirms the non-modifying nature ('不会修改 Revit'). This goes beyond the annotations by detailing the validation scope and output nature, 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.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single concise sentence that front-loads the core action (validate), then the return, then the safety guarantee. Zero wasted words. It is appropriately sized for the tool's purpose and reads well in the original Chinese.

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?

Given the tool has 13 parameters (all documented), no output schema, and the annotations already cover safety, the description provides enough context: it explains what is validated, what is returned (plan and preview token), and that it is non-destructive. It doesn't detail the return format or failure conditions, but for a preview tool with full schema coverage this is reasonably complete. A bit more on the meaning of 'complete plan' would push it higher.

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?

The schema description coverage is 100%, so all 13 parameters already have descriptions. The tool description references general categories (layout, family version, alignment, dimensions) that map onto parameters but adds no per-parameter detail beyond the schema. Since the schema carries the full burden, the baseline score of 3 applies; the description offers only marginal contextual gloss.

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 validates layout, family version, alignment, and dimensions, and returns a complete plan and preview token for each segment. It also declares '不会修改 Revit' (will not modify Revit), which distinguishes it from sibling creation tools like create_tunnel_segments and from preview_tunnel_rings by specifying segment-level granularity. This is a specific verb+resource with behavioral scope.

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

Usage Guidelines3/5

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

The description implies usage for previewing/validating before creating segments, and explicitly notes it doesn't modify Revit, which suggests safe use. However, it does not name alternative tools (e.g., preview_tunnel_rings) or provide explicit conditions for when to use this tool instead of others. Guidance is present but implicit, not explicit.

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/xiuchuan666/revit-tunnel-mcp'

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