Skip to main content
Glama

nexus_oauth_logout

Idempotent

Log out by deleting stored OAuth tokens and reverting to API key authentication. Removes the local token file; for full revocation, also remove the app from authorized applications.

Instructions

Delete stored OAuth tokens and fall back to NEXUS_API_KEY authentication.

Removes the local token file. To fully revoke access, also remove the application at https://users.nexusmods.com/oauth/authorized_applications.

Returns: JSON {logged_out: true}.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Install Server

TDQS

A4.5/5.0
Behavior4/5

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

The description goes beyond annotations by disclosing that the local token file is removed, that the system falls back to NEXUS_API_KEY, and that full revocation requires separately removing the authorized application at an external URL. The idempotentHint and destructiveHint annotations are not contradicted; this is a safe, idempotent logout.

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?

Three short sentences front-load the primary effect (delete tokens, fallback), then clarify the local side effect and the external revocation caveat. Every sentence earns its place with 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 no-parameter tool with an output schema and annotations already covering idempotency, the description is fully complete. It covers side effects, fallback authentication, external revocation, and return value, so an agent has everything needed to invoke it correctly.

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 has zero parameters and the schema has 100% coverage (an empty properties object), so the baseline is 4. The description correctly implies no arguments are needed and adds no parameter details, which 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 clearly states the tool deletes stored OAuth tokens and falls back to NEXUS_API_KEY authentication. This is a specific verb+resource and distinguishes it from sibling OAuth tools like nexus_oauth_login, nexus_oauth_refresh, and nexus_oauth_status.

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?

The context is clear: this is the logout action, as opposed to login, refresh, or status checks among the OAuth siblings. However, it does not explicitly list when-not-to-use conditions or directly name alternatives, so it falls short of the full 5.

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

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Talya1412/nexus-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server