Skip to main content
Glama

ScorpTech x402 Tools

Ssh Key Info

ssh_key_info
Read-onlyIdempotent

Inspect SSH public keys and OpenSSH certificates from authorized_keys, known_hosts, .pub, RFC 4716 or PEM input: key type, size / curve, SHA256 and MD5 fingerprints exactly as ssh-keygen prints them, comment and authorized_keys options, FIDO / hardware-backed keys, duplicate detection and a strength verdict (DSA and short RSA flagged); certificates are decoded (user/host, key ID, principals, validity, critical options, extensions, signing CA fingerprint). PEM public keys are converted to OpenSSH format. Private keys are refused. Returns JSON with: count, valid, weakOrInsecure, duplicates, keys. Price: $0.002 USDC per successful call (x402, Base or Solana). Same tool over HTTPS: POST https://scorptech.it.com/api/x402/v1/ssh-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": {
      "keys": "<keys>"
    },
    "name": "ssh_key_info"
  }
}

Input Schema

NameRequiredDescriptionDefault
keysYesOne key per line (authorized_keys / known_hosts / .pub), or an RFC 4716 / PEM public key block

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and open-world, and the description goes beyond them with pricing ($0.002 USDC per successful call, x402 on Base or Solana), a refusal rule for private keys, PEM-to-OpenSSH conversion, and an alternate HTTPS endpoint. What it does not cover is failure behavior (e.g., what happens with malformed or oversized input) or limits on the number of keys accepted.

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?

Dense but front-loaded: purpose, accepted formats, decoded outputs, then refusal rule, returned JSON fields, price and alternate endpoint. Every clause conveys operational information; the pricing and HTTPS-endpoint sentences are the least essential but still decision-relevant for cost-aware agents.

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 supplies the return shape (count, valid, weakOrInsecure, duplicates, keys) and details the certificate decoding, which is exactly the missing structured information. For a single-parameter read-only inspector, nothing needed to invoke it correctly is absent.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% for the single 'keys' parameter, so the baseline is 3; the description earns above baseline by specifying multi-line parsing semantics ('one key per line' for authorized_keys/known_hosts/.pub) versus a single RFC 4716/PEM block, which is more than the schema repeats.

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?

States a specific verb and resource ('Inspect SSH public keys and OpenSSH certificates') and enumerates the accepted input forms and the decoded certificate fields, so an agent can distinguish it from pgp_key_info or ssl_cert_info purely on resource and format.

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?

Gives clear usage context via the list of accepted sources (authorized_keys, known_hosts, .pub, RFC 4716, PEM) and one explicit exclusion ('Private keys are refused'), which prevents a common mis-invocation. It stops short of naming an alternative sibling for PGP or TLS material, so routing between key-type tools is left to resource inference.

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