Skip to main content
Glama

get_gaps

Identify architectural gaps by finding decisions that may not be fully implemented in your codebase.

Instructions

Find architectural gaps — decisions that were made but may not be fully implemented.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The handler for the 'get_gaps' tool which identifies decisions with constraints.
    // ── get_gaps ──
    if (name === "get_gaps") {
      const store = readStore();
    
      const gaps = store.decisions.filter(
        (d) => d.constraints.length > 0
      );
    
      if (gaps.length === 0) {
        return {
          content: [
            {
              type: "text",
              text: "No gaps found. All decisions have been recorded without constraints.",
            },
          ],
        };
      }
    
      const report = gaps
        .map(
          (d) =>
            `⚠️  ${d.decision}\n` +
            `   Constraints: ${d.constraints.join(", ")}\n` +
            `   Recorded: ${d.timestamp.split("T")[0]}`
        )
        .join("\n\n");
    
      return {
        content: [
          {
            type: "text",
            text: `Architectural Gaps Found:\n\n${report}`,
          },
        ],
      };
    }
  • src/index.ts:206-214 (registration)
    The tool registration for 'get_gaps' in the ListTools response.
    {
      name: "get_gaps",
      description:
        "Find architectural gaps — decisions that were made but may not be fully implemented.",
      inputSchema: {
        type: "object",
        properties: {},
      },
    },
Install Server

Other Tools

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/EliotShift/lore-mcp'

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