Skip to main content
Glama

Esci

logout
Idempotent

Chiude la sessione aperta con complete_login / complete_registration.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
session_tokenYessession_token restituito da complete_login o complete_registration

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true, and destructiveHint=false, so the mutation/repeat-safety profile is covered. The description adds the prerequisite context (session comes from login/registration) but says nothing about token invalidation, error behavior, or whether other sessions are affected.

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, front-loaded sentence with zero filler that conveys purpose, prerequisite, and counterpart tools in one line.

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 one-parameter, non-destructive, idempotent logout with full schema coverage and annotations on safety, the description is nearly sufficient. Only post-call behavior (token invalidation, failure modes) is unaddressed, which is minor here.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100% and the single parameter's origin is already documented in the schema as 'restituito da complete_login o complete_registration'. The description adds no extra syntax or format detail, so the baseline of 3 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 states a specific verb ('Chiude') and resource ('la sessione'), and it explicitly ties the session to the sibling tools that create it (complete_login / complete_registration). An agent can distinguish this from other siblings without opening a schema.

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?

It clearly implies when to use the tool: after a session was opened via complete_login or complete_registration. It does not explicitly state when-not or what to do if no session exists, but the context is clear from the login/registration pairing.

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