Skip to main content
Glama

Query hourly readings

query_intraday
Read-onlyIdempotent

Hour-by-hour readings such as heart rate, kept 90 days. One row per metric, hour and device. Needs the intraday category.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "query_intraday"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateNoOne day. Omitted: the most recent hours.
limitNoRows per page, 1 to 500.
clientNoFor a coach: a client id from list_clients, to read that client. Omitted: your own account.
cursorNoThe cursor from the previous page, to continue.
deviceNo
metricNoA metric name from list_metrics.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive), and the description adds genuinely new behavior: the row grain (per metric, hour, device) and the 90-day retention limit, which shape how results should be interpreted or paged. It omits paging/ordering behavior beyond what the cursor and limit fields imply, keeping it just short of a 5.

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

Conciseness5/5

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

Three short sentences with zero filler: grain, retention, and prerequisite are all front-loaded. Every sentence carries information an agent would not get from the schema alone.

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

Completeness4/5

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

For a six-parameter, no-required-args read tool with annotations and a mostly documented schema, the definition supplies the key context: what a row represents, how far back data goes, and the category prerequisite. It does not say what happens when the category is absent (error vs empty result), which is the main remaining gap.

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

Parameters3/5

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

Schema description coverage is 83%, so the parameters are largely self-documenting; the description adds the aggregate row-grain context that helps interpret metric/device combinations. It adds no per-parameter meaning beyond the schema, which is the expected baseline at this coverage level.

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

Purpose4/5

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

States the resource precisely (hour-by-hour readings such as heart rate) plus its grain ('one row per metric, hour and device') and retention window (90 days). It does not explicitly contrast with query_metrics or query_logs, so an agent must infer that this is the intraday/high-resolution variant, but the purpose itself is unambiguous.

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

Usage Guidelines3/5

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

'Needs the intraday category' is a useful precondition that tells the agent when the call is valid, and the 90-day window bounds applicability. However, there is no naming of alternatives such as query_metrics for daily aggregates or query_logs for other data, leaving the when-to-use-this-vs-siblings decision implied rather than stated.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources