Skip to main content
Glama
HexStrike AI MCP Agents

HexStrike AI MCP Agents

by liusc45

jwt_analyzer

Analyze JWT tokens to identify vulnerabilities, assess attack vectors, and test token manipulation against a target URL.

Instructions

Advanced JWT token analysis and vulnerability testing.

Args: jwt_token: JWT token to analyze target_url: Optional target URL for testing token manipulation

Returns: JWT analysis results with vulnerability assessment and attack vectors

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": {
      "jwt_token": "<jwt_token>"
    },
    "name": "jwt_analyzer"
  }
}

Input Schema

NameRequiredDescriptionDefault
jwt_tokenYes
target_urlNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv6.1.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden. It says results include a vulnerability assessment and attack vectors, but never discloses whether the tool sends traffic to target_url, whether that constitutes active offensive testing against a live system, what permissions or authorization it expects, or whether the token is stored or logged — significant omissions for a security-testing tool.

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 short and front-loaded with purpose, then structured into Args and Returns sections that are easy to scan. Its only inefficiency is that the Returns block duplicates what the output schema already conveys.

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?

An output schema exists, so return values need not be spelled out, and both parameters are named. What is missing is the operational context: that target_url drives active testing, and any safety or authorization expectations, which matters given the absence of annotations on a security-testing tool.

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 0%, so the description must compensate, and it does partially by distinguishing jwt_token (the token to analyze) from target_url (used for testing token manipulation). However it does not specify expected token format (raw versus Bearer-prefixed), nor what manipulations are attempted or what form target_url must take, leaving real ambiguity.

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: JWT token analysis plus vulnerability testing, which clearly separates it from generic scanners in the sibling list such as api_schema_analyzer or arjun_scan. It stops short of explicitly naming which sibling to use instead when the task is signature verification versus attack simulation.

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, no prerequisites, and no exclusion criteria. The only hint is the optional target_url, which implies an active testing mode, but the agent must infer that without any statement of when that mode is appropriate or safe.

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

Deploy Server

Other Tools