Skip to main content
Glama
alan4041207

mcp-altair-studio

by alan4041207

altair_cluster_kmeans

Segment your dataset using k-Means clustering, which assigns each data point to a cluster and appends a cluster-id column for easy identification.

Instructions

Segment data with k-Means clustering; returns the dataset with an added cluster-id column. Covers actions 56, 60, 64-65 (segmentation / clustering).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
kNo
csvFileNoAbsolute path to a local CSV file to read directly (bypasses the repository). Use this OR repositoryEntry.
repositoryEntryNoAltair AI Studio repository path, e.g. "//Local Repository/data/customers" or "//Samples/data/Iris". Use this OR csvFile.
Behavior2/5

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

With no annotations, the description must fully disclose behavioral traits. It only states the output is the dataset with an added cluster-id column. It does not mention any side effects, destructive behavior, permissions needed, or what happens if parameters are invalid. The reference to action numbers is not behavioral.

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?

The description is concise with two sentences that state the core function and returns. However, it could be better structured to separate the purpose from the action numbers, but overall it is efficiently written with no fluff.

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

Completeness2/5

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

Given the tool performs k-Means clustering with 3 parameters, no output schema, and no annotations, the description is incomplete. It does not explain how the cluster-id is labeled, the algorithm's behavior, handling of edge cases, or prerequisites like data format. The action number reference provides versioning context but not operational completeness.

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 does not explain the purpose or constraints of the parameters ('k', 'csvFile', 'repositoryEntry'). Schema coverage is 67% with csvFile and repositoryEntry having descriptions, but the parameter 'k' lacks explanation beyond its default and range. The description adds no additional semantic information beyond the schema.

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 the tool segments data using k-Means clustering and returns the dataset with an added cluster-id column. The verb 'Segment' and resource 'data with k-Means clustering' are specific. However, it does not differentiate from sibling tools like altair_association_rules or altair_reduce_dimensions_pca, which also perform segmentation or dimension reduction.

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 mentions 'Covers actions 56, 60, 64-65 (segmentation / clustering)', which is internal reference to Altair AI Studio actions but provides no guidance on when to use this tool versus alternatives. It lacks explicit when-to-use, prerequisites, or exclusions.

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/alan4041207/mcp-altair-studio'

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