Skip to main content
Glama
Quark-Protocol (QXP v1.0)

Quark-Protocol (QXP v1.0)

by pjrpjr

quark_lh100_validate

Validates TDA JSON payloads or repository paths against the LH-100 anti-glue and constitutional PR gate, returning compliance results to block noncompliant changes.

Instructions

Run the LH-100 Anti-Second-Gen-Glue & Constitutional PR Gate on a TDA JSON payload or repository path.

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": "quark_lh100_validate"
  }
}

Input Schema

NameRequiredDescriptionDefault
tdaNoIn-memory TDA JSON object to validate.
pathNoFile or directory path containing TDA JSON files.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.6/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden and does not meet it. It does not say whether validation is read-only or mutates/creates files, whether it fails hard or returns findings, whether network or config access is needed, or what constitutes a pass versus a rejection. Only the word "validate" hints at a check-style operation.

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 front-loaded sentence with no filler or repetition, and the two input modes are packed in efficiently. The density comes at some cost to comprehensibility because of the unexplained gate name, but there is no wasted wording.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema and no annotations, and the tool takes a nested object parameter, so the description needed to explain return behavior and gate semantics. It instead stops at naming the operation, leaving an agent unable to predict results, error modes, or side effects.

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% and the two parameters are individual documented fields, so baseline 3 applies. The description restates the same two input options (payload or path) without adding format expectations, precedence rules when both are supplied, or what path recursion means. No extra meaning beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The sentence pairs a concrete verb ("Run") with a named gate and names both accepted input forms (TDA JSON payload, repository path), which does separate it from siblings like quark_tda_lookup. However, "LH-100 Anti-Second-Gen-Glue & Constitutional PR Gate" is heavily jargonized, so an agent cannot tell from the description what the validation actually checks or decides. The purpose is identifiable in shape but opaque in substance.

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?

No guidance on when to use this versus quark_tda_lookup or other siblings, and no preconditions or exclusions stated. The only implied usage is that a TDA JSON payload or path is the input, which is already obvious from the schema. Nothing tells the agent when this gate is required versus optional.

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