Skip to main content
Glama

get_user_worklog

Retrieve total hours logged by a user in a specified date range, with optional breakdowns by day, project, or issue.

Instructions

Total hours a user logged in a date range, optionally broken down.

Uses the Tempo Timesheets API: one search returns all of the user's worklogs in [date_from, date_to] (both inclusive), filtered server-side.

Args: username: Tempo worker (Jira username / key). date_from: Start date, inclusive, YYYY-MM-DD. date_to: End date, inclusive, YYYY-MM-DD. project: Optional project key to restrict to (e.g. PROJ). breakdown: Optional grouping — day, project, issue, account, both (=project+issue), all, or a comma-separated combo like day,project. When day is combined with project/issue the project/issue hours are nested inside each day; otherwise they are flat for the period. exclude_absence: Drop vacation / sick-leave worklogs (Tempo's Absence account). Off by default so totals match Tempo.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
date_toYes
projectNo
usernameYes
breakdownNo
date_fromYes
exclude_absenceNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

The description explains server-side filtering, breakdown behavior, and default for exclude_absence. However, it does not mention authentication requirements or rate limits, which is acceptable given no annotations but lacks full transparency.

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?

The description is informative and well-structured with a clear parameter section. It is slightly verbose but each sentence adds value.

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?

Given the tool has 6 parameters, no annotations, and an output schema, the description covers all necessary details (parameter formats, optionality, behavior) and references the API source.

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?

All six parameters are thoroughly explained with format, optionality, and behavior (e.g., breakdown options, exclusion default). This adds significant value beyond the empty schema descriptions.

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 the tool returns total hours logged by a user in a date range, optionally broken down. It uses specific verbs and resource identification, distinguishing it from siblings like get_users_worklog.

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 implies usage for single-user worklog retrieval but does not explicitly state when to use this tool over alternatives like get_users_worklog or provide conditions for use.

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/nsleader/jira-mcp'

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