Skip to main content
Glama
using76
by using76

bulc_list_walls

Retrieve wall data including IDs, coordinates, thickness, and height from building designs to identify and manage structural elements for modification or removal.

Instructions

Get a list of all walls with their IDs, coordinates, thickness, and height. Use the returned IDs for modify/delete operations.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
levelNoFilter by floor level index. Omit to list all.

Implementation Reference

  • Handler logic for 'bulc_list_walls': validates input using ListWallsSchema and sends 'list_walls' command to BULC client via getBulcClient().
    case "bulc_list_walls": {
      const validated = ListWallsSchema.parse(args);
      result = await client.sendCommand({
        action: "list_walls",
        params: validated,
      });
      break;
    }
  • Zod validation schema for bulc_list_walls input (optional level filter).
    const ListWallsSchema = z.object({
      level: z.number().int().optional(),
    });
  • Tool definition/registration in wallTools array, including name, description, inputSchema, and annotations.
    {
      name: "bulc_list_walls",
      description:
        "Get a list of all walls with their IDs, coordinates, thickness, and height. " +
        "Use the returned IDs for modify/delete operations.",
      inputSchema: {
        type: "object" as const,
        properties: {
          level: {
            type: "integer",
            description: "Filter by floor level index. Omit to list all.",
          },
        },
      },
      annotations: {
        readOnlyHint: true,
        destructiveHint: false,
      },
    },
  • src/index.ts:73-76 (registration)
    MCP server request handler routes 'bulc_*wall*' tools (including bulc_list_walls) to handleWallTool.
    // Wall tools
    if (name.startsWith("bulc_") && name.includes("wall")) {
      return await handleWallTool(name, safeArgs);
    }
  • src/index.ts:54-58 (registration)
    Registers allTools (including wallTools with bulc_list_walls) for ListToolsRequestSchema.
    server.setRequestHandler(ListToolsRequestSchema, async () => {
      return {
        tools: allTools,
      };
    });

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