Skip to main content
Glama
daanno

Simplicate MCP Server

by daanno

delete_project

Remove projects from Simplicate business management system by providing the project ID. This action permanently deletes project records from the database.

Instructions

Delete a project

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
project_idYesProject ID

Implementation Reference

  • Core handler implementation that executes the DELETE API request to delete the project by ID via SimplicateClient.
    async deleteProject(projectId: string): Promise<void> {
      await this.client.delete(`/projects/project/${projectId}`);
    }
  • MCP server dispatch handler for 'delete_project' tool that validates input and delegates to SimplicateServiceExtended.deleteProject.
    case 'delete_project': {
      if (!toolArgs.project_id) throw new Error('project_id is required');
      await this.simplicateService.deleteProject(toolArgs.project_id);
      return { content: [{ type: 'text', text: 'Project deleted successfully' }] };
    }
  • Tool schema definition including input schema requiring 'project_id' string, registered in listTools response.
    {
      name: 'delete_project',
      description: 'Delete a project',
      inputSchema: {
        type: 'object',
        properties: { project_id: { type: 'string', description: 'Project ID' } },
        required: ['project_id'],
      },
    },
  • Registration of all tools including 'delete_project' in the MCP ListToolsRequestHandler.
    this.server.setRequestHandler(ListToolsRequestSchema, async () => ({
      tools: [
        // =============================================
        // PROJECTS TOOLS (7 tools)
        // =============================================
        {
          name: 'get_projects',
          description: 'Retrieve a list of all projects',
          inputSchema: {
            type: 'object',
            properties: {
              limit: { type: 'number', description: 'Maximum number to return (default: 10)' },
              offset: { type: 'number', description: 'Number to skip for pagination' },
            },
          },
        },
        {
          name: 'get_project',
          description: 'Get details of a specific project by ID',
          inputSchema: {
            type: 'object',
            properties: { project_id: { type: 'string', description: 'Project ID' } },
            required: ['project_id'],
          },
        },
        {
          name: 'create_project',
          description: 'Create a new project',
          inputSchema: {
            type: 'object',
            properties: {
              name: { type: 'string', description: 'Project name' },
              organization_id: { type: 'string', description: 'Organization ID' },
              project_manager_id: { type: 'string', description: 'Project manager employee ID' },
              start_date: { type: 'string', description: 'Start date (YYYY-MM-DD)' },
              budget: { type: 'number', description: 'Project budget' },
            },
            required: ['name'],
          },
        },
        {
          name: 'update_project',
          description: 'Update an existing project',
          inputSchema: {
            type: 'object',
            properties: {
              project_id: { type: 'string', description: 'Project ID' },
              data: { type: 'object', description: 'Fields to update' },
            },
            required: ['project_id', 'data'],
          },
        },
        {
          name: 'delete_project',
          description: 'Delete a project',
          inputSchema: {
            type: 'object',
            properties: { project_id: { type: 'string', description: 'Project ID' } },
            required: ['project_id'],
          },
        },
        {
          name: 'get_project_services',
          description: 'Get services/items for a specific project',
          inputSchema: {
            type: 'object',
            properties: { project_id: { type: 'string', description: 'Project ID' } },
            required: ['project_id'],
          },
        },
        {
          name: 'get_tasks',
          description: 'Retrieve project tasks',
          inputSchema: {
            type: 'object',
            properties: {
              limit: { type: 'number', description: 'Maximum number to return' },
              offset: { type: 'number', description: 'Number to skip' },
            },
          },
        },
    
        // =============================================
        // CRM TOOLS (8 tools)
        // =============================================
        {
          name: 'get_organizations',
          description: 'Retrieve CRM organizations',
          inputSchema: {
            type: 'object',
            properties: {
              limit: { type: 'number' },
              offset: { type: 'number' },
            },
          },
        },
        {
          name: 'get_organization',
          description: 'Get specific organization by ID',
          inputSchema: {
            type: 'object',
            properties: { organization_id: { type: 'string' } },
            required: ['organization_id'],
          },
        },
        {
          name: 'create_organization',
          description: 'Create a new organization',
          inputSchema: {
            type: 'object',
            properties: {
              name: { type: 'string', description: 'Organization name' },
              email: { type: 'string' },
              phone: { type: 'string' },
              website: { type: 'string' },
            },
            required: ['name'],
          },
        },
        {
          name: 'update_organization',
          description: 'Update an organization',
          inputSchema: {
            type: 'object',
            properties: {
              organization_id: { type: 'string' },
              data: { type: 'object' },
            },
            required: ['organization_id', 'data'],
          },
        },
        {
          name: 'get_persons',
          description: 'Retrieve contact persons',
          inputSchema: {
            type: 'object',
            properties: {
              limit: { type: 'number' },
              offset: { type: 'number' },
            },
          },
        },
        {
          name: 'get_person',
          description: 'Get specific person by ID',
          inputSchema: {
            type: 'object',
            properties: { person_id: { type: 'string' } },
            required: ['person_id'],
          },
        },
        {
          name: 'create_person',
          description: 'Create a new contact person',
          inputSchema: {
            type: 'object',
            properties: {
              first_name: { type: 'string' },
              family_name: { type: 'string' },
              email: { type: 'string' },
              organization_id: { type: 'string' },
            },
            required: ['first_name', 'family_name'],
          },
        },
        {
          name: 'update_person',
          description: 'Update a person',
          inputSchema: {
            type: 'object',
            properties: {
              person_id: { type: 'string' },
              data: { type: 'object' },
            },
            required: ['person_id', 'data'],
          },
        },
    
        // =============================================
        // SERVICES TOOLS (4 tools)
        // =============================================
        {
          name: 'get_services',
          description: 'Retrieve services catalog',
          inputSchema: {
            type: 'object',
            properties: {
              limit: { type: 'number' },
              offset: { type: 'number' },
            },
          },
        },
        {
          name: 'get_service',
          description: 'Get specific service by ID',
          inputSchema: {
            type: 'object',
            properties: { service_id: { type: 'string' } },
            required: ['service_id'],
          },
        },
        {
          name: 'create_service',
          description: 'Create a new service',
          inputSchema: {
            type: 'object',
            properties: {
              name: { type: 'string' },
              price: { type: 'number' },
            },
            required: ['name', 'price'],
          },
        },
        {
          name: 'get_default_services',
          description: 'Get default services configuration',
          inputSchema: { type: 'object', properties: {} },
        },
    
        // =============================================
        // TASKS TOOLS (3 tools)
        // =============================================
        {
          name: 'get_task',
          description: 'Get specific task by ID',
          inputSchema: {
            type: 'object',
            properties: { task_id: { type: 'string' } },
            required: ['task_id'],
          },
        },
        {
          name: 'create_task',
          description: 'Create a new task',
          inputSchema: {
            type: 'object',
            properties: {
              title: { type: 'string' },
              project_id: { type: 'string' },
              assignee_id: { type: 'string' },
              due_date: { type: 'string' },
            },
            required: ['title'],
          },
        },
        {
          name: 'update_task',
          description: 'Update a task',
          inputSchema: {
            type: 'object',
            properties: {
              task_id: { type: 'string' },
              data: { type: 'object' },
            },
            required: ['task_id', 'data'],
          },
        },
    
        // =============================================
        // DOCUMENTS TOOLS (2 tools)
        // =============================================
        {
          name: 'get_documents',
          description: 'Retrieve documents',
          inputSchema: {
            type: 'object',
            properties: {
              limit: { type: 'number' },
              offset: { type: 'number' },
            },
          },
        },
        {
          name: 'get_document',
          description: 'Get specific document by ID',
          inputSchema: {
            type: 'object',
            properties: { document_id: { type: 'string' } },
            required: ['document_id'],
          },
        },
    
        // =============================================
        // CONTRACTS TOOLS (3 tools)
        // =============================================
        {
          name: 'get_contracts',
          description: 'Retrieve contracts',
          inputSchema: {
            type: 'object',
            properties: {
              limit: { type: 'number' },
              offset: { type: 'number' },
            },
          },
        },
        {
          name: 'get_contract',
          description: 'Get specific contract by ID',
          inputSchema: {
            type: 'object',
            properties: { contract_id: { type: 'string' } },
            required: ['contract_id'],
          },
        },
        {
          name: 'create_contract',
          description: 'Create a new contract',
          inputSchema: {
            type: 'object',
            properties: {
              organization_id: { type: 'string' },
              start_date: { type: 'string' },
              end_date: { type: 'string' },
            },
            required: ['organization_id', 'start_date'],
          },
        },
    
        // =============================================
        // CUSTOM FIELDS & SEARCH (2 tools)
        // =============================================
        {
          name: 'get_custom_fields',
          description: 'Retrieve custom field definitions',
          inputSchema: {
            type: 'object',
            properties: {
              model: { type: 'string', description: 'Model type (organization, person, project, etc.)' },
            },
          },
        },
        {
          name: 'search',
          description: 'Search across Simplicate resources',
          inputSchema: {
            type: 'object',
            properties: {
              query: { type: 'string' },
              type: { type: 'string', enum: ['project', 'organization', 'person'] },
            },
            required: ['query'],
          },
        },
      ],
    }));
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries full burden but only states the action without disclosing behavioral traits like permanence, permissions needed, side effects, or error handling. For a destructive operation, this is a significant gap in transparency.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is extremely concise with just three words, front-loaded and zero waste. It efficiently communicates the core action without unnecessary elaboration.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a destructive deletion tool with no annotations and no output schema, the description is incomplete. It lacks crucial context about what deletion entails, confirmation requirements, return values, or error conditions, making it inadequate for safe agent use.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100% for the single parameter (project_id), so the schema already documents it fully. The description adds no additional meaning about the parameter beyond what the schema provides, meeting the baseline for high coverage.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description 'Delete a project' clearly states the action (delete) and resource (project), but it's vague about scope and doesn't differentiate from sibling tools like delete_hours. It's a minimal but accurate statement of purpose.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance is provided on when to use this tool versus alternatives like update_project or get_project, nor any prerequisites or warnings about deletion consequences. The description offers no usage context beyond the basic action.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

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/daanno/simplicate-mcp'

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