Skip to main content
Glama

Check a single sign-on token

check_sso_token
Read-onlyIdempotent

Check a token the project's code signed, exactly as Live Chat's login would, without signing anyone in or using up its jti. Returns ok, the decoded claims, what a real sign-in would do (sign in, link or create an agent) and every problem found.

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": "<token>"
    },
    "name": "check_sso_token"
  }
}

Input Schema

NameRequiredDescriptionDefault
tokenYesThe JWT (or the whole login URL with ?jwt=).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive), so the bar is lower, yet the description still adds genuinely useful behavior: no sign-in is performed and the jti is not consumed. It also sketches the response shape (ok, decoded claims, intended sign-in action, problems found). Slight gap: it doesn't say what conditions produce ok=false versus an error.

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?

A single sentence that front-loads the action and the key non-obvious guarantee (no sign-in, no jti consumption) before the return summary. 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?

No output schema exists, so the description carries the return-value burden — and it does, enumerating ok, claims, the simulated sign-in outcome, and collected problems. For a one-parameter read-only check, nothing needed to call it correctly is missing.

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 100% and the schema already states the token may be a JWT or a login URL with ?jwt=. The description adds meaning above that by constraining acceptable tokens to those signed by the project's code, which the schema does not convey.

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?

Uses a specific verb ('Check') on a specific resource ('a token'), and narrows scope to tokens 'the project's code signed' — a non-obvious constraint that tells the agent which inputs are valid. It also implicitly separates this from config-oriented siblings like get_sso_setup or get_sso_snippet.

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?

Usage is implied by the phrase 'exactly as Live Chat's login would, without signing anyone in,' which suggests a dry-run before real sign-in. However, no explicit when-to-use rule, no exclusion of alternatives, and no mention of when test_channel or get_sso_setup would be the better call.

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.

Resources