get_metrics_catalog
Retrieve available metrics for time-series API calls to access health data and location information stored in Context By Fulcra.
Instructions
Get the catalog of available metrics that can be used in time-series API calls
(metric_time_series and metric_samples).
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- fulcra_mcp/main.py:315-322 (handler)The handler function for the 'get_metrics_catalog' tool. It is decorated with @mcp.tool() which registers it as an MCP tool. The function retrieves the metrics catalog from the Fulcra object and returns it as a JSON-formatted string.@mcp.tool() async def get_metrics_catalog() -> str: """Get the catalog of available metrics that can be used in time-series API calls (`metric_time_series` and `metric_samples`). """ fulcra = get_fulcra_object() catalog = fulcra.metrics_catalog() return "Available metrics: " + json.dumps(catalog)
- fulcra_mcp/main.py:315-315 (registration)The @mcp.tool() decorator registers the get_metrics_catalog function as an MCP tool.@mcp.tool()