Skip to main content
Glama
claude-marie

pathways-mcp-server

by claude-marie

list_segments

Retrieve population segments by segmentation code, with optional filters for stratum (urban/rural) and vulnerability level (least/less/more/most).

Instructions

List population segments for a segmentation, with optional filters.

Each segment represents a distinct group of women identified through cluster analysis, with a vulnerability level (least/less/more/most) and stratum (urban/rural).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
stratumNoFilter by stratum: "urban" or "rural".
segmentation_codeYesSegmentation code (e.g., "SEN_2019DHS8_v1").
vulnerability_levelNoFilter by vulnerability level: "least", "less", "more", or "most".

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

No annotations provided, so the description carries full burden. It describes the nature of segments and filtering, but does not explicitly state that the operation is read-only or disclose any effects like pagination or empty results. The name 'list' implies reading, but more transparency would be beneficial.

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 concise sentences: first states the action and optional filters, second explains what segments represent. No wasted words, efficiently informative.

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?

Given that an output schema exists, the description does not need to detail return values. It covers the basic functionality and parameter meanings. However, it lacks details on ordering or pagination, which are common for list tools.

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% with parameter descriptions already present. The description adds context about segment characteristics (vulnerability levels and strata) but does not provide additional meaning beyond what the schema offers.

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?

Clearly states it lists population segments for a segmentation with optional filters. This distinguishes it from siblings like list_segmentations (lists segmentations) and get_segment_profile (gets details of a single segment).

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?

No explicit guidance on when to use versus alternatives like get_segment_profile or get_geographic_distribution. The context indicates it is for listing segments within a segmentation, but usage boundaries are not described.

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/claude-marie/pathways-mcp-server'

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