Skip to main content
Glama

List segments

list_segments
Read-onlyIdempotent

List dynamic segments. Segments compute their members from a filter expression at send time.

Input Schema

NameRequiredDescriptionDefault
apiKeyNoSend16 API key (overrides SEND16_API_KEY env var)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true and destructiveHint=false, covering the safety profile. The description adds genuinely useful context beyond that: members are computed from a filter expression at send time, implying segment membership is not materialized. It says nothing about pagination, ordering, or return shape, so it only exceeds the annotation baseline modestly.

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?

Two short sentences, zero filler, front-loaded with what the tool does and followed by the one piece of non-obvious context. Every sentence earns its place.

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

Completeness3/5

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

For a zero-required-parameter read tool with full schema coverage this is close to adequate, but with no output schema the description could reasonably mention what a listed segment looks like or whether results are paginated. The dynamic-computation note is the main gap covered; return expectations are not.

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?

The single parameter (apiKey) has 100% schema description coverage, including the env-var override note, so the schema carries the burden. The description adds no parameter meaning, which is the baseline 3 when schema coverage is complete.

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 (List) and resource (dynamic segments) and clarifies what a segment is: a filter expression evaluated at send time. It distinguishes segments as dynamic/computed, which separates it somewhat from static list tools, but it never explicitly contrasts with siblings like list_audiences or preview_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?

No when-to-use guidance, no prerequisites, and no mention of the closely related preview_segment tool. Usage is only implied by the verb 'List'; an agent gets no help deciding between this and preview_segment or list_audiences.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.