Skip to main content
Glama

See diary entries

get_entries
Read-onlyIdempotent

Meals, exercise, insulin, medication, sleep and notes of a period (default: last 24 h), with their ids. Periods older than the plan's recent days use a full query.

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

Input Schema

NameRequiredDescriptionDefault
toNoLocal date 'YYYY-MM-DD' or ISO 8601 date-time.
fromNoLocal date 'YYYY-MM-DD' or ISO 8601 date-time.
typesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, closed-world and non-destructive, and the description adds genuine behavior on top: the default window, that entries carry their ids, and that periods beyond the plan's 'recent days' fall back to a fuller query. 'Full query' and 'the plan's recent days' are left undefined, which weakens the disclosure.

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?

Two compact sentences, front-loaded with what is returned before the defaults and the long-range caveat. Slight cost from the vague trailing clause about full queries.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema, the description should characterize the returned entries; 'with their ids' is the only hint, and nothing is said about result shape, ordering, or whether a long range is capped or truncated. For a read tool with three optional parameters this is adequate but leaves an agent guessing about result volume.

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 67% and the unenumerated `types` array has no schema description, so the description's enumeration of entry categories (meals, exercise, insulin, medication, sleep, notes) is what actually supplies the type vocabulary. It also clarifies that `from`/`to` default to the last 24 h, adding meaning beyond the bare 'YYYY-MM-DD' format notes.

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 the concrete resources returned (meals, exercise, insulin, medication, sleep, notes) over a time period and states the default window, so an agent can tell this is a diary-read tool rather than a log tool or a stats tool. It stops short of an explicit verb like 'list/fetch' and never contrasts itself with siblings such as get_stats or get_glucose.

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?

It gives one useful calling convention — default to the last 24 h if no period is supplied — and hints that long-range reads trigger a heavier path. There is no explicit statement of when to prefer this over get_glucose, get_stats, or the log_* siblings, nor any exclusion for what it does not return.

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.