Skip to main content
Glama
daanno

Simplicate MCP Server

by daanno

get_task

Retrieve detailed task information from Simplicate business data by providing a specific task ID to access project details and task specifications.

Instructions

Get specific task by ID

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
task_idYes

Implementation Reference

  • Registration of the 'get_task' tool in the ListTools handler, including name, description, and input schema definition
      name: 'get_task',
      description: 'Get specific task by ID',
      inputSchema: {
        type: 'object',
        properties: { task_id: { type: 'string' } },
        required: ['task_id'],
      },
    },
  • Handler for the 'get_task' tool call: validates task_id parameter and delegates to SimplicateServiceExtended.getTaskById, returning JSON stringified response
    case 'get_task': {
      if (!toolArgs.task_id) throw new Error('task_id is required');
      const data = await this.simplicateService.getTaskById(toolArgs.task_id);
      return { content: [{ type: 'text', text: JSON.stringify(data, null, 2) }] };
  • Core helper method that performs the actual API call to retrieve a task by ID from Simplicate /projects/task/{taskId} endpoint
    async getTaskById(taskId: string): Promise<SimplicateTask> {
      const response = await this.client.get(`/projects/task/${taskId}`);
      return response.data;
    }
  • TypeScript interface defining the structure of a SimplicateTask object returned by getTaskById
    export interface SimplicateTask {
      id: string;
      title: string;
      description?: string;
      project?: { id: string; name: string };
      assignee?: { id: string; name: string };
      status: string;
      due_date?: string;
    }

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