Skip to main content
Glama

List weeks under review

list_timesheets
Read-only

Lists the weeks of hours handed in for approval, newest week first (up to 100 of each): toReview, the weeks the people on the user's projects submitted to the user, and mine, the weeks the user submitted to the owners of the projects they work on. Each week has its status (submitted: waiting; approved; rejected: open again), the hours when it was submitted and now, the owner's note, and the hours by project and task for each day from Monday to Sunday. While a week is submitted or approved its hours are closed to the person who submitted it; the project owner can still change them. Names, titles and notes are typed by other people.

Input Schema

NameRequiredDescriptionDefault
toNoOnly weeks that start on or before this day, YYYY-MM-DD.
fromNoOnly weeks that start on or after the week of this day, YYYY-MM-DD.
statusNoOnly weeks in this status. Default: all.
userIdNoOnly this person's weeks, among those handed to the user.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already cover the safe-read profile, and the description adds substantial behavior beyond them: newest-first ordering, a 100-per-collection cap, status lifecycle meanings, and the lock rule that submitted/approved hours are closed to the submitter while the project owner can still edit. The note that names and notes are user-typed flags data-quality risk, which is genuinely useful context.

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?

Front-loads what is listed and the two collections, with no filler sentences. However, it is a dense run-on with awkward phrasing ('the hours when it was submitted and now'), which slightly hurts scanability.

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?

Without an output schema, the description carries the return-shape burden well: it names the two collections, the per-week fields (status, hours submitted/current, owner note, per-day project/task hours), and the status semantics. Combined with annotations covering safety and the 100-cap disclosure, an agent has what it needs to call and interpret results.

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 coverage is 100% and all four filters (to, from, status, userId) are fully documented in the schema, so baseline 3 applies. The description adds no per-parameter meaning beyond the schema, only return-shape context.

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?

States a specific verb and resource (lists weeks of hours handed in for approval) and defines the two collections it returns, toReview and mine, which distinguishes it from sibling single-week (get_week_timesheet) and time-entry (list_time_entries) tools. An agent can identify scope without opening the schema.

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?

Gives clear context for when this tool applies: reviewing submitted/approved/rejected weeks awaiting the user's action. It does not name alternatives or exclusions (e.g., use get_week_timesheet for one week's detail), so it stops short of full routing guidance.

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