Skip to main content
Glama
SLogic16U3 MCP

SLogic16U3 MCP

by gjjisadog

logic_assert

Validate PWM frequency, duty cycle, jitter, deadtime, and non-overlap across an entire logic capture; reject incomplete, corrupt, or invalid evidence.

Instructions

Evaluate PWM tolerances over the ENTIRE complete capture; fail closed on invalid evidence. Duty is 0..1. Deadtime requires no_overlap_with_channel to identify the other active-HIGH gate. Rejects static/insufficient PWM, incomplete/corrupt artifacts and invalid complementary pairing. A pass applies to the recorded interval at the recorded sample resolution.

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_assert"
  }
}

Input Schema

NameRequiredDescriptionDefault
channelNo
duty_maxNo
duty_minNo
capture_idYes
freq_max_hzNo
freq_min_hzNo
max_jitter_nsNo
min_deadtime_nsNo
no_overlap_with_channelNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.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 behavioral burden. It does well on failure semantics ('fail closed'), rejection conditions, and the caveat that a pass is scoped to the recorded interval at the recorded sample resolution, but it never states whether rejection surfaces as a tool error or a result payload, nor that the operation is non-mutating.

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?

Four tight sentences, front-loaded with the scope restriction and the unit convention before the conditional dependency. No filler, though the final sentence about pass scope could be folded into the first without loss.

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 nine-parameter, annotation-free, output-schema-free tool, the description covers purpose, unit conventions, one parameter dependency and failure behavior. It still leaves most parameter meanings and the shape of a pass/fail response undocumented, which an agent needs to call it correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0% across nine parameters, so the description must supply the meaning. It only covers two of them: duty is 0..1, and no_overlap_with_channel identifies the complementary gate for deadtime. channel, capture_id, freq_min_hz/freq_max_hz, duty_min/duty_max and max_jitter_ns remain undefined in both schema and prose.

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 verb-plus-resource is specific: evaluate PWM tolerances across an entire capture and fail closed. The 'assert' framing plus the tolerance-list vocabulary distinguishes it from a plain measurement sibling such as logic_measure_pwm, though it never states that contrast outright.

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?

It gives real preconditions implicitly, e.g. deadtime checking requires no_overlap_with_channel and static/insufficient PWM captures are rejected, which tells the agent what input will not work. It does not say when to choose this over logic_measure_pwm or logic_measure_pair, so 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.