Skip to main content

Tools Overview

MCP tools are functions that AI agents can call to interact with Mirobody Health. Each tool has a defined input schema and returns structured results.

List Available Tools

Request
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/list"
}
Response
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "tools": [
      {
        "name": "get_health_data",
        "description": "Retrieve health data for a user",
        "inputSchema": {...}
      }
    ]
  }
}

Available Tools

Retrieve health metrics for a specific user.Input Schema:
{
  "user_id": "string",
  "data_type": "string (optional)",
  "start_date": "string (optional)",
  "end_date": "string (optional)"
}
Example:
{
  "jsonrpc": "2.0",
  "id": 2,
  "method": "tools/call",
  "params": {
    "name": "get_health_data",
    "arguments": {
      "user_id": "user_123",
      "data_type": "heart_rate"
    }
  }
}
Query aggregated health metrics with filters.Input Schema:
{
  "user_id": "string",
  "metric_type": "string",
  "aggregation": "string",
  "time_range": "string"
}
For more details on using MCP tools, see the MCP Protocol documentation.