Skip to main content
Glama
eyalbarash
by eyalbarash

cigchat_list_segments

Retrieve segments by flow from your cig.chat bot to manage subscriber groups. Use search, pagination, and limit options to filter results.

Instructions

Get list of segments by flow [GET /flow/segments] Requires the "Manage Flow" scope on the token.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNoSearch for segment name
pageNoPage number, between 1 and 100
limitNoNumber of items in the response
Behavior3/5

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

With no annotations provided, the description carries the burden of behavioral disclosure. It usefully discloses the required 'Manage Flow' scope and the HTTP GET endpoint, clearly implying a read-only operation. However, it does not explain pagination behavior, return format, or any context around how 'flow' is determined, leaving some behavioral ambiguity.

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?

The description is a single, front-loaded sentence that immediately states the purpose and then adds the critical auth requirement. No filler or redundant information; every word earns its place.

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?

For a simple, optional-parameter list endpoint, the description is mostly complete: it identifies the resource, the read-only nature via GET, and the required scope. However, the phrase 'by flow' is vague given there is no flow parameter in the schema, and the description does not clarify how the flow is selected or scoped, which could confuse an agent.

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 input schema provides full descriptions for all three parameters (name, page, limit), so the baseline is 3. The tool description adds no additional meaning beyond the schema; it does not explain how 'name' interacts with segment search or how pagination works in practice.

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

Purpose5/5

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

The description clearly states the tool's specific action ('Get list of segments') and resource ('/flow/segments'), and the tool name matches. It distinguishes itself from sibling tools like list_tags and list_templates by explicitly naming segments and the flow endpoint.

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 guidance on when to use this tool versus alternatives. It does not mention that segments are distinct from tags, templates, or other list operations, nor does it provide any exclusion criteria or context for when this tool is appropriate.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/eyalbarash/cig-chat-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server