Skip to main content
Glama
davidesg

ART MCP Server

by davidesg

estimate_and_diagnose

Fit a time series model specified in an .inp file and automatically diagnose residuals using autocorrelation, normality, and seasonality tests.

Instructions

Fit the model specified in an .inp file and run diagnosis.

Estimates the model by maximum likelihood (fue MVENC) and runs the full diagnosis: standardised residuals, ACF/PACF, Ljung-Box Q-test, Jarque-Bera normality test, and residual seasonality check.

Parameters

inp_path : path to the .inp file with the model specification output_path : if given, also persist the fitted model as the .pre (= .inp with the estimated parameters, to seed the next step) and .out (ASCII results report) alongside this basename — the same trio confirm_and_estimate writes, so a model estimated through this clean path is not left without artefacts. Empty (default) keeps the old screen-only behaviour.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
inp_pathYes
output_pathNo
Behavior4/5

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

With no annotations, the description discloses the estimation method (MVENC maximum likelihood), the exact diagnostic tests run, and the side effects of output_path (writes .pre and .out files, default is screen-only). This goes beyond basic safety but does not mention error handling or prerequisites.

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 structured with a leading action sentence, a behavior paragraph, and a clear parameter list. Every sentence adds value, and it is not overly long.

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?

The tool has moderate complexity, no annotations, no output schema, and a sparse schema. While input and side effects are well explained, the return value is never stated—it is unclear whether the function returns diagnostic results, the fitted model, or nothing. This is a key gap.

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?

Despite schema having no descriptions, the description explains inp_path as the model specification file and output_path in detail (persist .pre/.out, default behavior). Both parameters are fully covered with context beyond their names.

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 clearly states the tool fits a model from an .inp file and runs a full diagnosis, listing specific tests (standardised residuals, ACF/PACF, Ljung-Box, Jarque-Bera, seasonality). This distinguishes it from sibling tools by combining estimation and diagnosis in one step.

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 does not explicitly state when to use this tool versus alternatives like confirm_and_estimate. It implies this is a 'clean path' and mentions that output_path mirrors confirm_and_estimate's file trio, but gives no direct guidance 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/davidesg/art-python'

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