Skip to main content
Glama

IDS MCP Server

add_enumeration_restriction

Define allowed values for building specification parameters by adding enumeration restrictions to IDS files, ensuring compliance with predefined options.

Instructions

Add enumeration restriction (list of allowed values).

Args: spec_id: Specification identifier or name facet_index: Index of facet in location (0-based) parameter_name: Which parameter to restrict (e.g., "value", "propertySet") base_type: XSD base type (e.g., "xs:string", "xs:integer") values: List of allowed values ctx: FastMCP Context (auto-injected) location: "applicability" or "requirements" (default: "requirements")

Returns: {"status": "added", "restriction_type": "enumeration", "spec_id": "S1"}

Example: Add enumeration to property value: FireRating must be "REI30", "REI60", or "REI90"

Input Schema

NameRequiredDescriptionDefault
spec_idYes
facet_indexYes
parameter_nameYes
base_typeYes
valuesYes
locationNorequirements

Input Schema (JSON Schema)

{ "properties": { "base_type": { "type": "string" }, "facet_index": { "type": "integer" }, "location": { "default": "requirements", "type": "string" }, "parameter_name": { "type": "string" }, "spec_id": { "type": "string" }, "values": { "items": { "type": "string" }, "type": "array" } }, "required": [ "spec_id", "facet_index", "parameter_name", "base_type", "values" ], "type": "object" }

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/vinnividivicci/ifc-ids-mcp'

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