Skip to main content
Glama

segments_analytics

Retrieve segment size analytics over a specified number of days to track audience growth or decline in Braze.

Instructions

Get segment size analytics over time.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
apiKeyNoBraze REST API key
lengthYesNumber of days
ending_atNo
segment_idYesSegment ID
restEndpointNoBraze REST endpoint URL

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries the full burden of behavioral disclosure. It only implies a read operation through 'Get' but does not describe permissions, rate limits, return format, or how the 'length' and 'ending_at' parameters affect the time series. This is a significant gap for an analytics tool.

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 efficient, though its extreme brevity may be under-informative rather than concise.

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 no output schema and no annotations, the description should explain what the analytics return (e.g., time granularity, metrics included) and when to use it. It only states the core purpose, leaving key contextual details 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 80%, so the schema already documents most parameters (segment_id, length, apiKey, restEndpoint), though 'ending_at' lacks a description. The description adds no additional parameter meaning beyond the schema, which is the baseline expectation when schema coverage is high.

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 ('Get') and resource ('segment size analytics over time'), which distinguishes it from sibling tools like segments_list and segments_details that deal with segment definitions, not analytics. It does not explicitly differentiate from other analytics tools such as campaigns_analytics, but the resource is clear.

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 provides no guidance on when to use this tool versus alternatives. It does not mention prerequisites, time-range constraints, or any conditions that would help an agent choose it over related analytics tools.

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