Skip to main content
Glama

ScorpTech x402 Tools

Pgp Key Info

pgp_key_info
Read-onlyIdempotent

Inspect an OpenPGP public key (ASCII-armored or base64 binary) the way gpg --show-keys does, offline: primary key and subkey fingerprints and key IDs (v4, v5 and RFC 9580 v6 keys), algorithm and size / curve (RSA, DSA, ElGamal, ECDSA, ECDH, EdDSA, Ed25519 / Ed448, X25519 / X448), creation and expiry from the self-signatures, revocations, capabilities (certify / sign / encrypt / authenticate), user IDs split into name / email / comment, preferred algorithms and features, the armor CRC-24 check and Web Key Directory (WKD) URLs for each email. Flags weak or deprecated keys, SHA-1 self-signatures, expired keys and keys without an encryption subkey. Private key blocks are refused. Returns JSON with: version, fingerprint, fingerprintFormatted, keyId, algorithm, bits, curve, created. Price: $0.002 USDC per successful call (x402, Base or Solana). Same tool over HTTPS: POST https://scorptech.it.com/api/x402/v1/pgp-key-info

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "key": "<key>"
    },
    "name": "pgp_key_info"
  }
}

Input Schema

NameRequiredDescriptionDefault
keyYesASCII-armored public key block or base64 of the binary key
nowNoUnix time for expiry checks (default: now)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive and openWorld, so the safety profile is covered. The description adds genuinely useful behavior beyond that: offline operation, refusal of private key blocks, CRC-24 verification, WKD URL computation, and heuristic flagging of weak/SHA-1/expired keys. It stops short of stating error behavior or how partial/undecodable keys are handled.

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?

Purpose and offline scope are front-loaded, followed by the capability inventory and pricing. The middle is a dense run-on enumeration with heavy parentheticals, but for a tool that parses and reports a dozen attributes, most of that inventory earns its place.

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

Completeness5/5

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

With no output schema, the description compensates by naming the returned JSON fields (version, fingerprint, fingerprintFormatted, keyId, algorithm, bits, curve, created) and the derived checks it performs. Pricing, transport, and the private-key rejection are all disclosed, leaving nothing an agent needs before calling it.

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%, so both `key` and `now` are already documented, and the description largely restates the accepted key encodings rather than extending them. It never mentions `now` explicitly, so an agent must consult the schema to learn how to override the expiry evaluation time — baseline 3 applies.

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

Purpose5/5

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

Opens with a specific verb and resource — 'Inspect an OpenPGP public key' — and anchors it to a known reference behavior ('the way gpg --show-keys does'). The key formats accepted and the supported key versions/algorithms make it unmistakable versus ssh_key_info or ssl_cert_info.

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

Usage Guidelines4/5

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

Establishes the operating context clearly: offline inspection, no keyserver lookups, private key blocks refused, and a paid HTTPS alternative given. It does not explicitly say 'use ssh_key_info instead for SSH keys', so routing to siblings is left to inference from the resource name rather than stated.

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.

Resources