Skip to main content
Glama

get_tasks_status

Retrieve current task status values from the Tasks MCP Server to monitor progress and manage workflow efficiently.

Instructions

Get the status tasks values. Returns: dict: The status tasks values.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The handler function implementing the logic for the 'get_tasks_status' tool. It returns a dictionary of all TaskStatus enum names mapped to their integer values.
    @mcp.tool() async def get_tasks_status() -> dict: """Get the status tasks values. Returns: dict: The status tasks values. """ return {status.name: status.value for status in TaskStatus}
  • The call to create_tasks_tools(mcp) which defines and registers the get_tasks_status tool (along with other tasks tools) on the FastMCP server instance.
    create_tasks_tools(mcp)
  • The TaskStatus IntEnum used by the get_tasks_status tool to generate its output dictionary of status values.
    class TaskStatus(IntEnum): CREATED = 0 IN_PROGRESS = 1 COMPLETED = 2

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/chipocrudos/tasks-mcp'

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