Skip to main content
Glama
mikusnuz

umami-mcp

by mikusnuz

get_segment

Retrieve a saved segment or cohort by website ID and segment ID to inspect its definition and reuse segmentation data for analytics.

Instructions

Get a saved segment or cohort

Input Schema

NameRequiredDescriptionDefault
segmentIdYes
websiteIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.1.1

TDQS

C2.4/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 behavioral burden, yet it only conveys that this is a retrieval operation. It says nothing about authentication or permissions, what happens if the segment does not exist, or what the response contains.

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 single sentence is front-loaded and free of filler, but its brevity reflects missing detail rather than efficient completeness. It is concise but under-specified for a tool that requires two UUID parameters.

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?

With no annotations, no output schema, and 0% parameter description coverage, the definition leaves key information unspecified. An agent cannot tell what the returned segment object looks like, what permissions are needed, or how websiteId scopes the lookup.

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 tool has two required parameters, segmentId and websiteId, but schema description coverage is 0% and the description does not mention either parameter. It does not explain that segmentId identifies the segment to retrieve or why websiteId is required.

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?

States a specific verb ("Get") and resource ("saved segment or cohort" in singular), making clear it retrieves one existing segment rather than listing them. The singular form implicitly differentiates it from the sibling list_segments, though no sibling is named explicitly.

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?

The description gives no explicit when-to-use guidance, no prerequisites, and no alternatives. An agent must infer that it should use this instead of list_segments when it already has a segment identifier, but that inference is not stated.

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