Skip to main content
Glama
using76
by using76

bulc_delete_room

Remove a room from your building design by specifying its unique ID. This tool helps maintain clean project files by deleting unwanted rooms.

Instructions

Delete a room by its ID. Get room IDs from bulc_list_rooms.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesRoom ID to delete

Implementation Reference

  • Handler implementation for the 'bulc_delete_room' tool: parses input arguments using DeleteRoomSchema and sends a 'delete_room' command with validated params to the BULC client.
    case "bulc_delete_room": {
      const validated = DeleteRoomSchema.parse(args);
      result = await client.sendCommand({
        action: "delete_room",
        params: validated,
      });
      break;
    }
  • Zod runtime validation schema for 'bulc_delete_room' input, requiring a string 'id'.
    const DeleteRoomSchema = z.object({
      id: z.string(),
    });
  • MCP tool registration entry for 'bulc_delete_room', including name, description, JSON input schema (requiring 'id' string), and annotations.
    {
      name: "bulc_delete_room",
      description: "Delete a room by its ID. Get room IDs from bulc_list_rooms.",
      inputSchema: {
        type: "object" as const,
        properties: {
          id: {
            type: "string",
            description: "Room ID to delete",
          },
        },
        required: ["id"],
      },
      annotations: {
        readOnlyHint: false,
        destructiveHint: true,
      },
    },

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/using76/BULC_MCP'

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