Skip to main content
Glama

Summarize time entries

summarize_time_entries
Read-onlyIdempotent

Total logged time over a date range, grouped by user, task, or day. Scope it with taskId or projectId to count everyone's time there; with neither, it counts one person's time (yours by default). The range defaults to the last 30 days and spans at most 90. Days use timezone (an IANA name, default UTC). capped means more than 5000 entries matched and the totals are partial.

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

Input Schema

NameRequiredDescriptionDefault
toNoRange end, epoch ms.
fromNoRange start, epoch ms.
taskIdNoEveryone's time here.
userIdNoWhose time. Default you.
groupByNoDefault day.
timezoneNoIANA name for day groups. Default UTC.
projectIdNoEveryone's time here.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/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), and the description still adds real behavior: default 30-day window, hard 90-day span limit, timezone-dependent day bucketing, and the 5000-entry cap that makes totals partial. That cap/`capped` disclosure is the kind of thing an agent cannot infer from structured fields, though the response shape itself is never described.

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?

Four tight sentences ordered from core purpose to scoping rules to range defaults to the cap caveat, with no filler. The most decision-relevant constraints (scope semantics, 90-day limit) are front-loaded.

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 read-only aggregation tool with seven all-optional params and no output schema, the description covers scoping, defaults, limits, and the partial-results flag. It does not describe what the grouped result contains (total field name, count of entries), which matters given there is no output schema.

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 goes further by explaining the interaction between taskId/projectId and userId (project/task scope counts everyone; otherwise it counts one person, defaulting to you) and clarifies that timezone only affects day grouping. It adds meaning beyond the terse schema strings rather than restating them.

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?

"Total logged time over a date range, grouped by user, task, or day" gives a specific aggregation verb plus resource and the grouping axis, which inherently separates it from entry-listing siblings like list_time_entries. It stops short of explicitly naming or contrasting an alternative tool, so it is clear but not maximally differentiated.

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?

Strong conditional routing: "Scope it with taskId or projectId to count everyone's time there; with neither, it counts one person's time (yours by default)." Defaults for range, groupBy, and timezone are all stated. It lacks an explicit "use list_time_entries instead when you need individual records" exclusion.

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