Skip to main content
Glama
Replaced by its MCP Registry listing

This endpoint is listed in the official MCP Registry as minia2a — hosted x402 API marketplace (HTTP). If you published it, claim ownership there.

x402-jwt-decode

JWT Decode: Decode a JWT token — header, payload, and expiry.

Input Schema

NameRequiredDescriptionDefault
jwtNo
inputNo
tokenNo
secretNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / allOf
      Added value: +[
      +  {
      +    "anyOf": [
      +      {
      +        "required": [
      +          "input"
      +        ]
      +      },
      +      {
      +        "required": [
      +          "jwt"
      +        ]
      +      }
      +    ]
      +  }
      +]
  2. 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"
  3. First observed

TDQS

C2.4/5.0
Behavior2/5

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

No annotations exist, so the description carries the full behavioral burden, yet it says nothing about whether the signature is checked, what a 'secret' parameter does in a decode operation, how expiry is reported (raw claim vs computed status), or how invalid tokens are handled. The phrase 'and expiry' is the only behavioral hint, and it is ambiguous.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is short and front-loaded, but the 'JWT Decode:' prefix merely restates the tool name and consumes half the text. The remaining clause is efficient but too thin to be genuinely well-structured documentation.

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 four-parameter tool with zero schema coverage, no annotations, and no output schema, the description is far too sparse. It should at minimum clarify which token parameter to supply and what 'secret' does; instead it documents only the return shape in vague terms.

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

Parameters1/5

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

Schema description coverage is 0% and the description explains no parameters at all. It leaves the agent unable to distinguish the three near-synonymous token inputs (input, jwt, token) or to know why 'secret' is needed for a decode call, which is the most consequential ambiguity in this definition.

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 names a specific verb (decode) and resource (JWT token) and even lists what it returns (header, payload, expiry). It does not explicitly separate itself from the sibling x402-jwt-verify, so an agent must infer the decode-vs-verify distinction from the verb alone.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use guidance: nothing says to pick this over x402-jwt-verify, nothing states that decoding does not validate a signature, and nothing explains conditions like expired or malformed tokens. Usage is only implied by the word 'decode'.

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