Skip to main content
Glama
andyluu98

vn-revit-mcp

by andyluu98

dat_tham_so

Destructive

Set a parameter value on up to 200 Revit elements, preview changes by default, or apply real edits only after user confirmation.

Instructions

Gán giá trị cho một tham số trên tối đa 200 phần tử.

chay_thu=True (mặc định): chỉ xem trước, mô hình được hoàn tác. chay_thu=False: sửa thật; Revit hiện hộp duyệt, người dùng bấm Giữ hoặc Hủy. Tham số độ dài, diện tích nhận giá trị theo đơn vị hiển thị của dự án (ví dụ "2500" mm). Chỉ dùng chay_thu=False khi người dùng đã đồng ý rõ ràng.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idsYes
revitNo
gia_triYes
tham_soYes
chay_thuNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A4.3/5.0
Behavior5/5

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

Goes well beyond the annotations (destructiveHint=true). It discloses that the default dry-run is rolled back, that a real edit triggers a Revit Keep/Cancel confirmation dialog, that values are interpreted in project display units (e.g. "2500" mm), and that real edits require explicit user consent. This is exactly the behavioral context a destructive tool needs.

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?

Front-loads the one-line purpose, then breaks the mode/unit guidance into discrete lines with no filler. Dense but every line earns its place; slightly repetitive between the opening scope line and the mode lines.

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?

With an output schema present, return values need not be described, and the annotation safety profile is enriched by the rollback, confirmation-dialog, unit, and consent details. Minor gaps remain: behavior above the 200-element cap, the meaning of revit, and idempotency expectations.

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 0%, so the description must carry parameter meaning. It documents chay_thu's two modes and the value/unit semantics of gia_tri, and implies ids (200-element cap), but leaves revit and tham_so unexplored. Partial compensation for a 5-parameter tool.

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 (gán giá trị = assign a value), the resource (a parameter on elements), and an explicit scope limit (tối đa 200 phần tử). An agent can immediately tell this is a write-back operation on Revit element parameters, distinct from the read-only statistics siblings.

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?

Clearly explains the two operating modes and gives an explicit precondition: only use chay_thu=False when the user has explicitly agreed. This is strong mode-selection guidance, though it does not compare the tool against any sibling alternative.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.