Skip to main content
Glama
LGDiMaggio

mcp-server-mcsa

by LGDiMaggio

preprocess_signal

Preprocesses stator-current signals for spectral analysis by removing DC offset, applying notch and bandpass filters, normalising, and windowing.

Instructions

Preprocess a stator-current signal for spectral analysis.

Applies (in order): DC offset removal → notch filtering → bandpass filtering → normalisation → windowing. Returns the preprocessed signal.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
signalYesRaw current signal as a list of amplitude values
sampling_freq_hzYesSampling frequency in Hz
nominal_currentNoNominal current for normalisation (A). Omit for RMS normalisation
windowNoWindow function: hann, hamming, blackman, flattop, rectangularhann
bandpass_low_hzNoLower bandpass cutoff in Hz (optional)
bandpass_high_hzNoUpper bandpass cutoff in Hz (optional)
notch_freqs_hzNoFrequencies to notch-filter (optional)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

No annotations provided, so description carries full burden. It discloses the five-step processing pipeline (DC offset removal, notch, bandpass, normalization, windowing) and states return value. Lacks specific side effects or permission requirements, but adequate.

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?

Very concise: two sentences plus a numbered list of steps. Front-loaded with purpose, no wasted words. Every sentence adds value.

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 parameter count (7) with full schema coverage, output schema exists, and the processing pipeline is described, the description is fairly complete. Could mention constraints like signal length requirements or error handling.

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 coverage is 100%, so baseline 3. Description does not add new meaning beyond parameter descriptions in the schema. The listed steps paraphrase param purposes but no additional semantics.

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 preprocesses a stator-current signal for spectral analysis, listing the sequence of operations. Distinguishes from sibling spectral analysis tools like compute_spectrum by being the preparatory step.

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?

Implied usage: preprocessing before spectral analysis. No explicit when-to-use or alternatives, but context from sibling tools makes it clear. Missing explicit guidance on when not to use.

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