Skip to main content
Glama

delete_project

Remove a project from Backlog by specifying its ID or key to manage your project workspace effectively.

Instructions

Deletes a project

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
projectIdNoThe numeric ID of the project (e.g., 12345)
projectKeyNoThe key of the project (e.g., 'PROJECT')

Implementation Reference

  • The async handler function that resolves the project ID or key using resolveIdOrKey and calls backlog.deleteProject to delete the project.
    handler: async ({ projectId, projectKey }) => { const result = resolveIdOrKey( 'project', { id: projectId, key: projectKey }, t ); if (!result.ok) { throw result.error; } return backlog.deleteProject(result.value); },
  • Zod schema definition for the delete_project tool input parameters: projectId (optional number) and projectKey (optional string).
    const deleteProjectSchema = buildToolSchema((t) => ({ projectId: z .number() .optional() .describe( t( 'TOOL_DELETE_PROJECT_PROJECT_ID', 'The numeric ID of the project (e.g., 12345)' ) ), projectKey: z .string() .optional() .describe( t( 'TOOL_DELETE_PROJECT_PROJECT_KEY', "The key of the project (e.g., 'PROJECT')" ) ), }));
  • Registration of the delete_project tool by calling deleteProjectTool factory and adding it to the 'project' toolset in allTools.
    deleteProjectTool(backlog, helper),

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/nulab/backlog-mcp-server'

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