Skip to main content
Glama

Validate access token

immich_validate_access_token

Check whether the current Immich access token is still valid before making authenticated requests.

Instructions

Validate access token

Validate the current authorization method is still valid.

Immich operation: POST /auth/validateToken · tag: Authentication

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, openWorldHint=true, idempotentHint=false, and destructiveHint=false, so the safety profile is covered. The description adds that the current authorization method is the subject, but it does not describe authentication requirements, validation outcomes, or any 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 short and front-loaded, and the operation/tag line is useful for API mapping. The first line repeats the title and the second restates the action, so there is minor redundancy.

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?

For an authentication-validation tool with no output schema, the description does not explain what a valid or invalid response looks like, nor does it state any auth prerequisites. Annotations cover safety, but return semantics remain unspecified.

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?

The tool takes zero parameters and the input schema is empty with 100% coverage. There is no parameter information for the description to add, so the baseline 4 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb (validate) and resource (access token), and clarifies that it checks the current authorization method is still valid. It does not distinguish itself from authentication siblings such as immich_validate or immich_get_auth_status, so it falls short of a 5.

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

Usage Guidelines2/5

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

Provides no explicit when-to-use guidance, no alternatives, and no exclusions. The phrase about validating the current authorization method implies a use case but does not tell an agent when to choose this over login, logout, or get_auth_status.

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

Deploy Server

Other Tools