Skip to main content
Glama
configcat

ConfigCat MCP Server

Official

create-segment

Creates a new segment in a ConfigCat product by specifying name, comparison attribute, comparator, and comparison value.

Instructions

This endpoint creates a new Segment in a specified Product identified by the productId parameter, which can be obtained from the List Products endpoint.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
productIdYesThe identifier of the Product.
requestBodyYes
Behavior2/5

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

No annotations are provided, so the description must fully describe behavior. It only states 'creates' (implying mutation) but lacks details on authorization requirements, rate limits, side effects, or what happens on success/failure. The behavioral scope is inadequately explained.

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 sentence that is directly to the point. It is front-loaded with the essential action and includes a helpful cross-reference. No extraneous words.

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?

Given the tool has a nested input schema, no output schema, and no annotations, the description is too brief. It does not clarify the response format, success indicators, or potential errors. While it covers the basic purpose, it is not sufficiently complete for a creation endpoint.

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

Parameters2/5

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

The description adds minimal value beyond the input schema. It only mentions productId usage, but the schema already describes it. The requestBody parameters (name, description, comparisonAttribute, etc.) are not discussed, leaving the agent to rely solely on their schema descriptions, which cover only 50% of parameters.

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?

The description clearly states it creates a new Segment in a specified Product, with a verb ('creates') and resource ('Segment', 'Product'). It also hints at how to obtain the productId from list-products, which adds clarity. However, it does not explicitly differentiate from other create tools like create-config or create-environment, but the context makes it clear enough.

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?

The description mentions when to use the tool (to create a segment) and references the list-products endpoint to get the productId. However, it does not provide any guidance on when not to use it or alternative tools for similar operations, leaving some ambiguity for the agent.

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/configcat/mcp-server'

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