Skip to main content
Glama

Delete time entry

harvest_delete_time_entry
Destructive

Permanently delete a time entry by id. This cannot be undone. Harvest REST: DELETE /time_entries/{id}. WRITE — destroys data.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
time_entry_idYesThe time entry id to delete (required).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, so the bar is lower; the description still adds real value by stating the deletion is permanent and irreversible and by naming the underlying write endpoint (DELETE /time_entries/{id}). It does not discuss auth requirements, error behavior, or restrictions on locked/invoiced entries.

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?

Three short, front-loaded sentences with the destructive consequence stated first. The trailing 'WRITE — destroys data' and the REST path partially restate the destructiveHint, but they cost little and are useful for an agent mapping to the API.

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 single-parameter mutation with destructive annotations and no output schema, the definition covers what the agent must know before calling it. It leaves out failure modes (e.g., entries tied to invoiced time) and any confirmation expectation, which would be the finishing touch.

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?

Only one parameter and schema coverage is 100%, so the schema already documents time_entry_id as a required positive integer. The description's 'by id' adds nothing beyond that, which is the expected baseline when the schema does the heavy lifting.

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 uses a specific verb+resource ('Permanently delete a time entry') and pins the target ('by id'), which cleanly separates it from list/get/create/update/restart/stop siblings in the same namespace. An agent can identify the operation without opening the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It warns that the action is irreversible ('This cannot be undone') but gives no guidance on when to delete versus alternatives such as harvest_stop_time_entry, harvest_restart_time_entry or harvest_update_time_entry. The warning is a caution, not usage routing.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.