Skip to main content
Glama

Goal history

goal_history
Read-onlyIdempotent

One goal's progress day by day, newest first: the figure, the fraction of the way there and whether it was met, as the phone computed it on each sync. Use it for how a goal has gone, not only where it stands. The id is from list_goals.

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": {
      "id": "<id>"
    },
    "name": "goal_history"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesA goal id from list_goals.
toNoLast day, inclusive. Omitted: today in the account time zone.
fromNoFirst day, inclusive. Omitted: 365 days before `to`, the most one call covers. For older rows, call again with an earlier `to`.
clientNoFor a coach: a client id from list_clients, to read that client. Omitted: your own account.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already establish this is a safe, idempotent, non-destructive read, so the bar is lower. The description adds genuinely new behavioral context beyond them: results are ordered newest first and each row reflects what the phone computed at sync time, which warns the agent that values may be stale or device-derived rather than recomputed server-side.

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 tight sentences: what is returned first, when to use it second, where the id comes from last. Every clause carries information and there is no filler or restatement of the tool name.

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?

There is no output schema, and the description compensates by naming the three returned fields, their ordering, and their provenance, which is what an agent needs to interpret results. The date-window and pagination behavior lives entirely in the schema, and the description does not reinforce it, leaving a small gap for a tool with a one-year cap per call.

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 coverage is 100%, so all four parameters are already documented in the schema, including the 365-day window and the 'call again with an earlier to' guidance. The only parameter statement in the description, 'The id is from list_goals,' restates the schema, so this sits at the baseline of 3.

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

Purpose5/5

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

The description names a specific resource (one goal's history) and verb-like action, and enumerates the returned fields: the figure, the fraction of the way there, and whether it was met. It also states ordering (newest first) and explicitly contrasts itself with list_goals ('how a goal has gone, not only where it stands'), so an agent can distinguish it from the sibling without reading either schema.

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

Usage Guidelines4/5

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

It gives a clear selection rule against the obvious alternative — use goal_history for trajectory, list_goals for current standing — and tells the agent where the required id comes from. There is no explicit when-not guidance (e.g., when the goal is brand new or when only the current value is needed), which keeps it just short of a 5.

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