Skip to main content
Glama

mechacut

jwt_decode

JWT header + claims + signature exposed, decoded only - never verified (verified=false is stated). iat/exp/nbf also as ISO. Free.

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

Input Schema

NameRequiredDescriptionDefault
tokenYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations provided, the description carries the full burden, and it discloses the critical behavior: decoding only, never verified, with verified=false stated in the response. It also notes that iat/exp/nbf are returned as ISO timestamps, which goes beyond a bare restatement. It is missing how malformed or unsigned tokens are handled, but the security-critical caveat is front and center.

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 key caveat about no verification is front-loaded, and every clause carries information. The telegram-style fragments are dense but slightly harder to parse, and the trailing 'Free.' is pricing noise that does not help an agent invoke the tool.

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

Completeness4/5

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

For a one-parameter, no-output-schema tool, the description covers what is returned (header, claims, signature, ISO timestamps) and the essential caveat that nothing is verified. The main gap is input format and error behavior for invalid tokens.

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?

There is a single required token parameter with 0% schema description coverage, so the description must compensate. It implies that the input is a JWT string, but it never states the expected format, whether base64url segments are accepted, or what happens with a malformed token. The added meaning is modest.

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?

States a specific verb and resource: decode a JWT into header, claims, and signature, and explicitly says it is decode-only. An agent can tell this apart from eth_abi_decode and text_decode, since those decode other formats. It is slightly cryptic about the output shape, but the core action is unmistakable.

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 the tool is for inspecting JWT contents and warns that it does not verify them, which steers the agent toward a separate verification path. It does not state when to prefer it over another tool or what to do when a token needs verification. The usage context is implied rather than spelled out.

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.