add_length_restriction
Constrain string length
How to use it
add_length_restriction is exposed by the Ifc Ids MCP MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the add_length_restriction tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
Install Ifc Ids MCP
pip install -r requirements.txtOther tools in Ifc Ids MCP (16)
Add IFC attribute requirements
Constrain numeric ranges
Add classification requirements
Add IFC entity type filter (e.g., IFCWALL)
Constrain to list of valid values
Add material requirements
Add spatial relationship requirements
Constrain with regex pattern
Add property requirements
Add specification with IFC version and cardinality
Create new IDS document
Export IDS to XML with validation
Get document structure and metadata
Load existing IDS from file or XML string
Validate IDS document against XSD schema
Validate IFC model against IDS (bonus feature)