Skip to main content
Glama

swagger-petstore---openapi-3.0.logoutUser

Read-onlyIdempotent

Log out the current user session to invalidate credentials and prevent unauthorized access. Use this action when you need to end an active session.

Instructions

Logs out current logged in user session.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultNoResponse from the tool
Behavior3/5

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

The annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false. The description adds the core behavior (ending a session) without contradicting the annotations. It doesn't add extra context like error conditions or side effects (e.g., token invalidation), but for a parameterless trivial action this is reasonable.

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?

Nine words, one sentence, front-loaded with the verb, zero fluff. Every word earns its place.

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 parameterless, well-annotated (readOnly, idempotent, non-destructive) tool with an output schema, this description is sufficient. It clearly states the tool's function. Could have mentioned session-specific error responses, but that's a minor gap given the output schema is separate.

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?

There are zero parameters and schema coverage is 100%, so per the rubric the baseline is 4. The description doesn't need to explain parameters, and it doesn't.

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 'Logs out current logged in user session' uses a specific verb ('logs out') and resource ('current logged in user session'). It clearly distinguishes itself from sibling tools like loginUser and the other petstore logout variants.

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 context is only implied ('logs out... session') — an agent can infer this is for ending a user session, and the readOnlyHint/idempotentHint annotations suggest it's a safe operation. However, there's no explicit guidance on when to choose this over siblings or what prerequisites (e.g., being logged in) exist, so it's adequate but not exemplary.

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

Install Server

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/mirajmahmudul/agentdevx-sdk'

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