Skip to main content
Glama

security_jwks_check

Read-only

JWKS / JWK security checker — Audit a JSON Web Key Set used to verify JWTs. url= a JWKS URL or an OIDC issuer (follows /.well-known/openid-configuration to jwks_uri), or text= JWKS/JWK JSON. Per key: kty, alg, use, kid, RSA bits/exponent, EC/OKP curve and coordinate checks, WebCrypto importability, RFC 7638 thumbprint, x5c certificate expiry + key match + x5t/x5t#S256 checks. Flags published private keys or HMAC secrets (CRITICAL, values never echoed), alg none, HS* on public keys, alg/kty/curve mismatches, small RSA keys, duplicate or missing kids, RSA1_5, private key_ops, plain HTTP, missing Cache-Control, single key with no rotation standby. Verdict PASS / REVIEW / FAIL / CRITICAL. Price: $0.005 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": {
      "url": "<url>"
    },
    "name": "security_jwks_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYeshttps://www.googleapis.com/oauth2/v3/certs

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is covered; the description still adds real value by stating that secrets are never echoed, that the issuer resolves through /.well-known/openid-configuration, and by defining a PASS/REVIEW/FAIL/CRITICAL verdict taxonomy plus per-key reported fields. The x402 price note is useful operational context. It stops short of saying whether findings are ordered, truncated, or how many keys are returned.

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 verb and resource, and every clause is a concrete check rather than filler. It is dense to the point of being a run-on enumeration of checks and flags, which costs readability at the expense of completeness.

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?

With no output schema, the description compensates by enumerating per-key fields reported and the verdict scale, which is enough for an agent to anticipate results. The remaining gap is the mismatch between the advertised `text` input and the schema, which would leave an agent unable to use a documented mode.

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% for the single `url` parameter, and the description does add genuine meaning — that url may be either a JWKS endpoint or an OIDC issuer that gets resolved. However it also documents a `text=` alternative that the schema does not define, so the added semantics are partly inaccurate rather than purely additive.

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?

Names a specific verb and resource — audit a JSON Web Key Set used to verify JWTs — and immediately enumerates the exact artefact class (JWKS/JWK, OIDC issuer). Against siblings that are all single-file config checkers, the domain is unambiguous from the first clause.

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?

It explains the accepted input shapes (JWKS URL, OIDC issuer that resolves via /.well-known/openid-configuration, or raw JSON) which implies when the tool applies, but gives no explicit when-not guidance or comparison to any sibling. It also advertises a `text=` input mode that does not exist in the schema, which can mislead invocation.

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