Skip to main content
Glama

logout

End the active Mealie user session by calling the authentication API to sign out and revoke the current user's access.

Instructions

Logout — Users: Authentication. Create logout. [POST /api/auth/logout] Keywords: logout, create logout, add logout, new logout, make logout, write logout, users authentication, auth, create, add, new, make, write, post, mealie.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.11

TDQS

C2.8/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It discloses only the HTTP method and path; it says nothing about whether the token is invalidated, whether other sessions are affected, or whether the call is idempotent — meaningful gaps for a session-destroying operation.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose and endpoint are front-loaded, but roughly three-quarters of the text is redundant keyword padding ('create logout, add logout, new logout...') that adds no information. It is over-verbose rather than efficiently scoped.

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

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a zero-param auth tool the description should at minimum convey the session side effects and any auth requirement, and it does neither. With no annotations and no output schema, the definition leaves the agent guessing about what logout actually does.

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, so there is no parameter semantics to document; the baseline of 4 applies. The description correctly implies no input is needed.

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?

The opening 'Logout' plus the endpoint '[POST /api/auth/logout]' states a specific verb and resource, and among the auth siblings (oauth_login, refresh_token, get_token, update_password) it is clearly distinguishable. The odd 'Create logout' phrasing and keyword stuffing add noise but do not obscure the core purpose.

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?

There is no when-to-use guidance: nothing explains when an agent should log out versus refreshing a token, or what prerequisites (active session, auth header) must hold. The keyword list restates the name rather than giving usage context.

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