Skip to main content
Glama
Thecimal

Quantified Self MCP Server

Get recent changes

get_recent_changes
Read-onlyIdempotent

Scan all non-private metrics to identify recent shifts, anomalies, and trends compared with a prior baseline period.

Instructions

Scan every (non-private) metric for what's changed lately: a recent period vs. the four-times-as-long period before it (period-over-period shift), any anomalies inside the recent period, and a trend over it. The single best tool to start a "how have I been doing?" conversation with — it does the scanning across all metrics that would otherwise take one get_baseline/detect_metric_anomalies/calculate_metric_trend call per metric.

Do not use this tool when:

  • the user already named a specific metric and wants the full why-bundle for it (value, baseline, anomaly flag, trend, correlated metrics) -> use explain_metric_change instead.

Privacy note: this server and its SQLite file are entirely local, but the data returned by this tool becomes part of the conversation sent to whatever model the calling client is configured with. If that model runs in the cloud rather than on your machine, treat this the same as pasting the data into a chat with that provider.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
daysNoLength of the "recent" window in days (default 7). The comparison baseline is the 4x-as-long period immediately before it, so a 7-day recent window compares against the preceding 28 days.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
changesYes
recent_rangeYes
baseline_rangeYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.0.16
  2. Removedv1.0.15
  3. Addedv1.0.11

TDQS

A4.5/5.0
Behavior4/5

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

The annotations already declare readOnlyHint=true and idempotentHint=true, so the safety profile is covered. The description adds valuable context beyond those: it scans all non-private metrics, and it includes a privacy note that returned data becomes part of the model conversation. It doesn't cover every possible behavioral trait, but it goes well beyond the structured fields.

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?

The description is front-loaded with the core purpose and never repeats the title. Every section earns its place: purpose, when-to-use, when-not-to-use with a named alternative, and a meaningful privacy caveat. It is longer than average, but the length is justified by actionable content rather than filler.

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?

For a read-only scanning tool with a single optional parameter and an output schema, the description covers everything needed for correct selection and invocation: what it scans, how windows are defined, when to prefer it, when to avoid it, and a privacy consideration. The output schema can carry return-format details, so their absence here is not a gap.

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 the schema already fully documents the days parameter and the 4x comparison window. The description reinforces the same semantics without adding new parameter-level meaning. Baseline 3 is appropriate here because the structured schema does the heavy lifting.

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 verb ('scan'), the resource ('every non-private metric'), and the exact analysis performed (period-over-period shift, anomalies, trend). It also explicitly differentiates itself from sibling per-metric tools like explain_metric_change, so an agent can tell when this is the cross-metric overview versus a targeted analysis.

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?

It states the ideal use case: starting a 'how have I been doing?' conversation across all metrics. It also gives an explicit exclusion: if the user named a specific metric and wants the full why-bundle, use explain_metric_change instead. This gives clear routing guidance beyond what the schema or annotations provide.

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