Skip to main content
Glama

Simulate Quantum Downgrade & Tamper Attacks

simulate_quantum_downgrade_attack
Read-onlyIdempotent

Run deterministic quantum-downgrade attack simulations in an isolated shadow engine to verify QoreGuard blocks PQC stripping, signature downgrades, tampering, and nonce replay.

Instructions

Runs deterministic adversarial simulations (strip PQC to classical-only, downgrade v2->v1 sign bytes, downgrade ML-DSA-87->ML-DSA-44, tamper commitment amount, flip signature bit, replay consumed nonce) in an isolated shadow engine to verify QoreGuard blocks every vector.

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

Input Schema

NameRequiredDescriptionDefault
vectorsNoSpecific attack vectors to run. Omit to run all 6 vectors.
envelopeNoOptional valid envelope to mutate; if omitted, generates a fresh compliant ML-DSA-87 envelope.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the description only needs incremental context. It earns that credit by characterizing the execution as 'deterministic' and confined to an 'isolated shadow engine', which is the key behavioral fact reassuring an agent that no production state or nonce is consumed.

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 sentence, front-loaded with the verb and then the vectors, with no filler or redundant preamble. It is dense but every clause carries information; it only pushes readability limits by packing six vectors and the shadow-engine qualifier into one run-on clause.

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 tool has no output schema, so the description bears responsibility for indicating what comes back, yet it only asserts that QoreGuard 'blocks every vector' without saying whether the result is a per-vector pass/fail, diagnostics, or an evidence bundle. Input side is well covered by the fully described nested schema.

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%, including the 'Omit to run all 6 vectors' default and the nested envelope structure, so the schema is doing the semantic work. The parenthetical vector list mirrors the enum rather than adding meaning, and nothing is said about how the optional envelope interacts with individual vector selection.

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 opens with a concrete verb ('Runs deterministic adversarial simulations') and enumerates the exact attack vectors it exercises, so an agent knows precisely what it does. It does not differentiate itself from the similarly named sibling verify_pq_tx, leaving the boundary between 'simulate an attack' and 'verify a transaction' to inference.

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?

Usage is only implied: the phrase 'to verify QoreGuard blocks every vector' suggests the tool is for pre-deployment or regression validation against the guard. There is no explicit when-to-use versus verify_pq_tx, no statement of prerequisites, and no guidance on when a targeted vector list is preferable to the default all-vectors run.

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