Skip to main content
Glama

Slim Chance: is my weight really moving?

get_weight_trend
Read-onlyIdempotent

Use when someone shares dated scale readings, or asks whether their weight loss (or gain) is really working, has stalled, or is just water. Turns dated morning scale readings into an honest trend: where the weight really is under the daily water noise, the rate per week with its 95% range, and the chance in 10 that it is truly moving the way the person wants. It reads the last 5 weeks up to the latest reading; it describes the recent past, it is not a forecast. Needs at least 7 readings in those 5 weeks for a verdict; with fewer it says how many more mornings it needs. Only send what the person shared and asked about. Nothing you send is stored.

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": {
      "weigh_ins": "<weigh_ins>"
    },
    "name": "get_weight_trend"
  }
}

Input Schema

NameRequiredDescriptionDefault
goalNoWhich way the person wants the weight to go. Default lose.
unitNoUnit of the weights, and of the answer. Default kg.
weigh_insYesMorning scale readings, any order, one per day (a later reading for the same date replaces an earlier one).
goal_weightNoOptional target weight, same unit: adds "at this pace, about N weeks".

Output Schema

NameRequiredDescriptionDefault
unitYes
as_ofYes
stateYes
trendNo
chanceNo
rate_rangeNo
scale_noiseNo
chance_in_10No
rate_per_weekNoPositive = losing.
readings_usedYes
weeks_to_goalNo
more_mornings_neededNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed17 schema fields changed
    • addedOutput schema / properties / chance / anyOf
      Added value: +[
      +  {
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / chance / type
      Removed value: -[
      -  "string",
      -  "null"
      -]
    • addedOutput schema / properties / chance_in_10 / anyOf
      Added value: +[
      +  {
      +    "type": "integer"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / chance_in_10 / type
      Removed value: -[
      -  "integer",
      -  "null"
      -]
    • addedOutput schema / properties / more_mornings_needed / anyOf
      Added value: +[
      +  {
      +    "type": "integer"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / more_mornings_needed / type
      Removed value: -[
      -  "integer",
      -  "null"
      -]
    • addedOutput schema / properties / rate_per_week / anyOf
      Added value: +[
      +  {
      +    "type": "number"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / rate_per_week / type
      Removed value: -[
      -  "number",
      -  "null"
      -]
    • addedOutput schema / properties / rate_range / anyOf
      Added value: +[
      +  {
      +    "items": {
      +      "type": "number"
      +    },
      +    "type": "array"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / rate_range / items
      Removed value: -{
      -  "type": "number"
      -}
    • removedOutput schema / properties / rate_range / type
      Removed value: -[
      -  "array",
      -  "null"
      -]
    • addedOutput schema / properties / scale_noise / anyOf
      Added value: +[
      +  {
      +    "type": "number"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / scale_noise / type
      Removed value: -[
      -  "number",
      -  "null"
      -]
    • addedOutput schema / properties / trend / anyOf
      Added value: +[
      +  {
      +    "type": "number"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / trend / type
      Removed value: -[
      -  "number",
      -  "null"
      -]
    • addedOutput schema / properties / weeks_to_goal / anyOf
      Added value: +[
      +  {
      +    "type": "integer"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / weeks_to_goal / type
      Removed value: -[
      -  "integer",
      -  "null"
      -]
  2. Added

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already cover readOnly/idempotent/non-destructive, and the description still adds substantive behavior: a hard 5-week lookback, a 7-reading minimum before any verdict, a degraded mode that reports how many more mornings are needed, and a privacy statement ("Nothing you send is stored"). These are operational facts an agent cannot get from the annotation block.

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?

Front-loaded with the trigger ("Use when..."), then output shape, then scope limit, then data requirement, then privacy note. Every sentence carries distinct information and there is no restatement of the name or title.

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?

An output schema exists, yet the description still gives the agent enough to set expectations (trend location, weekly rate with uncertainty, probability of real movement) without duplicating field definitions. The minimum-data rule, lookback window, and no-storage guarantee close the remaining gaps for a read-only analysis tool.

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 coverage is 100%, so the baseline is 3; the description goes beyond it by explaining that weigh_ins is windowed to the last 5 weeks and needs at least 7 entries, which changes how the agent should assemble the array. It says nothing extra about goal, unit, or goal_weight beyond the schema's own defaults.

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?

The description names a specific transformation (dated scale readings → water-noise-adjusted trend, rate per week with 95% range, chance in 10 of real movement), so the agent knows exactly what comes back. It does not reference the one sibling (get_body_signals) to draw a boundary, which is the only thing keeping it from a 5.

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

Usage Guidelines5/5

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

"Use when someone shares dated scale readings, or asks whether their weight loss (or gain) is really working, has stalled, or is just water" gives concrete triggering conditions. It also bounds the tool explicitly ("reads the last 5 weeks up to the latest reading; it describes the recent past, it is not a forecast") and states the data threshold, so misuse for forecasting or sparse data is prevented.

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.