Skip to main content
Glama
florenciakabas

xai-toolkit

compare_features

Rank features by importance and describe which matter most for machine learning models. Returns a plain English list showing magnitude, direction, and comparative analysis.

Instructions

Rank features by importance and describe which matter most.

Returns a ranked list of features with their magnitude, direction,
and comparative language — all in plain English.

Args:
    model_id: ID of a registered model (e.g., "gbc_lubricant_quality").
    top_n: Number of top features to include (default: 10).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
model_idYes
top_nNo
Behavior2/5

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

No annotations are provided, so the description carries the full burden. It mentions the output format ('ranked list... in plain English') but doesn't disclose behavioral aspects like whether this is a read-only operation, computational cost, rate limits, or authentication needs. For a tool with no annotations, this leaves significant gaps.

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 efficiently structured: the first sentence states the purpose, the second describes the output format, and the 'Args' section clearly documents parameters. Every sentence adds value with no wasted 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's moderate complexity (2 parameters, no output schema, no annotations), the description is adequate but incomplete. It covers purpose and parameters well but lacks behavioral details and usage context, which are important for a feature-ranking tool in a crowded model-analysis ecosystem.

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

Parameters4/5

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

The description adds meaningful context beyond the input schema. While schema description coverage is 0%, the description explains that 'model_id' refers to 'a registered model' with an example, and 'top_n' specifies 'Number of top features to include' with a default. This compensates well for the lack of schema descriptions.

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's purpose: 'Rank features by importance and describe which matter most.' It specifies the verb ('rank') and resource ('features'), though it doesn't explicitly differentiate from sibling tools like 'get_partial_dependence' or 'get_xai_methodology' that might also analyze features.

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?

No guidance is provided on when to use this tool versus alternatives. With many sibling tools related to model analysis (e.g., 'explain_prediction', 'get_partial_dependence'), the description lacks context about specific use cases or prerequisites for feature ranking.

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/florenciakabas/xai-mcp'

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