Skip to main content
Glama

get_metric_time_series

Retrieve time-series data for a specific health metric within a defined period. Analyze trends by specifying start and end times, adjusting sample rates, and applying calculations like max, min, or mean values.

Instructions

Get user's time-series data for a single Fulcra metric.

Covers the time starting at start_time (inclusive) until end_time (exclusive). Result timestamps will include tz. Always translate timestamps to the user's local tz when this is known.

Args: metric_name: The name of the time-series metric to retrieve. Use get_metrics_catalog to find available metrics. start_time: The starting time period (inclusive). Must include tz (ISO8601). end_time: The ending time (exclusive). Must include tz (ISO8601). sample_rate: Optional. The number of seconds per sample. Default is 60. Can be smaller than 1. replace_nulls: Optional. When true, replace all NA with 0. Default is False. calculations: Optional. A list of additional calculations to perform for each time slice. Not supported on cumulative metrics. Options: "max", "min", "delta", "mean", "uniques", "allpoints", "rollingmean". Returns: A JSON string representing a list of data points for the metric. For time ranges where data is missing, the values will be NA unless replace_nulls is true.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
metric_nameYes
start_timeYes
end_timeYes
sample_rateNo
replace_nullsNo
calculationsNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries full burden and does well by disclosing key behavioral traits: time range handling (inclusive start, exclusive end), timezone translation behavior, data format (JSON string), missing data handling (NA values), and constraints ('Not supported on cumulative metrics'). It lacks rate limit or authentication details, but provides substantial operational context.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is well-structured with clear purpose statement, time range explanation, and organized parameter documentation. Every sentence adds value, though the parameter explanations could be slightly more concise. The structure is logical with purpose first, then behavior, then detailed args section.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's complexity (6 parameters, time-series data), no annotations, and the presence of an output schema, the description is remarkably complete. It covers purpose, usage guidance, parameter semantics, behavioral constraints, and return format. The output schema handles return value details, so the description appropriately focuses on operational context.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 0% schema description coverage, the description fully compensates by providing detailed semantic explanations for all 6 parameters. It clarifies metric_name usage with sibling reference, explains time format requirements (ISO8601 with tz), provides defaults for optional parameters, enumerates calculations options, and explains parameter interactions (replace_nulls effect on NA values).

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the specific action ('Get user's time-series data'), resource ('for a single Fulcra metric'), and scope ('Covers the time starting at start_time...'). It distinguishes from siblings like 'get_metric_samples' and 'get_metrics_catalog' by focusing on time-series retrieval rather than catalog or sample-level data.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides clear context for when to use this tool (time-series data retrieval) and references 'get_metrics_catalog' to find available metrics. However, it doesn't explicitly state when NOT to use it or compare it to alternatives like 'get_metric_samples' or 'get_location_time_series'.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

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

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