Skip to main content
Glama

See inside a JWT — header, payload, and whether it has expired

jwt_decode
Read-onlyIdempotent

Decodes the header and payload of a JWT and reports issued-at / expiry as readable timestamps plus seconds remaining. The signature is NOT verified and the response says so — decoding is fine for debugging a token you already hold, but never treat these values as proof of anything; verification needs the secret and belongs in your own service.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tokenYesThe JWT string.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already declare readOnlyHint and idempotentHint, and the description adds a critical behavioral caveat: the signature is NOT verified, and the response explicitly says so. This goes beyond the structured annotations and gives essential security context.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two well-structured sentences: the first states the core function, the second provides vital security guidance. Every sentence earns its place, no filler.

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?

For a single-parameter, read-only tool with an output schema and strong annotations, the description fully covers purpose, usage boundaries, and the key caveat about signature verification. There are no meaningful gaps.

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?

The schema already provides 100% coverage with the parameter description 'The JWT string.' The description does not add significantly new semantic detail about the parameter itself, only restating that it is a JWT. Baseline 3 is appropriate.

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 uses a specific verb 'Decodes' and clearly states the resource (JWT header/payload) and scope (reports issued-at/expiry as readable timestamps and seconds remaining). It distinguishes itself from sibling tools, none of which are JWT-specific.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly states when to use: debugging a token you already hold, and when not to: never treat values as proof; verification needs the secret and belongs in your own service. This gives clear context and an alternative path.

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.

TDQS

A3.6/5.0
Disambiguation3/5

Many tools are clearly distinct, but there are several overlapping groups: PDF extraction (extract_invoices, extract_statement, extract_tables, pdf_to_markdown), table comparison (diff_tables vs reconcile_ledger), and model pricing (list_models vs model_costs). Descriptions help clarify boundaries, but an agent could misselect without careful reading.

Naming Consistency3/5

All names use lowercase snake_case, but the verb-noun pattern is inconsistent. Most tools are verb-first (build_app, clean_table, fetch_page), but several are noun-first (jwt_decode, regex_test, web_search), noun-only (ai_visibility, model_costs), bare verbs (recall, remember), or a full phrase (what_can_you_do). This mixed convention is still readable but not predictable.

Tool Count2/5

With 34 tools, this server exceeds the 25-tool threshold for 'too many'. While the breadth covers many utility domains, the count is heavy and some tools could be consolidated or removed. A more focused set would reduce cognitive load and misselection risk.

Completeness3/5

The utility set covers web, PDF, CSV, model, task, and dev tooling well, but there are notable gaps in resource lifecycles. Apps have build/list/get but no update/delete, and memories support remember/recall but no forget. These missing operations could create dead ends for agents.