Skip to main content
Glama

Delete a logged event

delete_event
DestructiveIdempotent

Delete a logged finish/re-watch/re-read event on one item. The undo for log_event. With no event_date, event_id, or all, and more than one event on the item, nothing is deleted and the events are listed with their ids.

Input Schema

NameRequiredDescriptionDefault
allNoDelete every logged event on the item.
titleNoExact title of the item (or pass item_id)
item_idNoLibrary item id (UUID), as shown by get_details. Preferred over title.
event_idNoDelete exactly this event, by the id delete_event reported.
event_dateNoDelete the event(s) on this date: YYYY-MM-DD, or YYYY-MM / YYYY to cover a whole period.
media_typeYesType of media

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=true, and readOnlyHint=false, so the safety profile is covered. The description adds genuinely new behavioral information the annotations cannot express: the no-selector case deletes nothing and instead returns the events with their ids for a follow-up call. It does not discuss permissions or partial-failure behavior, so not a 5.

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?

Three short sentences, front-loaded with the verb and resource, then the sibling relationship, then the edge case. Every sentence carries distinct information; nothing is repeated from the schema or annotations.

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?

For a destructive six-parameter mutation with no output schema, the definition covers the identity of the operation, its inverse, and the most likely failure-to-act scenario along with what the agent gets back. The remaining details live in a fully described schema and explicit destructive annotations.

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 the schema cannot: it establishes that event_date, event_id, and all are mutually exclusive selectors and explains the fallback when none is supplied. The item targeting (title vs item_id) is left entirely to 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?

States a specific verb (delete) and a specific resource (a logged finish/re-watch/re-read event on one item), which clearly separates it from delete_item and delete_review among the siblings. It also names log_event as its inverse, so the agent immediately knows the paired write operation.

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 third sentence explicitly describes the ambiguous case (no event_date, event_id, or all with multiple events) and the resulting behavior, which tells the agent how to disambiguate. It stops short of naming sibling alternatives by name for the underlying item deletion or telling the agent which selector to prefer in normal cases, so it is clear context rather than a full when/when-not map.

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.

Resources