Skip to main content
Glama
Upload-Post

Upload-Post

Official

Validate platform-integration JWT

validate_jwt
Read-only

Check whether a JWT issued by generate_jwt is still valid and retrieve the associated profile settings, including language and UI labels.

Instructions

Verify a JWT previously issued by generate_jwt. The returned profile object echoes the connection page settings, including language and any ui_labels.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
jwtYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.11.1
    • removedInput schema / $schema
      Removed value: -"http://json-schema.org/draft-07/schema#"
    • removedOutput schema / $schema
      Removed value: -"http://json-schema.org/draft-07/schema#"
  2. First observedv0.4.0

TDQS

A4.2/5.0
Behavior3/5

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

Annotations already cover read-only and non-destructive behavior, so the bar for extra disclosure is lower. The description adds that it returns profile settings including `language` and `ui_labels`, but it does not mention what happens with invalid tokens or any other behavioral constraints, such as rate limits or required conditions.

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 sentences, no redundancy, and the core action is front-loaded. Every clause contributes information, and it resists repeating the title or other fields.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/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 present, the description is largely complete. It covers purpose, usage scope, and key response content. It slightly omits what happens when validation fails for an invalid token, but this is a minor gap relative to the tool's simplicity.

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?

With 0% schema description coverage, the description must do the work, and it does: it says the `jwt` must be one previously issued by `generate_jwt`, and connects it to the returned profile. It clarifies semantic meaning and helps an agent construct a valid call, even though it doesn't describe token format.

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 a specific verb and resource: `verify` a JWT. It further distinguishes itself from the sibling `generate_jwt` by focusing on validation, and mentions the meaningful return (`profile` object), leaving no doubt about what the tool does.

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?

It gives clear contextual guidance by specifying that the JWT must have been previously issued via `generate_jwt`, which tells an agent when this tool applies. It doesn't explicitly describe alternatives or when-not-to-use, but no equivalent validation sibling exists, so this is effective.

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