Skip to main content
Glama

diff

Compare two system architectures to identify structural differences in topology, roles, and subsystems. Analyze changes between EN syntax descriptions for system analysis.

Instructions

Structural diff between two systems — topology, role, and subsystem changes.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
source_aYesEN source code for the first system
source_bYesEN source code for the second system

Implementation Reference

  • Registration and handler implementation for the 'diff' tool, which calls the external API.
    server.tool(
      "diff",
      "Structural diff between two systems — topology, role, and subsystem changes.",
      {
        source_a: z.string().describe("EN source code for the first system"),
        source_b: z.string().describe("EN source code for the second system"),
      },
      async ({ source_a, source_b }) => {
        const result = await callApi("diff", { source_a, source_b });
        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