Skip to main content
Glama

Get metric trend

fitness_get_trends
Read-only

Retrieve daily values for one fitness metric—weight, calories, protein, carbs, or fat—over a chosen date range, letting you chart progress and analyze nutrition trends.

Instructions

A single metric over a date range, for charts/analysis.

metric: weight | calories_in | protein | carbs | fat. start/end: YYYY-MM-DD (default: last 30 days). Returns {metric, points: [{day, value}, ...]} with nulls omitted.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "metric": "<metric>"
    },
    "name": "fitness_get_trends"
  }
}

Input Schema

NameRequiredDescriptionDefault
endNo
startNo
metricYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.3

TDQS

A3.9/5.0
Behavior4/5

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

Annotations only declare readOnlyHint and openWorldHint; the description goes further by disclosing the default range (last 30 days), the accepted date format, and that null data points are omitted from the series. That null-omission detail is genuinely useful behavior an agent could not infer from the schema.

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, front-loaded lines: purpose first, then parameter semantics, then return shape. Every line earns its place and nothing is repeated from the name or title.

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?

With no output schema, the description correctly specifies the return envelope {metric, points:[{day, value}...]}, and all three parameters are documented. Only minor gaps remain (units, range inclusivity, behavior on an empty range).

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

Parameters4/5

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

Schema description coverage is 0% and the schema defines no enum, so the description carries the burden — it supplies the full allowed value list for metric (weight | calories_in | protein | carbs | fat), the YYYY-MM-DD format for start/end, and the 30-day default. It is strong compensation, though it omits units for weight and whether the range is inclusive.

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 a specific verb+resource ('a single metric over a date range') and enumerates exactly which metrics, so the agent knows this returns time series, not snapshots. It does not explicitly contrast itself with the closest sibling fitness_get_day (single-day view), so differentiation is implicit rather than stated.

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?

The phrase 'for charts/analysis' implies the use case (series over time rather than a daily log lookup), but there is no explicit when-to-use/when-not and no named alternative such as fitness_get_day. Usage must be inferred from the metric enumeration and date-range framing.

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