Skip to main content
Glama

change_task_status

Update task progress by moving it to a different stage within a FluentBoards project management board.

Instructions

Change the status/stage of a task

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
board_idYesBoard ID
task_idYesTask ID
stage_idYesNew stage ID

Implementation Reference

  • Handler function that executes the tool logic: destructures args, makes a PUT request to update the task's stage_id via the API, and formats the response.
    async (args) => {
      const { board_id, task_id, stage_id } = args;
    
      const response = await api.put(`/projects/${board_id}/tasks/${task_id}`, {
        property: 'stage_id',
        value: stage_id,
      });
      return formatResponse(response.data);
    }
  • Zod schema defining the input parameters: board_id, task_id, and stage_id, all positive integers.
    {
      board_id: z.number().int().positive().describe("Board ID"),
      task_id: z.number().int().positive().describe("Task ID"),
      stage_id: z.number().int().positive().describe("New stage ID"),
    },
  • Registers the change_task_status tool on the MCP server using server.tool, providing name, description, input schema, and handler function.
    server.tool(
      "change_task_status",
      "Change the status/stage of a task",
      {
        board_id: z.number().int().positive().describe("Board ID"),
        task_id: z.number().int().positive().describe("Task ID"),
        stage_id: z.number().int().positive().describe("New stage ID"),
      },
      async (args) => {
        const { board_id, task_id, stage_id } = args;
    
        const response = await api.put(`/projects/${board_id}/tasks/${task_id}`, {
          property: 'stage_id',
          value: stage_id,
        });
        return formatResponse(response.data);
      }
    );
  • src/index.ts:23-23 (registration)
    Top-level registration call that invokes registerTaskTools on the main MCP server instance, thereby registering the change_task_status tool among others.
    registerTaskTools(server);

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/danieliser/fluent-boards-mcp-server'

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