Skip to main content
Glama

Roarer

Get measurement trend

get_measurement_trend
Read-onlyIdempotent

Returns how body measurements changed over a period: first and last value, change and change per week for each metric.

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_measurement_trend"
  }
}

Input Schema

NameRequiredDescriptionDefault
metricNoOne metric, for example weight or waist.
periodNoTime window: 4w, 12w, 6m, 1y or all.12w

Output Schema

NameRequiredDescriptionDefault
itemsNo
periodYes

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 declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds genuinely new behavior: the result is an aggregate containing first value, last value, absolute change and change per week for each metric. It stops short of saying how sparse data or missing metrics are handled.

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?

A single sentence that front-loads the summary framing and then enumerates exactly which computed fields come back. No filler or redundant restatement of the 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?

Output schema exists and the description still summarizes the key return fields, so an agent knows what to expect. For a two-parameter read-only aggregate tool this is nearly complete; only edge-case behavior (empty history, null metric default) is unstated.

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 100%, so both parameters are already documented with examples and an enum-like pattern. The phrase 'for each metric' hints that omitting metric yields all metrics, which adds a little meaning beyond the schema, but period semantics are left entirely to the schema.

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?

Uses a specific verb ('Returns how body measurements changed') plus the resource and the computed outputs, so an agent can tell it computes a trend rather than listing raw entries. It does not explicitly contrast with the sibling list_measurements, so differentiation is inferred 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?

Usage is implied by the word 'trend' and the period framing, which suggests this is for summarizing change over time rather than fetching raw measurements. There is no explicit when-to-use/when-not statement and no named alternative such as list_measurements for raw data.

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