Skip to main content
Glama

boj_cartridge_info

Retrieve detailed specifications for BoJ-server cartridges to understand their capabilities and integration requirements.

Instructions

Get detailed information about a specific BoJ cartridge

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesCartridge name (e.g. database-mcp, container-mcp, git-mcp)

Implementation Reference

  • The handler function that executes the logic for 'boj_cartridge_info' by fetching info from the BOJ API or falling back to offline menu.
    async function fetchCartridgeInfo(name) {
      if (!isValidCartridgeName(name)) {
        return { error: `Invalid cartridge name: ${name}` };
      }
      try {
        const res = await fetch(`${BOJ_BASE}/cartridge/${encodeURIComponent(name)}`);
        return await res.json();
      } catch {
        const all = OFFLINE_MENU.tier_teranga.concat(OFFLINE_MENU.tier_shield);
        const found = all.find(c => c.name === name);
        return found || { error: `Unknown cartridge: ${name}` };
      }
    }
  • The tool invocation handler that routes the 'boj_cartridge_info' request to the implementation function.
    case "boj_cartridge_info": {
      const info = await fetchCartridgeInfo(args.name);
      sendResult(id, {
        content: [
          { type: "text", text: JSON.stringify(info, null, 2) },
        ],
      });
      break;

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