Skip to main content
Glama

Jwt Inspect

jwt_inspect
Read-only

Decode JWTs offline to report algorithm, claims, and timestamps, ensuring no network requests or active exploitation.

Instructions

Decode a JWT and report its algorithm, claims, and timestamps.

Fully offline: not one request leaves this machine, which is why it is passive and costs zero requests. target is the in-scope asset the token came from — it exists so the call is still scope-checked and the finding has an owner, not because jwt_tool contacts it.

Every jwt_tool mode that forges a token (-T/-I/-S/-X), cracks a key (-C), or replays one at a live host (-t/-M) is denied by the argument policy. Proving a JWT flaw is an exploit-phase action with its own approval gate, not something this tool can be talked into.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tokenYes
targetYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

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

  1. First observedv2.1.0

TDQS

A4.7/5.0
Behavior5/5

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

Beyond the readOnlyHint annotation, the description explains the tool is fully offline, makes zero network requests, and that the target parameter exists only for scoping and ownership, not for contact. It also discloses that the argument policy denies certain modes, providing additional behavioral detail that an agent would not infer from annotations alone.

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?

The description is front-loaded with the main purpose and then provides safety and scoping details. It is slightly verbose due to the repetition of 'not because jwt_tool contacts it' and the extensive denial list, but the structure is logical and the content is relevant, so it does not feel bloated.

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?

Given the simple schema (two strings, no nested objects) and the presence of an output schema, the description covers the necessary context: what the tool does, its safety bounds, the role of each parameter, and its place in the workflow. An agent has enough information to decide when and how to invoke it correctly.

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

Parameters5/5

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

The schema has no descriptions, but the description explicitly explains the purpose of 'target' (the in-scope asset the token came from, used for scope checking and finding ownership) and clarifies that it is not contacted. The 'token' parameter is self-evident from the tool's purpose of decoding a JWT, so both parameters are well covered.

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 clear verb and resource: 'Decode a JWT and report its algorithm, claims, and timestamps.' It also distinguishes this tool from exploit-oriented actions by explicitly stating it does not forge, crack, or replay tokens, which differentiates it from sibling tools in the same domain.

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?

The description provides implicit when-to-use guidance by focusing on decoding and inspection, and explicitly covers when-not-to-use by listing denied modes (forging, cracking, replaying) and stating that proving a JWT flaw is an exploit-phase action. It does not name specific alternative tools, but the boundaries are clear enough for an agent to decide.

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

Install Server

Other Tools

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/iamsecure1920/Cordon-AI'

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