Skip to main content
Glama

drop_low_importance

Drop low-importance columns using variance or correlation thresholds to reduce dataset noise and focus on predictive features.

Instructions

Drop columns below a computed importance threshold. Methods: 'variance' (drop cols with variance <= threshold), 'correlation' (drop cols with abs correlation to target <= threshold). Destructive: actually drops columns. Use AFTER reviewing results from correlation_filter or variance_filter. Example: drop_low_importance(target_column="Revenue", method="correlation", threshold=0.05)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
methodNovariance
df_nameNo
thresholdNo
target_columnYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

With no annotations, the description carries the full burden. It explicitly warns 'Destructive: actually drops columns,' and details what each method does (variance <= threshold, abs correlation <= threshold). However, it does not specify whether the operation modifies in-place or returns a new dataframe, nor what the output schema contains.

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 efficient: a one-line summary, a compact method list, a destructive warning, and an example. Every sentence adds value and the structure is easy to scan.

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 tool with 4 parameters and zero schema/annotation support, the description covers the core semantics, destructive behavior, usage timing, and an example. Minor gaps remain around df_name and the return value/result format, but the overall picture is clear enough for an agent to use it correctly.

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?

Schema description coverage is 0%, so the description compensates by explaining the meaning of 'method' values and 'threshold' behavior, and providing an example that maps target_column, method, and threshold. It does not explain the 'df_name' parameter, which has a default but may operate on the current dataframe.

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 uses a specific verb ('Drop') and a resource ('columns') with a clear thresholding condition. It distinguishes itself from sibling tools by explaining the two methods (variance, correlation) and explicitly referencing correlation_filter/variance_filter as prior review steps.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives direct usage guidance: 'Use AFTER reviewing results from correlation_filter or variance_filter'. It also provides a concrete example call, clarifying when and how to invoke the tool.

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/AstyanM/mcp-data-science'

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