Skip to main content
Glama

Query entries

query_entries
Read-only

Lists a topic's entries, newest first, 50 per page by default. Pass the previous nextCursor to get the next page. For questions like "how was my week" use summarize_topic instead; use this to find a specific entry or read notes.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toNoLatest time, ISO 8601. Without an offset it is read in the person's timezone.
fromNoEarliest time, ISO 8601. Without an offset it is read in the person's timezone.
limitNoEntries per page, up to 200. Default 50.
cursorNoThe nextCursor from the previous page. Leave out for the first page.
topicIdYesThe topic to read.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
entriesYes
nextCursorYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/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 genuinely useful behavioral context: ordering (newest first), default page size, and the cursor-based paging contract ('pass the previous nextCursor to get the next page'). It doesn't cover permissions or error behavior, but that's minor for a read-only list.

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?

Two sentences, zero waste, with the core behavior (what it lists, ordering, page size) front-loaded before the routing guidance. Every clause carries information.

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, so return-value explanation is unnecessary, and the description covers the remaining agent-relevant facts: ordering, pagination mechanics, and the sibling it competes with. Nothing needed to invoke it correctly is missing.

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 all five parameters (including from/to, limit, cursor, topicId) are already documented in the schema with formats and defaults. The description only restates the default page size and cursor usage, adding no syntax or format meaning beyond what the schema provides — the baseline 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?

States a specific verb (lists), resource (a topic's entries), ordering (newest first), and pagination size (50/page), which distinguishes it from sibling tools like summarize_topic and list_topics without opening a 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?

Explicitly names the alternative for a common intent ('how was my week' → summarize_topic) and states the condition for choosing this tool instead ('find a specific entry or read notes'). Both when-not and when are covered.

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