Skip to main content
Glama

evolve

Dry-run architectural changes by applying patches to see structural deltas before implementation.

Instructions

Dry-run architectural changes — apply a patch and see the structural delta.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sourceYesEN source code describing the current system
patchYesEN source code patch to apply

Implementation Reference

  • The 'evolve' tool registration and handler logic. It takes 'source' and 'patch' as input and calls the 'evolve' API endpoint.
    server.tool(
      "evolve",
      "Dry-run architectural changes — apply a patch and see the structural delta.",
      {
        source: z.string().describe("EN source code describing the current system"),
        patch: z.string().describe("EN source code patch to apply"),
      },
      async ({ source, patch }) => {
        const result = await callApi("evolve", { source, patch });
        return {
          content: [{ type: "text" as const, text: result.text }],
          isError: result.isError,
        };
      }
    );

Tool Definition Quality

Score is being calculated. Check back soon.

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

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