get_client_details
Retrieve comprehensive details for a specific client by providing their unique ID. Essential for managing client-related tasks within the Harvest MCP Server's time tracking and project management system.
Instructions
Get detailed information about a specific client.
Args:
client_id: The ID of the client to retrieve
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| client_id | Yes |
Implementation Reference
- harvest-mcp-server.py:219-227 (handler)The handler function for the 'get_client_details' tool. It uses the harvest_request helper to fetch details for the specified client_id from the Harvest API and returns the JSON response.@mcp.tool() async def get_client_details(client_id: int): """Get detailed information about a specific client. Args: client_id: The ID of the client to retrieve """ response = await harvest_request(f"clients/{client_id}") return json.dumps(response, indent=2)