Skip to main content
Glama

token_config_check

Inspect a JWT or JSON auth config for dangerous settings like alg none, disabled signature checks, missing expiry, and short secrets. Read-only analysis; nothing is sent or verified.

Instructions

Inspect one JSON Web Token or one JSON auth configuration you supply and report dangerous settings: alg none accepted, signature checks off, no expiry, very long lifetimes, short signing secrets. Inspection only. Nothing is verified against any service and nothing is sent anywhere.

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_or_config": "<token_or_config>"
    },
    "name": "token_config_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
token_or_configYesOne JWT, or one JSON configuration object as text.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior3/5

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

With no annotations at all, the description carries the full behavioral burden and does a good job on the safety profile: inspection only, no network egress, no verification against services. It stops short of describing the shape of the report (findings list, severity, ordering) or what happens for malformed input, which matters for a tool whose whole output is a report.

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?

Three short sentences, front-loaded with the action and the list of detected risks, then the scope limits. Every sentence carries information; only minor trimming of the 'inspection only'/'nothing is sent' overlap is possible.

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?

No output schema and no annotations, so the description should ideally say what the report looks like. It fully covers inputs, detection targets, and side-effect behavior for a simple one-parameter tool but leaves the return value undefined.

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 coverage is 100% with a single required parameter whose description already states 'One JWT, or one JSON configuration object as text.' The description's phrasing largely restates that, adding only the emphasis that exactly one item is accepted. Baseline 3 applies.

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?

Names a specific verb (inspect) and resource (one JWT or one JSON auth config) and enumerates the exact findings it reports: alg none, signature checks off, no expiry, long lifetimes, short secrets. The 'one ... you supply' scoping also separates it from repo- or endpoint-scanning siblings like secret_scan or api_surface_check.

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

Usage Guidelines4/5

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

Establishes a clear boundary for use: static inspection only, nothing verified against a service, nothing transmitted. That tells the agent when not to expect live validation, but it never explicitly names an alternative for live verification or bulk scanning, so routing between siblings is left to inference.

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