Skip to main content
Glama

List segments

list_segments
Read-onlyIdempotent

The account's saved segments, for choosing a campaign audience.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_segments"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

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, destructiveHint=false, and openWorldHint=false, so the safety profile is fully covered by structured data. The description adds only the account-scoped qualifier and the intended purpose; it says nothing about result volume, pagination, or what happens when no segments exist. Given annotation coverage the lower bar applies, but the added behavioral context is thin.

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?

A single short fragment with no wasted words, and the resource is front-loaded. It is slightly under-specified rather than verbose — a verb like "List" or "Returns" would cost one word and remove ambiguity about whether this fetches or merely names segments.

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-parameter, read-only list operation with no output schema and full annotation coverage, the essentials are present. What is missing is domain grounding: the description never explains what a "segment" is or how the returned list is shaped, which matters for an agent deciding whether this is the right lookup for audience targeting.

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

Parameters4/5

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

The tool takes zero parameters, so there is nothing for the description to disambiguate; the baseline of 4 applies. The empty schema and the description are consistent in signalling a no-argument retrieval.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description identifies the resource ("the account's saved segments") and implies a retrieval, but it is a noun phrase with no verb, so what the tool actually returns is inferred from the name rather than stated. It adds scoping detail (account-level, saved) beyond the title, but does not distinguish itself from siblings like list_lists, list_tags, or list_custom_fields.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

"for choosing a campaign audience" hints at the downstream use case, which is genuine context beyond the name. However, there is no explicit when-to-use vs. when-not statement and no alternative tool is named, so an agent must infer that this is the lookup to call before targeting a campaign.

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.