Skip to main content
Glama

Homo Universalis — HU-DIAMOND v1.1 Cryptographic Verifier, W3C VC 2.0 & AST Kintsugi MCP

verify_diamond_crucible_and_ast

Read-onlyIdempotent

Audit Python source code (code_markdown) and verify the 8-vertex Reed-Muller RM(1,3) cryptographic crucible in under 4 ms. Use this tool ONLY for Python AST static code auditing (syntax, import-hoist guard, zero placeholders) or RM(1,3) geometric proofs; use verify_sovereign_shield_merkle for generic plain-text Merkle notarization and PII purification, and simulate_diamond_spiral_budget for call and cost estimation. Zero-auth, stateless, and free (0.00 EUR), checking RM(1,3) antipodal geometry across 256 states in Q^3, non-coercion laws L1..L7 (c_levels == 1), 22/22 killed policy mutants, and Python AST verification whenever code_markdown is provided. diag_active (1..4) weights the active diagonal pair in the rational barycenter, lang localizes summaries, and any syntax or AST rule violation sets result to 'violation_detected' while returning an RFC 8785 (JCS) + RFC 7515 (JWS ES256) signature.

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

Input Schema

NameRequiredDescriptionDefault
langNoOutput language for localized verification summaries ('en' English, 'es' Spanish, or 'ca' Catalan).en
diag_activeNoActive body diagonal of the 8-vertex Stella Octangula (`1` Fire, `2` Earth, `3` Air, or `4` Water; default `2`), assigning weight 2 to the active antipodal pair in the rational barycenter.
code_markdownNoOptional Python source code or Markdown containing ```python blocks to audit with the AST Kintsugi Verifier (Syntax, Rule 4 Import Hoist Guard, and Rule 7 Zero Placeholders). When omitted, only the 256-state RM(1,3) crucible and 22/22 mutant checks run.

Output Schema

NameRequiredDescriptionDefault
langNo
oracleNo
resultNo
statusYes
equationNo
crucible_proofYes
cryptographic_attestation_es256Yes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedOutput schema / properties / result
      Added value: +{
      +  "enum": [
      +    "clean",
      +    "violation_detected"
      +  ],
      +  "type": "string"
      +}
    • changedOutput schema / properties / status / enum
      Previous value: -[
      -  "verified",
      -  "violation_detected"
      -]New value: +[
      +  "verified",
      +  "analysis_complete",
      +  "violation_detected"
      +]
  2. Changed3 schema fields changed
    • changedInput schema / properties / code_markdown / description
      Previous value: -"Optional Python source code or Markdown containing ```python blocks to audit with the AST Kintsugi Verifier (Syntax, Rule 4 Import Hoist Guard, Rule 7 Zero Placeholders)."New value: +"Optional Python source code or Markdown containing ```python blocks to audit with the AST Kintsugi Verifier (Syntax, Rule 4 Import Hoist Guard, and Rule 7 Zero Placeholders). When omitted, only the 256-state RM(1,3) crucible and 22/22 mutant checks run."
    • changedInput schema / properties / diag_active / description
      Previous value: -"Active body diagonal of the Stella Octangula (`1..4`, default `2`)."New value: +"Active body diagonal of the 8-vertex Stella Octangula (`1` Fire, `2` Earth, `3` Air, or `4` Water; default `2`), assigning weight 2 to the active antipodal pair in the rational barycenter."
    • changedInput schema / properties / lang / description
      Previous value: -"Output language code ('en', 'es', or 'ca')."New value: +"Output language for localized verification summaries ('en' English, 'es' Spanish, or 'ca' Catalan)."
  3. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive and closed-world, so the safety profile is covered. The description adds real behavioral context beyond that: zero-auth, stateless, free (0.00 EUR), <4 ms runtime, what runs when `code_markdown` is omitted, and the failure contract (`result` = 'violation_detected' plus RFC 8785 JCS + JWS ES256 signature). Opaque claims like '22/22 killed policy mutants' are unverifiable and reduce confidence slightly.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The actionable content is front-loaded in the first clause, but the definition is two extremely dense sentences crammed with jargon and side claims that an invoking agent cannot act on. It is information-bearing rather than redundant, yet it is not easy to scan.

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?

An output schema exists, so return values need not be explained, and the description still covers invocation conditions, parameter effects, performance, auth, cost, and the failure outcome. For a high-complexity verification tool with rich schema and annotations, this is close to complete, with residual gaps only in the undefined domain jargon.

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 each parameter already carries a detailed description, enum, and default, so the schema does the heavy lifting. The description only restates that `diag_active` weights the active diagonal pair, `lang` localizes summaries, and `code_markdown` triggers AST verification, adding little new 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 states concrete verbs and resources: 'Audit Python source code' and 'verify the ... RM(1,3) cryptographic crucible', and it names the sibling tools it is not, so an agent can distinguish it from verify_sovereign_shield_merkle and simulate_diamond_spiral_budget. The heavy unexplained jargon ('Kintsugi', 'crucible', 'non-coercion laws L1..L7') blurs part of the purpose, keeping it from a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It explicitly says 'Use this tool ONLY for Python AST static code auditing ... or RM(1,3) geometric proofs', then routes two sibling tools to their respective cases (generic Merkle notarization/PII purification vs. call and cost estimation). When-to-use, when-not-to-use, and alternatives are all present.

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.