Skip to main content
Glama

tempo_submit_timesheet

Destructive

Submit a user's timesheet for a specified period to advance it from OPEN to WAITING_FOR_APPROVAL. Requires user confirmation before the submission is processed.

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.1/5.0
Behavior4/5

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

Annotations already state destructiveHint=true, so the description doesn't need to repeat that. The description adds critical behavioral details: confirmation prompt behavior, the two-step fallback with confirmToken, and that the token must be from phase-1 and not invented. This goes beyond annotations and helps the agent understand the non-trivial side effects of invoking this tool. However, it doesn't describe what happens if the user confirms (e.g., irreversible submission) beyond the state change, which is partially covered by the description.

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 two sentences: the first states the core action and state transition; the second explains the confirmation mechanism. It is front-loaded with the main purpose and then procedural detail. No filler words, but the second sentence is somewhat long and could be split for readability. Overall, efficient and structured.

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?

Given the tool's complexity (confirmation flow, multiple modes), the description covers the essential behavioral aspects: confirmation prompt, MCP_CONFIRM_MODE, and the token-based fallback. It doesn't explicitly state the return format (but no output schema is present), and it assumes the agent understands the domain (e.g., 'OPEN' state). The description is sufficient for an agent to call it correctly, especially with schema covering parameter details.

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?

The schema descriptions cover 100% of parameters, explaining formats and defaults (e.g., 'to' defaults to period containing 'from', 'from' references tempo_get_periods). The description adds value primarily for confirmToken by explaining its purpose and usage constraints, which the schema already touches on ('ONLY for the two-step confirmation fallback...'). Since schema coverage is high, the description doesn't need to repeat parameter details; it does add some clarity on confirmToken's usage flow.

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 specific action ('Submit a user's timesheet for the given period for approval'), the resource (timesheet), and the state transition (OPEN to WAITING_FOR_APPROVAL). This is distinct from sibling tools like tempo_approve_timesheet, tempo_reject_timesheet, and tempo_recall_timesheet, so an agent can differentiate it without ambiguity.

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 explains the confirmation flow, mentioning MCP_CONFIRM_MODE and the two-step fallback, which tells the agent when to use it. It doesn't explicitly list when not to use it compared to alternatives, but the state transition (from OPEN) implies submission is for timesheets not yet in approval, and the mention of reviewer account hints at the approval workflow. Minor gap: no direct reference to 'use tempo_approve_timesheet instead' for already-submitted timesheets.

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