Skip to main content
Glama
LGDiMaggio

mcp-server-mcsa

by LGDiMaggio

compute_power_spectral_density

Apply Welch's method to compute power spectral density from motor current signals for fault detection and trend analysis.

Instructions

Compute Power Spectral Density using Welch's method.

Better for noisy signals and trend analysis than a raw FFT. Returns a spectrum_id plus compact summary.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
signal_idNoID of a stored signal. Preferred over raw array.
signalNoTime-domain signal array. Use signal_id instead.
sampling_freq_hzNoSampling frequency in Hz. Auto-resolved when using signal_id.
npersegNoFFT segment length. Omit for auto
max_freq_hzNoMaximum frequency to return (Hz)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

No annotations provided, so description must carry full burden. It discloses the method (Welch's), the return of a spectrum_id and compact summary, but does not mention read-only nature, side effects, or prerequisites. The description adds some context but is not comprehensive.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is short and front-loaded with key information. No wasted words. Could potentially add a bit more detail without becoming verbose, but currently it is efficient.

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?

Given the tool has 5 parameters and an output schema, the description is adequate but not thorough. It mentions the primary output but does not elaborate on the 'compact summary' or provide additional context for parameter choices. With moderate complexity, a bit more detail would improve completeness.

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 is 3. The description does not add any additional parameter semantics; it merely repeats the tool's purpose. The schema already documents each parameter sufficiently.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

Clearly states it computes PSD using Welch's method, and mentions it's better for noisy signals and trend analysis than a raw FFT. However, it does not differentiate well from sibling tools like compute_spectrum or compute_envelope_spectrum, which may also be used for spectral analysis.

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?

Provides a usage hint (better for noisy signals/trend analysis) but does not explicitly state when to use this tool versus alternatives among siblings, nor when not to use it. The guidance is implied rather than explicit.

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