Skip to main content
Glama

List time entries

list_time_entries
Read-onlyIdempotent

List logged (actual) time entries with resolved user names. Pass user_id="me" to see only your own (resolves to the owner for API keys). Set group_by to get summed duration_min buckets instead of rows — e.g. group_by=day for "how much did I log last week". Tenant/RLS scoped; never returns other tenants' rows. Note: there is no billing/billed flag on time entries in this schema.

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": "list_time_entries"
  }
}

Input Schema

NameRequiredDescriptionDefault
sortNoField to sort rows by (default: date). Ignored when group_by is set.
limitNoMax rows (default 50, max 500). Ignored when group_by is set.
offsetNoRows to skip for pagination (default 0)
date_toNoOnly entries on/before this date (YYYY-MM-DD)
user_idNosupport_users.id to filter by, or "me" for the caller (owner for API keys). Omit to list all users you can see.
group_byNoReturn summed duration_min buckets instead of individual rows
date_fromNoOnly entries on/after this date (YYYY-MM-DD)
directionNoSort direction (default: desc)
ticket_idNoFilter by ticket UUID
project_idNoFilter by project UUID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds genuinely useful context beyond that — tenant/RLS scoping and the guarantee that other tenants' rows are never returned — but does not describe return shape or ordering behavior beyond what the schema states.

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?

Three tight sentences plus a short caveat, with the core purpose front-loaded and the mode-switch guidance following. The final note about the missing billing flag is well-placed but slightly tangential to how to call the tool.

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?

For a ten-parameter read tool with no output schema, the definition covers scoping, the identity shortcut, and the grouped-aggregation mode, and preempts a likely false assumption about a billing flag. The remaining gap is return-shape detail, which is mitigated by the fully documented schema and read-only annotations.

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 ten parameters including enums are already documented. The description's explanation of user_id="me" and the group_by example largely restate the schema, though the 'how much did I log last week' framing does add a bit of practical meaning to group_by.

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 opens with a specific verb and resource — 'List logged (actual) time entries with resolved user names' — and the word 'actual' implicitly distinguishes it from planned-time siblings like list_plan_time. It is clear what the tool returns, though it does not name any sibling tool explicitly to route the agent.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

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

It gives concrete usage scenarios: pass user_id="me" for your own entries, and set group_by=day for 'how much did I log last week'. That covers when to reach for the grouped vs row mode, but offers no explicit exclusions against the plan-time or clock-time listing tools.

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