Skip to main content
Glama

boj_menu

Lists all BoJ cartridges with their domains, protocols, tiers, and availability for unified access to multiple servers through a single gateway.

Instructions

List all BoJ cartridges with their domains, protocols, tiers, and availability

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The handler for the 'boj_menu' tool, which calls the fetchMenu function and returns the result as text.
    case "boj_menu": {
      const menu = await fetchMenu();
      sendResult(id, {
        content: [
          { type: "text", text: JSON.stringify(menu, null, 2) },
        ],
      });
      break;
    }
  • The fetchMenu function, which performs a GET request to the BoJ server to retrieve the menu.
    async function fetchMenu() {
      try {
        const res = await fetch(`${BOJ_BASE}/menu`);
        return await res.json();
      } catch {
        return OFFLINE_MENU;
      }
    }
  • Registration of the 'boj_menu' tool in the list of tools provided by the bridge.
    tools.push({
      name: "boj_menu",
      description:
        "List all BoJ cartridges with their domains, protocols, tiers, and availability",
      inputSchema: { type: "object", properties: {} },
    });

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/hyperpolymath/boj-server'

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