Skip to main content
Glama
taiste
by taiste

list_tasks

Retrieve active or inactive tasks from Harvest time tracking API using optional filters. Simplify task management and enhance workflow efficiency with this feature.

Instructions

List all tasks with optional filtering.

Args: is_active: Pass true to only return active tasks and false to return inactive tasks

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
is_activeNo

Implementation Reference

  • The handler function for the 'list_tasks' tool. It is decorated with @mcp.tool() for registration and fetches the list of tasks from the Harvest API, optionally filtering by active status using the shared harvest_request helper.
    @mcp.tool() async def list_tasks(is_active: bool = None): """List all tasks with optional filtering. Args: is_active: Pass true to only return active tasks and false to return inactive tasks """ params = {} if is_active is not None: params["is_active"] = "true" if is_active else "false" response = await harvest_request("tasks", params) return json.dumps(response, indent=2)

Other Tools

Related 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/taiste/harvest-mcp-server'

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