Skip to main content
Glama

Query entries

query_entries
Read-onlyIdempotent

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

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

NameRequiredDescriptionDefault
entriesYes
nextCursorYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive), so the description only needs to add context. It adds real behavioral detail: newest-first ordering, default page size of 50, and the cursor mechanism for continuing. It stops short of describing return shape, but an output schema exists.

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 short sentences: the read operation and ordering first, pagination next, alternative-tool routing last. No filler and nothing that repeats the schema verbatim.

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 paginated list tool with full schema coverage, annotations, and an output schema, the description covers the gaps that matter (ordering, page size, cursor chaining, tool choice). Nothing an agent needs to call it correctly is missing.

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 100% so the baseline is 3, but the description adds meaning beyond the schema by explaining the cursor's role ('pass the previous nextCursor to get the next page') and how pagination chains across calls, plus the default page size that governs limit usage.

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) and resource (a topic's entries) with ordering and page size, which no sibling schema needs to be opened to understand. It also explicitly names summarize_topic as the other tool, so the agent can tell them apart.

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?

Gives both when-to-use ('find a specific entry or read notes') and when-not-to-use with a concrete example ('how was my week' -> summarize_topic). The alternative is named explicitly rather than implied.

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