Skip to main content
Glama
johnmives

@revxl/devtools

by johnmives

jwt

Decode JWTs to inspect header, payload, and expiry, or create new HMAC-signed tokens with chosen algorithm and expiration.

Instructions

Decode a JWT to inspect header/payload/expiry, or create a new HMAC-signed JWT [PRO - 3 free trials]

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tokenNo(decode) The JWT string to decode
actionYesdecode: inspect a JWT | create: generate a new JWT
secretNo(create) HMAC secret for signing
payloadNo(create) Claims object for the JWT payload
algorithmNo(create) Signing algorithm, default HS256
expires_inNo(create) Seconds until expiration

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv1.0.2

TDQS

A3.7/5.0
Behavior3/5

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

No annotations are provided, so the description carries the responsibility for behavioral disclosure. It does state that decoding inspects header/payload/expiry and creation is HMAC-signed, and the '[PRO - 3 free trials]' note hints at entitlement behavior, but it does not explain signature verification behavior, error handling, side effects, or any access restrictions beyond the PRO hint. For a read/decode plus token-generation tool, that is modest but not rich.

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

Conciseness5/5

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

The description is a single compact sentence that front-loads the core actions and resource. It conveys both operations, key inspected elements, and a monetization constraint without redundant wording. Every clause earns its place.

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

Completeness3/5

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

With six parameters, one nested object, two enums, no output schema, and no annotations, the description covers the top-level duality of the tool well but leaves some context implicit, such as what exactly is returned after creation or decode, whether the signature is verified on decode, and how expiration is handled. The schema handles parameter structure competely, but the absence of an output schema and annotations means the description could have provided a little more usage context.

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 description coverage is 100%, and the schema's own descriptions already explain each parameter, including action-specific prefixes like '(decode)' and '(create)'. The tool description adds little beyond the schema: it mentions decoding header/payload/expiry and HMAC signing, but it does not provide additional meaning for token, secret, payload, algorithm, or expires_in beyond what the schema already gives. Baseline 3 is appropriate.

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 uses a specific verb 'Decode' and 'create' with a clear resource, JWT, and clarifies the two distinct actions: inspecting a token or generating one. It also names the inspected components (header, payload, expiry) and the signing method (HMAC), making the tool's purpose unambiguous and differentiating it from the unrelated sibling tools.

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 description implies when to use the tool — when a JWT needs to be decoded or created — but it does not provide explicit when-to-use guidance, exclusions, or alternatives. The action enum in the schema provides useful internal routing, but there is no explicit statement of when this tool should be preferred over others, though the siblings are largely unrelated.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/johnmives/revxl-devtools'

If you have feedback or need assistance with the MCP directory API, please join our Discord server