Skip to main content
Glama
AiAgentKarl

enterprise-auth-mcp-server

validate_jwt

Validate JWT tokens by verifying signature, expiration, and claims. Specify secret, algorithms, audience, or issuer for custom checks.

Instructions

JWT-Token validieren — Signatur, Ablauf und Claims pruefen. secret: HMAC-Secret oder leer fuer keine Signaturpruefung. algorithms: kommagetrennte Liste, z.B. 'HS256,RS256'. audience: erwartete Audience (optional). issuer: erwarteter Issuer (optional).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tokenYes
issuerNo
secretNo
audienceNo
algorithmsNoHS256
Behavior3/5

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

With no annotations, the description must convey behavior. It mentions signature checking, expiration, and claims validation, but does not explain failure behavior (e.g., error vs boolean), idempotency, or side effects.

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 concise with a clear purpose statement followed by parameter explanations. Each sentence adds value, though a more structured format could improve scannability.

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?

Given 5 parameters, no output schema, and no annotations, the description provides core validation behavior and parameter usage. It lacks return format details and error handling, but is sufficient for basic understanding.

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

Parameters4/5

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

Schema coverage is 0%, so the description adds essential meaning: secret can be empty to skip signature check, algorithms is comma-separated, audience and issuer are optional expectations. This compensates well for the schema's lack of descriptions.

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 clearly states the tool validates JWT tokens by checking signature, expiration, and claims. It distinguishes itself from siblings like decode_jwt (decoding only) and oauth_introspect (OAuth-specific).

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 usage for general JWT validation but does not explicitly state when to use it versus alternatives. No when-not-to or prerequisite guidance is provided.

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/AiAgentKarl/enterprise-auth-mcp-server'

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