Skip to main content
Glama

SiteCheck Web Intel

Decodes a JWT you supply and reports its algorithm, key id

security_jwt_token_inspector
Read-only

Decodes a JWT you supply (header and payload, base64url JSON) and reports its algorithm, key id, claims, and time checks (exp, nbf, iat). Flags alg none, symmetric HS algorithms, missing exp and a jku/x5u key reference. It does not verify the signature, because no key is given, and it does not fetch the key URL. Price: $0.002 per successful call, paid with x402 (USDC on Base, Solana and 10 more networks); failed calls are not charged.

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

Input Schema

NameRequiredDescriptionDefault
tokenYesA JWT in compact form: header.payload.signature (required, max 8 KB)

Output Schema

NameRequiredDescriptionDefault
typeNo
keyIdNo
claimsNo
issuerNo
issuesNo
sourceNo
expiredNo
subjectNo
audienceNo
issuedAtNo
algorithmNo
checkedAtNo
expiresAtNo
notBeforeNo
signatureVerifiedNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations only declare readOnlyHint and openWorldHint; the description adds substantive behaviour beyond that — no signature verification, no key-URL fetching, plus the specific risk conditions it flags (alg none, HS algorithms, missing exp, jku/x5u). The pricing model and the fact failed calls are free is genuinely useful context for an agent that may be charged for calls.

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?

Four sentences, each carrying distinct load: purpose and outputs, flagged risks, explicit limitations, then cost. It is front-loaded and free of padding, though the parenthetical stacking ('(header and payload, base64url JSON)' and the network list) makes it denser than necessary.

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?

For a one-parameter read-only decoder with an output schema, nothing material is missing — scope, decoding behaviour, non-verification caveat, risk flags and billing are all covered. An agent can decide to call it and interpret the result from this text alone.

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% and there is a single required 'token' parameter already documented as compact header.payload.signature with an 8 KB cap. The description's mention of base64url JSON header and payload describes the decoded content rather than adding invocation-level meaning beyond the schema, so the 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?

The description opens with a concrete verb and resource ('Decodes a JWT you supply') and enumerates exactly what is reported: algorithm, key id, claims, and time checks (exp, nbf, iat). That is specific enough to separate it from the surrounding DNS/blocklist/reputation siblings without inspecting their schemas.

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?

It tells the agent precisely what input it expects and draws clear exclusions — it will not verify the signature because no key is supplied and it will not fetch the jku/x5u URL. That effectively covers the 'when not to use' case, but no alternative tool is named for the case where the caller actually needs verification.

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