Skip to main content
Glama
using76
by using76

bulc_delete_wall

Remove walls from building designs by specifying their unique ID, enabling precise editing of architectural layouts within the BULC Building Designer environment.

Instructions

Delete a wall by its ID. Get wall IDs from bulc_list_walls.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesWall ID to delete

Implementation Reference

  • Handler case for 'bulc_delete_wall' tool: parses input with DeleteWallSchema and sends 'delete_wall' command to BULC client via getBulcClient().
    case "bulc_delete_wall": {
      const validated = DeleteWallSchema.parse(args);
      result = await client.sendCommand({
        action: "delete_wall",
        params: validated,
      });
      break;
    }
  • Tool definition including name, description, inputSchema (requiring 'id' string), and annotations for the bulc_delete_wall tool, part of exported wallTools array.
    {
      name: "bulc_delete_wall",
      description: "Delete a wall by its ID. Get wall IDs from bulc_list_walls.",
      inputSchema: {
        type: "object" as const,
        properties: {
          id: {
            type: "string",
            description: "Wall ID to delete",
          },
        },
        required: ["id"],
      },
      annotations: {
        readOnlyHint: false,
        destructiveHint: true,
      },
    },
  • Zod schema for validating input arguments to bulc_delete_wall handler.
    const DeleteWallSchema = z.object({
      id: z.string(),
    });
  • src/index.ts:73-76 (registration)
    Dispatch logic in main MCP server handler that routes calls to 'bulc_delete_wall' (and other wall tools) to handleWallTool.
    // Wall tools
    if (name.startsWith("bulc_") && name.includes("wall")) {
      return await handleWallTool(name, safeArgs);
    }
  • src/index.ts:43-43 (registration)
    Inclusion of wallTools (containing bulc_delete_wall) into the allTools array provided to MCP ListToolsRequest.
    ...wallTools,         // 5 tools: create, create_rectangle, list, modify, delete

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