Skip to main content
Glama

get_trend

Read-onlyIdempotent

Retrieve weekly trend and slope data for steps, distance, calories, sleep, resting heart rate, weight, or body composition across a specified date range.

Instructions

Read-only. Weekly trend and weekly slope for steps, distance, calories, sleep, resting heart rate, weight or body composition.

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": "get_trend"
  }
}

Input Schema

NameRequiredDescriptionDefault
sinceNo
untilNo
metricNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

The annotations already declare readOnlyHint and idempotentHint, so the leading 'Read-only' sentence adds nothing new. Beyond that the description does not explain how the weekly buckets are formed, what 'slope' is computed over, whether partial weeks or missing data are handled, or what the response shape looks like. For a derived-metric tool this leaves meaningful behavior undisclosed.

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?

One compact sentence with the core purpose front-loaded and a useful metric enumeration; nothing is padded. The opening 'Read-only.' is the only wasted clause since it restates the annotations.

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

Completeness2/5

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

With three undocumented parameters and no output schema, the description needs to carry windowing and return-value semantics, and it does not. An agent cannot tell what time span 'weekly' implies or what a trend/slope value actually looks like.

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

Parameters2/5

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

Schema description coverage is 0% across three parameters, so the description must compensate and it does not. Only metric is partially served, via the enumerated metric names, while since and until get no explanation of format, defaults, or how they define the weekly window.

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 and resource ('Weekly trend and weekly slope') and enumerates the supported metrics, so the agent knows exactly what comes back conceptually. It does not differentiate itself from near-neighbors like compare_periods or get_daily_summary, leaving the agent to infer the boundary.

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?

Usage is only implied by the metric list and the read-only framing; there is no statement of when to choose this over compare_periods or get_daily_health, nor any prerequisite such as a minimum history window. The agent can guess it is the right tool for a multi-week view but has no explicit routing guidance.

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