Skip to main content
Glama

Clear run history

clear_history
Destructive

Needs the phone link: the person signs in with the 6-digit code from the Kitchen Timer app (⋯ → Link an agent). Permanently delete past run history — all of it, everything older than a date, or all but the newest N runs. There is no undo. Requires confirm: true.

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": {
      "confirm": "<confirm>"
    },
    "name": "clear_history"
  }
}

Input Schema

NameRequiredDescriptionDefault
beforeNoDelete only runs that ended before this time. Accepts an ISO timestamp, a clock time read in the kitchen's timezone (resolved to today), or a relative form ('7d ago', '-24h'). Omit to consider all runs.
confirmYesMust be true. Guards against an accidental wipe: there is no undo and no client-side backup.
entriesNoDelete exactly these history entry ids (from list_history).
keepLatestNoKeep only the N most recent runs and delete the rest.

Output Schema

NameRequiredDescriptionDefault
noteYesWhat just happened, in one line.
deletedYesHow many runs were removed.
deliveryYesHow recently the phone checked in, so you never imply it has seen this.
warningsYesThings worth saying out loud that are not failures.
remainingYesHow many runs are left.
oldestRemainingAtNoWhen the oldest surviving run ended, ISO 8601.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior5/5

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

Well beyond the supplied annotations, the description discloses the authentication path (phone link, 6-digit code from the Kitchen Timer app, location of the menu item), the irreversibility ('There is no undo'), and the confirmation guard. Annotations already flag destructiveHint=true, but they cannot convey the auth prerequisite or the permanence warning, which the description does clearly.

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 sentences, front-loaded with the precondition and then the destructive action and its guard. Every sentence carries information, though the auth sentence is slightly dense and the mode enumeration could be segmented more crisply.

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 four-parameter tool with an output schema and full annotation coverage, the description covers auth, effect, scope modes, and irreversibility, which is nearly everything an agent needs. The remaining gap is whether the scoping parameters can be combined or are mutually exclusive.

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?

Schema coverage is 100%, so the baseline is 3, but the description adds meaning by framing before/entries/keepLatest as three mutually describable deletion strategies rather than raw fields. It does not explain how the parameters interact when combined (e.g. before plus keepLatest), which keeps it from a 5.

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 gives a specific verb and resource ('Permanently delete past run history') and enumerates the three deletion scopes: everything, older than a date, or all but the newest N. It stops short of naming the obvious counterpart, list_history, in the prose, so an agent must infer the preview-before-delete relationship from the sibling list alone.

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

Usage Guidelines3/5

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

Usage is implied rather than stated: the three scoping modes describe how to use the tool, and 'Requires confirm: true' sets a precondition, but there is no explicit when-to-use or when-not-to-use guidance and no pointer to list_history as the way to inspect runs first. Guidance is present but must be inferred.

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