Skip to main content
Glama

categorize

Auto-discover subsystem boundaries from dependency structure to identify system components and relationships. Analyze EN source code to reveal structural patterns and organizational hierarchies.

Instructions

Auto-discover subsystem boundaries from dependency structure.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sourceYesEN source code describing the system

Implementation Reference

  • The "categorize" tool is registered and implemented in src/index.ts, which uses a helper function `callApi` to send requests to an external API.
    server.tool(
      "categorize",
      "Auto-discover subsystem boundaries from dependency structure.",
      {
        source: z.string().describe("EN source code describing the system"),
      },
      async ({ source }) => {
        const result = await callApi("categorize", { source });
        return {
          content: [{ type: "text" as const, text: result.text }],
          isError: result.isError,
        };
      }
    );

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/dushyant30suthar/endiagram-mcp'

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