Skip to main content
Glama
Miyamura80

agent-prompt-capture

by Miyamura80

time_summary

Analyze time usage by project, source, or time period, returning active minutes, prompt counts, and context switches. See where focus went from prompt timestamps and idle gaps for workload insights.

Instructions

Where the user's time went. THE tool for any question about time use, focus or workload. Returns per-group active_minutes (wall-clock time around the agent, including a short tail credit), prompt_count, agent_minutes (how long agents were working; 0 where no turn-end signal exists, e.g. browser sources) and avg_think_seconds (the user's read-and-decide gap between an agent finishing and their next prompt), plus total_active_minutes and context_switches (consecutive prompts in one work session on different projects) for the whole window. group_by must be one of: project, source, day, hour_of_day, weekday, session - 'hour_of_day' and 'weekday' use this machine's local timezone. since/until accept an ISO 8601 timestamp ('2026-09-19T14:00:00Z'), a bare date ('2026-09-19'), the word 'now', or a relative duration meaning that long ago: '30m', '24h', '7d', '2w', '3mo', '1y'. Omit until for 'up to now'. Default since is '7d'. All figures are heuristics derived from prompt timestamps and idle gaps, not measured focus time; present them as such.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sinceNo7d
untilNo
group_byNoproject

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.8/5.0
Behavior5/5

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

With no annotations provided, the description carries the full transparency burden and does so well. It explicitly warns that all figures are heuristics, not measured focus time, and explains edge cases like agent_minutes being 0 where no turn-end signal exists and browser sources lacking that signal. It also discloses the local-timezone dependency and the inclusion of a short tail credit in active_minutes.

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?

Although long, the description is dense and efficiently front-loaded: purpose first, then metric semantics, then parameter semantics, then a critical caveat. Every sentence adds non-obvious information, and nothing is redundant with the input schema.

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 tool with only three simple parameters but complex derived metrics, the description is remarkably complete. It covers defaults, accepted formats, metric definitions, known limitations, timezone handling, and how to present results, making it self-sufficient for an agent to invoke correctly. The output schema can handle the mechanical return structure.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description fully compensates by explaining every parameter. It enumerates all valid group_by values, gives concrete syntax for since/until (ISO 8601, bare dates, 'now', relative durations), explains the meaning of relative durations, and specifies the default behavior for both parameters.

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 opening 'Where the user's time went. THE tool for any question about time use, focus or workload' gives a specific verb-like purpose and a clear resource scope, and it is immediately distinguishable from sibling tools such as prompt_stats or activity_timeline. The description further reinforces purpose by enumerating the exact metrics returned.

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?

The description gives clear practical usage context: defaults, how to omit 'until', valid group_by values, timezone behavior, and relative duration semantics. It positions itself as the tool for time-use questions but does not explicitly name alternatives or say when not to use it, so it stops short of a 5.

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