Skip to main content
Glama
arttus

umami-mcp-server

by arttus

Delete a saved goal, funnel, journey, or retention report

umami_delete_saved_report
DestructiveIdempotent

Permanently delete a saved report (goal, funnel, journey, or retention) from Umami using its report ID. Requires confirm=true and cannot be undone.

Instructions

Permanently delete a saved report (goal, funnel, journey, or retention) so it no longer appears in the Umami UI. Get the report ID from umami_list_saved_reports. For a segment or cohort, use umami_delete_segment_cohort instead.

This cannot be undone. Requires confirm=true.

Args:

  • report_id (string, required): The report's ID.

  • confirm (boolean, required): Must be true. There is no undo.

Returns: { "ok": true, "report_id": string }

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
confirmYesMust be set to true to confirm this destructive, irreversible action. There is no undo.
report_idYesThe report's ID, from umami_list_saved_reports.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

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 and readOnlyHint=false. The description adds valuable context beyond that: 'This cannot be undone', the confirm requirement, and the exact return shape. It does not contradict the annotations, even with idempotentHint=true.

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?

The description is concise, front-loaded, and well-structured with clear Args and Returns sections. Every sentence adds value, including the cross-reference to the sibling tool and the irreversible-warning.

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?

This is a simple two-parameter destructive tool with no output schema. The description covers how to obtain the ID, the confirm requirement, the alternative for segments/cohorts, and the return value. Nothing essential is missing for an agent to invoke it correctly.

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?

Schema description coverage is 100%, so the schema already fully documents both parameters. The description's Args section mostly repeats the schema text, though it does reinforce that confirm must be true and cannot be undone. Baseline 3 is appropriate.

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 states a specific verb and resource: 'Permanently delete a saved report (goal, funnel, journey, or retention)' and clarifies the effect ('no longer appears in the Umami UI'). It also distinguishes itself from the sibling umami_delete_segment_cohort by explicitly naming the alternative for segments/cohorts.

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?

The description explicitly tells the agent how to get the report ID ('Get the report ID from umami_list_saved_reports'), when not to use this tool ('For a segment or cohort, use umami_delete_segment_cohort instead'), and the required confirmation flag ('Requires confirm=true'). This is clear, actionable guidance.

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