Skip to main content
Glama

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
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • 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)
  • The @mcp.tool() decorator registers the get_metrics_catalog function as an MCP tool.
    @mcp.tool()

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/fulcradynamics/fulcra-context-mcp'

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