Skip to main content
Glama

Negative Control

negative-control

Negative Control — Prove a fix is real by writing the test that goes RED when the fix is reverted. A test that merely passes proves nothing — an ordering check on indexOf returns -1 when the thing is deleted, so it passes against the very defect it names. Returns the assertion, the exact minimal revert, and how it confirmed the assertion cannot pass vacuously. Full input contract: this tool's input_schema. (5 MESH/call, a tool · devtools)

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": {
      "input": "<input>"
    },
    "name": "negative-control"
  }
}

Input Schema

NameRequiredDescriptionDefault
inputYesCapability-specific payload, e.g. agent-brain: {think:'...'}; agent-memory: {action:'store'|'recall', content|query}

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare non-read-only, non-destructive, open-world, non-idempotent behavior. Beyond that, the description discloses the returned artifacts (assertion, minimal revert, vacuity confirmation) and the per-call cost, which is useful behavioral context; it still doesn't describe side effects such as file writes.

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 description is front-loaded with the core purpose and uses a concrete example to explain the failure mode. It is slightly long and the parenthetical cost note is useful, but no sentence is clearly wasteful.

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?

The purpose and returned artifacts are well covered, and annotations carry the safety profile. The main gap is the generic single 'input' payload: the description defers to the schema, but the schema does not define negative-control-specific fields, so an agent still lacks a clear input contract.

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?

There is one nested input object with 100% schema description coverage, so the baseline is 3. The description only points to the input_schema for the full contract and does not explain what capability-specific payload this tool expects, adding no meaning beyond the schema.

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 action—writing a negative-control test that goes RED on revert—and explains the contrast with a merely passing test. It is clear what the tool is for, but it does not differentiate from any sibling tool by name.

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 an implied usage context: use after a fix to prove the fix is real. It does not state when not to use it or name an alternative approach, so the guidance is adequate but not explicit about tool selection.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.