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

Quark-Protocol (QXP v1.0)

by pjrpjr

quark_tariffguard

Validate HTS-10/HS-6 codes, flag Section 301/232 and 19 CFR 177.9 risks, and verify CTH/CTSH/RVC Rules of Origin to support tariff classification and origin compliance.

Instructions

Validate HTS-10/HS-6 codes, flag Section 301/232 and 19 CFR 177.9 traps, and verify CTH/CTSH/RVC Rules of Origin (independent alternative to Avalara Cross-Border).

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

Input Schema

NameRequiredDescriptionDefault
payloadNoOptional explicit killer input wrapper.
upgrade_liveNoInclude Sovereign Live Gateway (/mcp, /llms.txt, $49 /crucible) metadata.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.3/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It discloses the classification checks and 'traps' it detects, which is meaningful domain behavior, but says nothing about whether the call is read-only, whether invalid codes cause errors or flags, what permissions are needed, or what the response contains.

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 that earns most of its space by naming the specific codes, regulations, and origin rules checked. The trailing competitor comparison is the one promotional clause that does not help tool selection.

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?

For a tool with no annotations, no output schema, and a free-form nested payload wrapper, the description does not explain how inputs are passed, what a validation result looks like, or what upgrade_live actually changes in the response. It names the domain well but leaves the mechanics of invocation and interpretation largely undisclosed.

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 baseline is 3. The description never mentions the payload wrapper or upgrade_live, leaving the meaning of 'upgrade_live' (Sovereign Live Gateway metadata, $49) entirely to the schema's own text.

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?

States a specific verb (Validate) plus concrete resources (HTS-10/HS-6 codes, Rules of Origin) and enumerates the checks performed (Section 301/232, 19 CFR 177.9, CTH/CTSH/RVC). It differentiates itself from an external product (Avalara Cross-Border) but never distinguishes itself from actual siblings such as quark_dutyslice, which an agent would also plausibly consider for tariff work.

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 parenthetical 'independent alternative to Avalara Cross-Border' gives a rough sense of positioning, but it names a competitor rather than a sibling tool. There is no explicit statement of when to prefer this over quark_dutyslice or the other validation tools, and no stated preconditions (e.g., code must be supplied in a particular format).

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