Skip to main content
Glama

tempo_reopen_timesheet

Destructive

Reopen a user's approved timesheet for the given period to return it to OPEN for editing. This reviewer action undoes approval and requires 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.4/5.0
Behavior5/5

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

Goes well beyond the annotations (destructiveHint, openWorldHint): it discloses that the operation reverses an approval, that a confirmation prompt is required where supported, and that clients without elicitation get a preview plus confirmToken on the first call with only a repeat token-bearing call proceeding. This is exactly the behavioral context needed for a destructive mutation.

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 transition before the confirmation mechanics, and every sentence carries information. The third sentence is dense with the elicitation fallback details but is warranted for a destructive tool.

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?

With no output schema, the description still covers the essential call semantics: the state transition, the reviewer role, and the two-step confirmation protocol including the confirmToken contract. An agent has everything needed to invoke it correctly without triggering an unintended approval reversal.

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 all six parameters (including confirmToken and reviewerAccountId) are already documented in the schema, which sets the baseline at 3. The description reinforces the two-phase confirmToken usage but adds no new parameter-level syntax or format detail beyond what the schema states.

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 — reopen an already-approved timesheet — and names the resulting state change (returns to OPEN so worklogs can be edited). This clearly separates it from sibling state-transition tools like tempo_approve_timesheet, tempo_reject_timesheet, and tempo_recall_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?

Declares the actor and context: 'Reviewer action — this undoes an approval,' which tells the agent when this tool is appropriate versus a user-initiated recall. It stops short of explicitly naming recall_timesheet/reject_timesheet as alternatives or stating prerequisites (e.g. the timesheet must currently be APPROVED).

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