Skip to main content
Glama

tempo_delete_worklog

Destructive

Delete a Tempo worklog by ID. Optionally bypass period closures and approvals, but requires user confirmation before removal, preventing accidental deletion from approved timesheets.

Instructions

Delete a Tempo worklog by id. bypassPeriodClosuresAndApprovals can rip a worklog out of an already-approved timesheet, so the preview surfaces the bypass flag. 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
idYesWorklog id
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.
bypassPeriodClosuresAndApprovalsNoBypass period closures/approvals (requires Tempo Admin + Override Mode) — CAN remove a worklog from an APPROVED timesheet

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?

Annotations already flag destructiveHint, but the description adds substantial behavioral context: the bypass flag can 'rip' a worklog out of an approved timesheet, and the confirmation flow prevents accidental deletion. This discloses high-risk consequences and operational requirements beyond the annotation.

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?

Two dense sentences carry essential information: the core action, the dangerous bypass flag, and the full confirmation protocol. Every sentence earns its place, with safety warnings appropriately front-loaded before the procedural details.

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 tool with no output schema and a two-step confirmation requirement, the description covers the confirmation modes, preview response, confirmToken handshake, and the bypass flag's consequences. It doesn't specify success/failure response details, but that is acceptable given the complexity and the existing coverage.

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?

With 100% schema coverage the baseline is 3, but the description adds meaning beyond the schema by explaining the real-world impact of bypassPeriodClosuresAndApprovals and the confirmToken's role in the two-step process. This enriches understanding of when and how to set these parameters.

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 opens with 'Delete a Tempo worklog by id,' which is a specific verb+resource statement that clearly distinguishes this tool from tempo_create_worklog, tempo_update_worklog, and the various get/search siblings. The required id parameter leaves no ambiguity about the target resource.

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 on when the tool is used (to delete by id) and explains the two confirmation modes and the bypass flag's implications. It doesn't explicitly name alternatives or state when not to use the tool, so it's clear but lacks explicit exclusions.

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