Skip to main content
Glama

security_ssh_key

Read-only

SSH public key checker — Check OpenSSH public keys offline (key= one or more URL-encoded lines from id_*.pub or authorized_keys, max 20): type, bits/curve, SHA256 and MD5 fingerprints (same as ssh-keygen -l), comment, authorized_keys options, FIDO hardware keys, duplicates. Verdict per key STRONG/OK/REJECT with reasons (DSA, RSA under 2048, unusual exponent, no comment, unrestricted forwarding). Tolerates + turned into spaces. Refuses private keys. Price: $0.002 USDC (Base, via x402).

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

Input Schema

NameRequiredDescriptionDefault
keyYesssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAI... sam@laptop

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?

The annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is largely covered. The description nevertheless adds genuinely useful behavior: offline processing, a 20-key batch ceiling, rejection of private keys, tolerance of '+' as space, enumerable outputs, and a cost of $0.002 USDC via x402. The only tension is that the annotations mark it openWorld while the text stresses offline operation, but this is a nuance, not a contradiction, since pricing settlement is external.

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?

Front-loaded with the core action, then outputs, then verdict policy, then edge-case handling, then price — a logical ordering with no filler sentences. It is dense, though: the output inventory and the verdict list are packed into long parenthetical clauses that could be split for easier scanning.

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?

Complete for a single-parameter, no-output-schema tool: the description explains what is produced (per-key type, fingerprints, comment, options, verdict with reasons) and lists the rejection reasons, so an agent can interpret results without a return schema. Cost, input constraints and refusal behavior are all disclosed.

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?

With one fully documented parameter (100% schema coverage), the schema baseline is 3. The description earns an upgrade by adding semantics the schema does not: the value is one or more URL-encoded pubkey lines (not a file path), sourced from id_*.pub or authorized_keys, capped at 20 entries, with '+' accepted as a space.

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 ("Check OpenSSH public keys offline") and immediately scopes what is returned: type, bits/curve, SHA256/MD5 fingerprints, comment, options, FIDO keys, duplicates, verdict. That is clearly distinguishable from sibling utilities like security_hash, security_cert_decode or security_secret_scan.

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?

Usage context is clear: offline checking of id_*.pub or authorized_keys lines, one or more per call, capped at 20, with URL-encoding required and '+' accepted as a space. It even states a hard exclusion ("Refuses private keys"). It stops short of explicitly pointing to an alternative sibling tool for other key-related needs, so it is not a full when/when-not routing statement.

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