Skip to main content
Glama

Remove a log entry

delete_entry

Remove an entry you own that was wrong when written—such as a wrong task or a decision never made—while the audit log records the deletion.

Instructions

For an entry that was wrong when written (wrong task, a decision never made). An entry overtaken by later work is history, not wrong: append instead. Not for tidying. Only your own entries, or any in a project you own; the log keeps a line saying one was deleted.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "entry_id": "<entry_id>"
    },
    "name": "delete_entry"
  }
}

Input Schema

NameRequiredDescriptionDefault
modelNoYour model id, e.g. 'claude-opus-5'.
entry_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv0.1.8
    • addedInput schema / properties / entry_id / anyOf
      Added value: +[
      +  {
      +    "maximum": 9007199254740991,
      +    "minimum": -9007199254740991,
      +    "type": "integer"
      +  },
      +  {
      +    "pattern": "^\\d{1,15}$",
      +    "type": "string"
      +  }
      +]
    • removedInput schema / properties / entry_id / maximum
      Removed value: -9007199254740991
    • removedInput schema / properties / entry_id / minimum
      Removed value: --9007199254740991
    • removedInput schema / properties / entry_id / type
      Removed value: -"integer"
  2. First observedv0.1.4

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations, the description carries the burden and does real work: it discloses the authorization model (only your own entries, or any entry in a project you own) and the side effect that the log retains a line recording the deletion, implying an audit trail rather than silent erasure. It stops short of stating whether the deletion is reversible, what is returned, or how a rejected deletion surfaces.

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 sentences, each doing distinct work: eligibility, the append alternative, the ownership rule, plus the audit-trail note. The clipped, fragmentary style ('Not for tidying.') is efficient but forces the reader back to the name for the actual action, which slightly weakens front-loading.

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 two-parameter, no-output-schema, no-annotation mutation tool, the description covers the decision boundary, permissions, and post-deletion visibility, which is the information an agent actually needs before calling. The remaining gap is entry_id semantics and failure behavior, which neither the schema nor the description supplies.

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

Parameters2/5

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

Schema coverage is only 50%: model is self-documented in the schema, but entry_id has no description and its integer-or-numeric-string union is left unexplained. The description adds no format, type, or lookup guidance for entry_id, and the ownership sentence constrains which ids are valid only indirectly.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description frames the operation around a precise eligibility test ("an entry that was wrong when written") and implicitly signals removal, while the name/title supply the verb+resource. It clearly separates itself from log_entry-style appends by contrasting 'wrong' with 'overtaken by later work'. It never states outright 'deletes the entry with this id', so it leans on the name for the core action.

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

Usage Guidelines5/5

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

Explicit when-to-use (entry was wrong when written, e.g. wrong task or a decision never made) and explicit when-not (overtaken by later work is history, so append instead; not for tidying). It names the correct alternative behavior rather than leaving the agent to infer it.

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