Skip to main content
Glama

list_habit_occurrences

List occurrences of a habit within an inclusive date range. Accepts habit references in UUID, sequence, canonical, or URL formats; use optional from and to dates to filter.

Instructions

List occurrences for a habit in a date window.

habit_id accepts any reference form — UUID, sequence shorthand (#123, personal-org only), canonical ref (acme-123), or app URL — and is resolved to a UUID before the lookup.

Dates use YYYY-MM-DD; range is inclusive on both ends.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
habit_idYes
from_dateNo
to_dateNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

With no annotations, the description adds some transparency by noting habit_id resolution and date inclusivity. However, it omits other behavioral traits such as authorization requirements, pagination, or idempotency, leaving gaps that an agent needs to infer.

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 concise, front-loading the purpose in the first sentence. It uses clear formatting for parameter details and avoids unnecessary words. Every sentence adds value.

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

Completeness4/5

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

With an output schema present, the description does not need to explain return values. It thoroughly covers parameter behavior and usage. Minor gaps exist (e.g., default date range behavior), but overall it is complete enough for a tool with this complexity.

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 0%, but the description adds significant semantic value: it explains that habit_id accepts various reference forms (UUID, sequence shorthand, canonical ref, URL) and that dates must be YYYY-MM-DD with inclusive range. This goes well beyond the schema's basic type information.

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 clearly states 'List occurrences for a habit in a date window,' specifying the verb, resource, and scope. It also clarifies that habit_id accepts multiple reference forms, making the tool distinct from siblings like list_chore_occurrences or list_event_occurrences.

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?

The description explains how habit_id and dates should be provided, but it does not explicitly guide when to use this tool versus alternatives. Given the sibling tools, the resource differentiation is implicit, but explicit usage guidelines would improve clarity.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Circuit-Stitch/defernowork-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server