Skip to main content
Glama
davidesg

ART MCP Server

by davidesg

test_interventions

Tests each intervention in a fitted model for statistical significance, identifying which ones can be removed to simplify the model.

Instructions

Test H₀: ω=0 for every non-structural intervention in a fitted model.

Runs a t-test on each free omega parameter of pulse, step, ramp, and similar interventions (cosine/sine harmonics and alter are structural and skipped by default). Identifies which interventions are non-significant and can be removed to simplify the model.

For interventions with a transfer function (delta ≠ 0), also computes a Wald joint test H₀: g = α·ω = 0.

Parameters

inp_path : path to a fitted .inp or .pre file alpha : significance level for classification (default 0.05)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
alphaNo
inp_pathYes
Behavior4/5

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

With no annotations, the description carries the full burden of behavioral disclosure. It reveals the statistical tests performed (t-test on each omega, Wald joint test for transfer functions), the exclusions, and the significance threshold via alpha. It does not detail return formats or side effects, but the statistical behavior is well covered.

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 front-loaded with a one-sentence summary, followed by concise explanatory bullets and a clear parameter section. No sentences are wasted, and the structure makes it easy to scan. It is appropriately sized for the tool's complexity.

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?

The tool has two simple parameters and no output schema, but the description provides enough context for correct invocation: it states the input file type, the significance threshold, and the purpose of the test. A minor gap is the lack of explicit information about the return value, but the description implies a list of non-significant interventions.

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

Parameters5/5

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

Schema description coverage is 0%, so the description must compensate, and it does: it explains inp_path as a path to a fitted .inp or .pre file, and alpha as the significance level for classification with a default of 0.05. This adds meaning beyond the raw schema and fully clarifies both parameters.

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 opens with a precise statement: 'Test H₀: ω=0 for every non-structural intervention in a fitted model.' This clearly identifies the action (testing) and the target (non-structural interventions), and distinguishes it from sibling tools like intervention_analysis or formal_tests. It also explicitly notes which interventions are excluded, reinforcing its specific scope.

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

Usage Guidelines4/5

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

The description states when to use the tool: to identify non-significant interventions that can be removed to simplify the model. It also clarifies that structural interventions are skipped by default, giving a clear boundary. However, it does not explicitly name alternative tools or state when not to use it, but the context is strong.

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/davidesg/art-python'

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