Skip to main content
Glama

testNoPassthrough

Detect whether a filter effect modifies its input by comparing rendered output to the bound input texture at paused times, flagging effects that act as passthroughs.

Instructions

Check that a filter effect modifies the input it consumes. Compares the rendered output with the bound input texture (skipping a feedback read of the effect's own output) at paused t=0 and t=0.37: similarity (mean RGB difference on a 64x64 grid), changed_fraction (grid pixels changed by more than 2/255) and strong_fraction (all pixels changed by more than 16/255). Output is unchanged when similarity and changed_fraction are at most 0.01 and strong_fraction at most 0.0005 at both times. A filter unchanged at its defaults is measured again with its ungated controls moved (identity_at_defaults, varied); only a filter unchanged both ways is a passthrough.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "testNoPassthrough"
  }
}

Input Schema

NameRequiredDescriptionDefault
backendNoRendering backendwebgl2
effectsNoComma-separated effect IDs
effect_idNoOne effect ID, such as "synth/noise"

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.4

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description does substantial work: it discloses the sampling times (t=0, t=0.37), the skipped feedback read, the metric definitions and the 0.01/0.0005 thresholds, plus a second measurement with ungated controls moved. It still omits cost/runtime, behavior on non-filter effects, and the shape of the returned result, so the burden is not fully met.

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 core assertion and thresholds are front-loaded, and each sentence adds substantive information about measurement strategy. It is dense and slightly parenthetical-heavy, but no sentence is filler.

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?

There is no output schema, so the description's explanation of similarity, changed_fraction, strong_fraction and the identity_at_defaults/varied re-measurement is what makes the result interpretable. Remaining gaps are minor: error behavior and whether non-filter effects are rejected.

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 100%, so the schema already documents backend, effects and effect_id. The description adds no meaning about these parameters, not even mentioning that an effect_id or effects list is accepted, so baseline 3 is appropriate.

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 first sentence gives a specific verb and resource: check whether a filter effect modifies the input it consumes, with a clear definition of 'passthrough' at the end. It is distinguishable from siblings like testPixelParity or testUniformResponsiveness, though it never names those alternatives 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?

The description makes the intended use case inferable (detecting filters that do nothing), but never states when to pick this over the other test tools in the sibling set. No explicit exclusions or preconditions such as 'only applies to filter effects' are given beyond the closing sentence.

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