Skip to main content
Glama

segment-list

Read-only

List contact segments with their member counts and their rules in plain words. memberCount is null until a segment has been counted for the first time. Pass nextCursor back as cursor for the next page.

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": "segment-list"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax segments per page, up to 100 (default: 50)
cursorNonextCursor from the previous page
searchNoName contains this text
includeInactiveNoAlso list switched-off segments (default: false)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already establish readOnly/non-destructive, so the bar is lower, and the description still adds real value: memberCount may be null before first counting, and nextCursor must be fed back as cursor. It does not mention rate limits or ordering, but the null-count caveat is exactly the kind of behavior an agent would otherwise misread.

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?

Three short sentences, front-loaded with what the tool returns, then the null-count caveat, then pagination. Nothing is padded, though "in plain words" is a slightly soft phrase where a concrete field name would be tighter.

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

Completeness4/5

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

With no output schema, the description carries the burden of describing the return shape, and it does so (member counts, rules, nextCursor). For a four-parameter read-only list tool this is close to sufficient; ordering and whether inactive segments are counted are the only notable omissions.

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 coverage is 100%, so limit, cursor, search, and includeInactive are already documented with defaults. The description's cursor sentence largely restates the schema's "nextCursor from the previous page" and adds no new syntax or constraint information, making the baseline 3 appropriate.

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?

"List contact segments" is a specific verb+resource, and the sentence goes further by naming what comes back (member counts and human-readable rules). It is clearly distinct from segment-member-list by subject matter, though it never explicitly contrasts with that sibling.

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?

Usage is implied by the resource and the cursor instruction gives a concrete operational hint for pagination. However, there is no guidance on when to reach for this versus segment-member-list, nor any note about filtering semantics or when includeInactive matters.

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.

Resources