Skip to main content
Glama

x402-jwt-verify

JWT Verify: Decodes a JWT header and payload, reports exp, iat and expired, and verifies an HS256 HMAC when secret is given; valid is null otherwise 🆓 5 free trial calls per signed wallet

Input Schema

NameRequiredDescriptionDefault
jwtNo
inputNo
tokenNo
secretNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • removedInput schema / properties / input / description
      Removed value: -"Input to process"
    • removedInput schema / properties / jwt / description
      Removed value: -"Jwt to process"
    • removedInput schema / properties / secret / description
      Removed value: -"Secret to process"
    • removedInput schema / properties / token / description
      Removed value: -"Token to process"
  2. First observed

TDQS

B3.1/5.0
Behavior3/5

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

With no annotations, the description carries the full burden and does disclose useful behavior: what is decoded, the reported fields (exp, iat, expired), the conditional HMAC path, and that valid is null when no secret is supplied. It omits error handling, malformed-token behavior, and the pricing note's implications beyond the free-trial line.

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?

A single front-loaded sentence covering capability, outputs, and conditional behavior, with no filler. The trailing free-trial emoji line is minor noise but does not obscure the core statement.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 4-parameter tool with no annotations, no output schema, and 0% schema description coverage, the description leaves critical gaps: it does not disambiguate jwt/input/token or describe failure behavior. Given the structured-data vacuum, it should do considerably more.

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

Parameters2/5

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

Schema coverage is 0% and three of the four parameters (jwt, input, token) appear to be undocumented aliases whose relationship the description never clarifies. Only 'secret' gets meaning added ('when secret is given'), leaving the primary input parameters ambiguous.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description gives a specific verb+resource pair (decode a JWT header/payload) and adds the distinctive capability (HS256 HMAC verification when secret is given), which separates it from the sibling x402-jwt-decode. It never names that sibling explicitly, so the differentiation is inferred rather than stated.

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?

The conditional 'when secret is given' gives an implied usage cue for the verification mode, and 'valid is null otherwise' hints at the decode-only path. However, there is no explicit when-to-use/when-not guidance and no reference to x402-jwt-decode as the alternative for pure decoding.

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