Skip to main content
Glama
Post-Quantum Cryptography MCP Server

Post-Quantum Cryptography MCP Server

by scottdhughes

pqc_hybrid_keygen

Generates a hybrid X25519 + ML-KEM-768 keypair bundle for quantum-resistant research and prototyping, optionally storing it under a named handle without exposing the secret key.

Instructions

Generate a hybrid X25519 + ML-KEM-768 keypair bundle (suite: mlkem768-x25519-sha3-256). Research/prototyping only.

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

Input Schema

NameRequiredDescriptionDefault
store_asNoOptional name to store the keypair handle (secret key never returned)
overwriteNoIf true, overwrite an existing stored key with the same name

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.10.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full burden; it does disclose the construction (hybrid X25519 + ML-KEM-768 with SHA3-256) and a safety caveat, which are genuinely useful behavioral facts. It omits what the returned 'bundle' contains, whether the secret key is ever exposed, and what happens when store_as is not supplied — the secret-key-never-returned fact lives only in the parameter schema, not here.

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

Conciseness5/5

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

Two compact sentences: the capability and suite come first, the scope restriction second. Every clause carries information and nothing is repeated.

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?

For a zero-required-parameter keygen tool with a fully documented schema and no output schema, the description covers the algorithm, the suite, and the intended usage tier. The main residual gap is return shape — an agent cannot tell from the description whether a handle, a public key, or both come back, though the store_as schema hints at a handle.

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 coverage is 100% and both parameters are documented with non-trivial semantics ('secret key never returned', overwrite behavior), so the schema does the heavy lifting. The description adds no parameter-level meaning beyond confirming that a keypair bundle is produced and optionally stored.

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 ('Generate') and a precise resource ('hybrid X25519 + ML-KEM-768 keypair bundle'), plus the exact suite string, which is the most distinguishing detail versus the plain pqc_generate_keypair sibling. It never names that sibling explicitly, so the differentiation is by inference rather than by routing.

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 phrase 'Research/prototyping only' conveys a real usage constraint (do not use in production), which is a meaningful when-to-use signal. However, it gives no positive guidance on when to pick this over pqc_generate_keypair or how it pairs with pqc_hybrid_open/pqc_hybrid_encap, so alternatives remain for the agent to infer.

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