Skip to main content
Glama

B2B, AI RAG, Ad Spy, Finance & UAE Real Estate Suite

JWT Inspector, Regex Match Tester & Base64 Converter

edge_jwt_regex
Read-onlyIdempotent

Decode JWT headers/claims with expiry calculation, run safe regex match extraction, or encode/decode Base64. [Price: $0.002 USDC via x402]

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "edge_jwt_regex"
  }
}

Input Schema

NameRequiredDescriptionDefault
textNo
flagsNog
tokenNo
actionNoregex
patternNo
base64ActionNoencode

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is covered by structured data. The description adds useful context beyond that: JWT decoding includes expiry calculation, the regex mode is described as 'safe' match extraction, and the call costs $0.002 USDC via x402, which is material for an agent deciding whether to invoke it. It still omits what happens on invalid input and what each mode returns.

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?

A single dense sentence covering all three modes, with the pricing note placed after the functional content so it does not bury the purpose. No filler or repetition. It is slightly over-packed, listing three distinct workflows without structure that would help an agent parse the mode boundaries.

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?

This is a multi-mode tool with six undocumented parameters, no output schema, and no default-action explanation. With zero schema coverage, the description should at minimum map parameters to modes and sketch the return shape for each. As written, an agent knows what the tool can do but not how to drive it correctly beyond guessing.

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

Parameters2/5

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

Schema description coverage is 0% across six parameters, so the description carries the full burden and largely fails it. It implies a rough mapping (JWT token, regex pattern, Base64 encode/decode) but never explains 'text' vs 'token', what 'flags' defaults to or accepts, or that 'action' is the mode selector. The two enums are only discoverable from the schema.

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 uses concrete verbs and resources for each of the three modes: decoding JWT headers/claims (with expiry calculation), regex match extraction, and Base64 encode/decode. An agent can tell what the tool does overall. It does not distinguish this tool from any sibling, but the multi-mode purpose is unambiguous.

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 statement of which action to select for which goal, and no prerequisites or exclusions. The three modes are listed but never tied to the 'action' parameter, so the agent must infer that the mode must be chosen explicitly. Nothing indicates when an alternative tool might be preferable.

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.