Skip to main content
Glama
taiste
by taiste

stop_timer

Stop an active timer within the Harvest time tracking system by specifying the time entry ID, ensuring accurate tracking and task management.

Instructions

Stop a running timer.

Args: time_entry_id: The ID of the running time entry to stop

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
time_entry_idYes

Implementation Reference

  • The main handler function for the 'stop_timer' tool. It stops a running time entry timer by making a PATCH request to the Harvest API endpoint `/time_entries/{time_entry_id}/stop`. The @mcp.tool() decorator registers this function as an MCP tool.
    @mcp.tool() async def stop_timer(time_entry_id: int): """Stop a running timer. Args: time_entry_id: The ID of the running time entry to stop """ response = await harvest_request( f"time_entries/{time_entry_id}/stop", method="PATCH" ) 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