Skip to main content
Glama

tempo_submit_timesheet

Destructive

Submit a timesheet for approval, moving it from OPEN to WAITING_FOR_APPROVAL. Requires user confirmation before submission.

Instructions

Submit a user's timesheet for the given period for approval, moving it from OPEN to WAITING_FOR_APPROVAL. Asks the user to confirm first: a confirmation prompt where the client supports one; otherwise the first call returns a preview and a confirmToken, and only a repeat call with that token proceeds (see MCP_CONFIRM_MODE).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toNoPeriod end date (YYYY-MM-DD); defaults to the period containing `from`
fromYesPeriod start date (YYYY-MM-DD) — use tempo_get_periods to find valid period boundaries
commentNoComment recorded against the approval action
accountIdYesAtlassian account id of the timesheet owner
confirmTokenNoONLY for the two-step confirmation fallback (a client without MCP elicitation). The confirmToken from this same tool's phase-1 "confirmation-required" response, passed back ONLY after the user has seen that preview and explicitly approved it in chat — never on the first call, never invented, never reused. Call again with the same arguments. Ignored when the client supports elicitation.
reviewerAccountIdNoAtlassian account id of the reviewer (see tempo_get_timesheet_approvals_waiting)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.2.1

TDQS

A4.3/5.0
Behavior5/5

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

Annotations already flag destructiveHint and openWorldHint, but the description adds substantial context the annotations cannot: the exact state transition, the requirement to obtain user confirmation first, and the two-step confirmToken fallback for clients lacking elicitation (never on the first call, never invented, never reused). This is well beyond the structured safety hints.

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 the core action and state change in the first clause, then spends the remainder on the confirmation flow -- the least obvious part. The second sentence is dense and parenthetical-heavy, but each clause carries needed behavioral information.

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 mutation tool with no output schema, the description covers the state transition, the confirmation contract and the fallback token flow, which is what an agent most needs. It stops short of describing the successful return payload or failure modes (e.g., timesheet not in OPEN state), leaving minor gaps.

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 the schema already documents all six parameters including the confirmToken semantics and the tempo_get_periods hint for `from`. The description reinforces the period concept but adds no new syntax or format detail, so the baseline 3 is appropriate.

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 (Submit), resource (a user's timesheet), the scope (given period), and the resulting state transition (OPEN to WAITING_FOR_APPROVAL). This lets an agent distinguish it cleanly from the sibling tempo_approve_timesheet / tempo_reject_timesheet / tempo_reopen_timesheet / tempo_recall_timesheet actions, which operate on different states.

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 context: submit for approval, and it mandates user confirmation before the call is finalized -- a prerequisite that shapes how the agent should invoke it. It does not explicitly contrast against the other timesheet-state siblings, but the state transition it names makes the choice of tool unambiguous in practice.

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