Skip to main content
Glama
andy-qingcai

PPK2 MCP Server

by andy-qingcai

set_spike_filtering

Toggles the hardware spike filter to smooth range-switching spikes during current capture; leave on by default, or turn off for raw PPK2 measurements.

Instructions

硬件尖峰滤波开关(官方默认开;影响换程尖峰的平滑)。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
onYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It does disclose two useful behavioral facts—that the official default is enabled, and that the setting affects smoothing of range-switching spikes (换程尖峰的平滑). It does not say what disabling does, whether the change persists, or what the toggle returns.

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?

A single compact sentence with the resource front-loaded, followed by the default and effect in parentheses. No wasted words, though the parenthetical stacking slightly compresses two distinct facts.

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?

For a one-parameter toggle with no annotations or output schema, the description covers the default state and the setting's effect but omits what changing it does operationally and when an agent should choose to toggle it. Adequate but with visible gaps.

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 0%, so the description must compensate for the single 'on' boolean. It partially does so by stating the default state is enabled, which informs the parameter's effect, but it never explicitly maps true/false to enabling or disabling the filter.

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?

The description names a specific resource and action: a switch (开关) for hardware spike filtering (硬件尖峰滤波), which maps directly to set_spike_filtering. It is clear what the tool operates on, though it does not differentiate itself from sibling toggles like set_mode or set_resistor_range.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no explicit guidance on when to toggle this versus leaving it alone, and no alternatives are named. The note that it is on by default (官方默认开) faintly implies changes are optional, but this is not stated as usage guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.