Skip to main content
Glama
SLogic16U3 MCP

SLogic16U3 MCP

by gjjisadog

logic_measure_pwm

Measure PWM frequency, duty cycle, jitter, and anomalies in captured logic data to validate timing and flag unstable or invalid signals.

Instructions

Measure PWM frequency, duty, jitter and anomalies using ATK's analysis engine. max_samples defaults to the first 1M samples; null analyzes all. Duty is a 0..1 fraction. Static/insufficient signals return valid=false. Sampling resolution is reported in ns.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "capture_id": "<capture_id>"
    },
    "name": "logic_measure_pwm"
  }
}

Input Schema

NameRequiredDescriptionDefault
channelNo
capture_idYes
max_samplesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior4/5

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

With no annotations supplied, the description carries the burden and does meaningful work: it states the default sample window (first 1M), that null means all samples, that duty is a 0..1 fraction, that degenerate signals yield valid=false rather than an error, and that timing resolution is reported in ns. It stops short of stating whether the tool only reads existing captures, what the cost is on large captures, or what fields appear in the response beyond valid.

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?

Front-loaded with purpose, then defaults, then output semantics and failure mode; every sentence carries information. Minor waste in the 'using ATK's analysis engine' attribution, which adds no decision-relevant value.

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 3-parameter analysis tool with no annotations and no output schema, the description covers output semantics and edge behavior well but leaves the required capture_id unexplained and does not describe the channel parameter. An agent could invoke it, but would be guessing about identifier format and channel indexing.

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. It fully explains max_samples (1M default, null = all samples) but says nothing about capture_id — the sole required parameter — or channel (default 0), leaving two of three parameters without semantics.

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?

Names a specific verb (measure) and specific metrics (PWM frequency, duty, jitter, anomalies), so the agent knows exactly what comes back. It implicitly separates itself from siblings like logic_measure_pair and logic_measure_three_phase by naming PWM as the subject, but never states that distinction explicitly.

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?

Usage is only implied: the agent can infer this is the tool for single-channel PWM characterization, and 'Static/insufficient signals return valid=false' hints at preconditions. There is no explicit when-to-use vs. logic_measure_pair/three_phase routing and no stated prerequisites for capture_id.

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