Skip to main content
Glama

Get moments

get_moments
Read-only

Read the user's trackers and the entries (moments) logged against them. A tracker is a thing that the user counts or rates (a tally, a rating or a quantity), for example water or mood. Use it for a question about a tracker: when the user last logged it, how often, or with which value. A moment is a point in time, not an event, so get_schedule does not return it. Returns now, timezone, trackers (each with its scale, the bounds of a rating, target and lastEntry) and entries (each entry in the range, oldest first). lastEntry is the latest entry of the tracker in all time, not only in the range, so one call with no arguments answers "when did I last log X". With no from / to the range is today; pass from + to for a history, and trackerId for one tracker. To add an entry, use log_moment.

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

Input Schema

NameRequiredDescriptionDefault
toNoLast day of the range, inclusive, ISO date. Equal to `from` for one day. Pass it together with `from`.
fromNoFirst day of the range, inclusive, ISO date, e.g. "2026-06-01". Pass it together with `to`. With no range, the range is today.
trackerIdNoReturn only this tracker and its entries. The id comes from `trackers` of an earlier get_moments call.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered; the description adds the non-obvious semantics that matter for interpretation, notably that `lastEntry` is all-time rather than range-scoped and that entries are ordered oldest first. What it does not mention is pagination or result-size limits, which matters for a history query over a wide range.

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?

Well front-loaded: purpose, then domain definitions, then return shape, then parameter usage, then the alternative. The return-field enumeration is slightly dense but earns its place because no output schema exists. A few clauses ("A moment is a point in time, not an event") could be tightened without loss.

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, zero-required-parameter tool with no output schema, the description covers what is missing from structured data: the returned keys (`now`, `timezone`, `trackers`, `entries`), the meaning of `scale`, `target` and `lastEntry`, and the entry ordering. Nothing needed to call it correctly or interpret the response is absent.

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% and the schema already states the ISO date pattern, the inclusive bounds, the "pass together" coupling, and the today default, so the description largely restates structured data. The one genuinely additive note is that a single no-argument call answers "when did I last log X" thanks to the all-time `lastEntry`. Baseline 3 is appropriate when the 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 opens with a specific verb and resource ("Read the user's trackers and the entries (moments) logged against them") and then defines both domain nouns, including the tally/rating/quantity scale distinction. It explicitly separates itself from get_schedule ("A moment is a point in time, not an event, so get_schedule does not return it"), so an agent can disambiguate without opening 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 Guidelines5/5

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

It names the exact question shapes this tool answers ("when the user last logged it, how often, or with which value"), states the default range when no dates are given, and explains how to widen to a history or narrow to one tracker. It also routes the write case to the sibling: "To add an entry, use log_moment."

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.