Skip to main content
Glama
doudoufu

PT5 MCP Server

by doudoufu

analyze_pt5_trend

Detect peaks, periodicity, trend segments, and anomalies in PT5 power measurement files to identify power consumption patterns and abnormal behavior.

Instructions

Analyze current trend in a PT5 file: detect peaks, periodicity (autocorrelation), trend segments, and anomalies. Useful for identifying periodic power consumption patterns, current spikes, and abnormal power behavior.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
file_pathYesAbsolute path to the .pt5 file
channelNoChannel to analyze (default: main)
peak_window_msNoPeak detection window in ms (default: 50)
min_peak_prominence_maNoMinimum peak prominence in mA to be considered a peak (default: 5)
anomaly_threshold_stdNoAnomaly detection threshold in standard deviations (default: 3)
max_lag_secNoMaximum lag for autocorrelation analysis in seconds (default: 10)
Behavior3/5

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

No annotations are provided, so the description must cover behavioral traits. It mentions the analysis types but does not disclose whether the tool modifies the file, requires specific permissions, or any performance considerations. It assumes read-only behavior but is not explicit. This is a gap given the absence of annotations.

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 two sentences, front-loading the primary purpose and listing key detections. Every word adds value; no redundancy. It efficiently conveys the tool's value proposition.

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 (multiple detection types, 6 parameters) and lack of output schema, the description provides a solid overview. It could be more complete by mentioning output format or that it is read-only, but the sibling tools context helps. Overall, it covers the essentials.

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?

The input schema has 100% coverage with descriptions for each parameter. The tool description adds no additional parameter semantics beyond what the schema already provides. As per the rubrik, baseline 3 is appropriate when schema coverage is high.

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 analyzes current trends in PT5 files, listing specific detections (peaks, periodicity, trend segments, anomalies). It distinguishes itself from sibling tools like export_pt5_csv or get_pt5_samples by focusing on advanced analysis rather than raw data handling.

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 gives clear usage context: 'Useful for identifying periodic power consumption patterns, current spikes, and abnormal power behavior.' This implies appropriate scenarios. However, it does not explicitly state when not to use this tool or provide direct comparisons to siblings, which would be helpful.

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/doudoufu/pt5-mcp-server'

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