Skip to main content
Glama
mikusnuz

umami-mcp

by mikusnuz

delete_segment

Permanently removes a saved analytics segment or cohort from a specified Umami website using its segment and website IDs.

Instructions

Delete a saved segment or cohort

Input Schema

NameRequiredDescriptionDefault
segmentIdYes
websiteIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.1.1

TDQS

C2.6/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden of disclosing behavioral traits. It says 'Delete' but does not state whether deletion is permanent, what happens to related data, or what permissions are required.

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?

The description is a single, front-loaded sentence with no wasted words. It is appropriately concise, though its brevity contributes to underspecification for a destructive tool.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool is destructive, has no annotations, no output schema, and 0% parameter description coverage, the description is incomplete. It identifies the action and resource but omits safety, parameter, and prerequisite context needed to invoke it correctly.

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

Parameters1/5

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

The schema has 0% description coverage for both required parameters (segmentId and websiteId). The description does not mention either parameter or explain how they identify the segment, leaving the agent no semantic guidance beyond the schema's property names.

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 states a specific verb ('Delete') and resource ('saved segment or cohort'), making the action clear. It distinguishes itself from segment siblings like list_segments, create_segment, get_segment, and update_segment by the verb, though it does not explicitly name alternatives.

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?

There is no guidance on when to use this tool versus update_segment or when deletion is appropriate. For a destructive operation, the description provides no context on prerequisites, confirmation, or irreversibility.

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

Deploy Server

Other Tools