Skip to main content
Glama

tempo_reopen_timesheet

Destructive

Reopen an approved timesheet to make it editable again, reversing the approval so worklogs can be changed. Reviewer action with user confirmation.

Instructions

Reopen a user's already-approved timesheet for the given period, returning it to OPEN so worklogs can be edited again. Reviewer action — this undoes an 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.6/5.0
Behavior5/5

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

Beyond the annotations (readOnlyHint=false, destructiveHint=true), the description discloses that the action undoes an approval, returns the timesheet to OPEN, and requires user confirmation. It also explains the two-step fallback behavior involving a preview and confirmToken, which is critical behavioral context that annotations alone do not provide.

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?

The description is three sentences long, front-loads the core action and outcome, and then provides essential confirmation-flow detail. Every sentence earns its place, and there is no redundant or filler content.

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 destructive, confirmation-gated tool with no output schema, the description covers the essential behavior, the confirmation mechanism, and the fallback token flow. It could additionally describe the final success response or required permissions, but the reference to 'Reviewer action' and the detailed confirmation instructions make it sufficiently complete for correct invocation.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3, but the description adds meaningful context beyond the schema: it explains that confirmToken is only for the two-step fallback and must never be sent on the first call, and it references tempo_get_periods for finding valid period boundaries. This helps the agent use the parameters correctly without relying solely on the schema.

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 names a specific verb ('Reopen'), a specific resource ('a user's already-approved timesheet'), and the resulting state ('returning it to OPEN so worklogs can be edited again'). It also explicitly frames the action as a 'Reviewer action' that 'undoes an approval,' which clearly distinguishes it from siblings like tempo_approve_timesheet, tempo_reject_timesheet, and tempo_submit_timesheet.

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 clearly states this is a reviewer action that undoes an approval, giving the agent the key condition for when to invoke it. It also provides explicit guidance on the confirmation flow, including the two-step fallback with confirmToken and the instruction to call again with the same arguments. It does not explicitly name alternative tools or state when not to use it, but the reviewer/undo framing makes the usage context clear.

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