Skip to main content
Glama
mikusnuz

umami-mcp

by mikusnuz

update_segment

Modifies an existing Umami segment or cohort by updating its name, type, matching rules, filters, date range, and session properties.

Instructions

Update a saved segment or cohort

Input Schema

NameRequiredDescriptionDefault
nameYes
typeYes
segmentIdYes
websiteIdYes
parametersYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.1.1

TDQS

C2.2/5.0
Behavior1/5

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

No annotations are provided, so the description carries full responsibility for behavioral disclosure, and it says nothing about permissions, whether this is a partial or full replacement update, whether the segment type can change, or what side effects occur. The single word 'Update' implies mutation but discloses no mutation semantics.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single front-loaded sentence with no wasted words. However, for a complex nested mutation tool it is too sparse, and its brevity reflects under-specification rather than disciplined conciseness.

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

Completeness1/5

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

This is a five-parameter, nested-object mutation tool with no annotations, no output schema, and zero schema description coverage. The description supplies none of the additional context an agent would need about required identifiers, parameter structure, or update behavior.

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?

Schema description coverage is 0% across five required parameters including deeply nested filters, sessionPropertyFilters, and action objects. The description adds no information about any parameter, its format, or how the nested parameters combine, so the agent gets no semantic help beyond raw schema structure.

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 pairs the verb 'Update' with the specific resource 'saved segment or cohort', making the tool's basic operation clear and distinguishing the two supported entity types. It does not, however, differentiate this tool from nearby siblings such as create_segment, get_segment, or delete_segment.

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 update_segment versus create_segment, get_segment, or delete_segment. The only implicit cue is the word 'Update', leaving the agent to infer prerequisites and appropriate contexts.

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