Skip to main content
Glama

update_project

Modify a project's name or custom domain configuration to reflect changes in branding or deployment requirements.

Instructions

Update a project's name or custom domain.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
projectIdNoProject ID (UUID). If omitted, uses SPRONTA_PROJECT_ID env var.
nameNoNew name (1–100 chars)
customDomainNoCustom CDN domain (max 253 chars), or null to remove

Implementation Reference

  • The handler function for the `update_project` tool. It retrieves the project ID, extracts the optional `name` and `customDomain` parameters, and sends a PATCH request to the Spronta API.
    case "update_project": {
      const pid = getProjectId(args);
      const body: Record<string, unknown> = {};
      if (args.name !== undefined) body.name = args.name;
      if (args.customDomain !== undefined) body.customDomain = args.customDomain;
      return ok(await api.request("PATCH", `/images/projects/${pid}`, body));
    }
  • Tool definition for `update_project` including its input schema, detailing parameters for updating project name and custom domain.
      name: "update_project",
      description: "Update a project's name or custom domain.",
      inputSchema: {
        type: "object",
        properties: {
          ...projectIdParam,
          name: { type: "string", description: "New name (1–100 chars)" },
          customDomain: {
            type: "string",
            description: "Custom CDN domain (max 253 chars), or null to remove",
          },
        },
        required: [],
      },
    },

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/spronta/mcp'

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