Skip to main content
Glama

WritersLogic developer agents

jwt-lint

JWT lint: alg none, crit, key-URL headers, expiry, audience (decode only) — Decodes a compact JWT (never verifies the signature) and checks it against RFC 7519 and RFC 8725 for an agent about to trust or forward it: alg none or missing, crit and key-supplying headers (jku, x5u, jwk), kid injection shape, duplicate claims, and exp, nbf, iat against a caller-supplied time, plus optional expected algorithms, issuer and audience. Without asOf the time claims are not judged an

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": {
      "token": "<token>"
    },
    "name": "jwt-lint"
  }
}

Input Schema

NameRequiredDescriptionDefault
asOfNoReference instant, epoch seconds. Required to judge exp/nbf/iat.
tokenYesCompact JWS: header.payload.signature.
requireExpNoDefault true: a token without exp fails.
expectedAlgsNoAllow-list of algorithms; any other alg fails.
leewaySecondsNoClock-skew allowance, default 0.
expectedIssuerNo
expectedAudienceNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources