Skip to main content
Glama
LGDiMaggio

mcp-server-mcsa

by LGDiMaggio

diagnose_from_file

Load a motor current signal from a file and run the full MCSA diagnostic pipeline to detect faults such as broken rotor bars, bearing defects, and eccentricity.

Instructions

Load a signal from file and run the full MCSA diagnostic pipeline.

One-shot tool: reads the signal file, preprocesses, computes the spectrum, runs all fault detectors, and returns a complete diagnostic report. Ideal for batch or automated condition-monitoring workflows.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
file_pathYesAbsolute path to the signal file (CSV, WAV, or NPY)
supply_freq_hzYesSupply frequency in Hz
polesYesNumber of poles
rotor_speed_rpmYesRotor speed in RPM
sampling_freq_hzNoSampling frequency in Hz (required for NPY, optional for CSV with time column, auto-detected for WAV)
signal_columnNoCSV column for the current signal
time_columnNoCSV column for time (null if absent)
channelNoWAV channel index
bearing_defect_freq_hzNoBearing defect frequency in Hz (optional)
tolerance_hzNoFrequency search tolerance in Hz

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

Discloses the full pipeline: reads, preprocesses, computes spectrum, runs detectors, returns report. No annotations exist, so description carries full burden; it provides clear stepwise behavior, though it does not mention read-only nature or potential side effects.

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?

Extremely concise: two sentences and a line break. Front-loaded with the core action and key qualifiers ('one-shot'), with no unnecessary wording.

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?

Given the tool's complexity (10 parameters, many siblings, output schema available), the description covers the essential function and workflow. It does not explain relationship with siblings, but the output schema existence reduces the need for return value description.

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

Parameters3/5

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

Schema description coverage is 100%, so baseline is 3. The description does not add extra parameter meaning beyond what the schema already provides, staying at the baseline.

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?

Clearly states the tool loads a signal from file and runs the full MCSA diagnostic pipeline. Uses specific verb 'diagnose' and resource 'from file', distinguishing it from siblings like 'run_full_diagnosis' which may not involve file loading.

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?

Describes as a one-shot tool ideal for batch/automated workflows, implying when to use. However, it does not explicitly state when not to use or mention alternative tools for partial steps (e.g., inspect_signal_file, preprocess_signal), leaving the agent without clear exclusion guidance.

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/LGDiMaggio/mcp-motor-current-signature-analysis'

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