Skip to main content
Glama

Log out

logout
Idempotent

Closes the Foundry session immediately instead of waiting for the idle timeout, signing out the Assistant GM user when work is complete.

Instructions

Closes the Foundry session now instead of waiting for the idle timeout.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "logout"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare openWorldHint=false and idempotentHint=true, so the safety profile is largely covered, and the description usefully adds that this is an immediate rather than deferred termination. It stops short of disclosing consequences: whether unsaved state or cached context is discarded, or whether the session becomes unusable to other tools.

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 no filler; the key contrast (now vs. idle timeout) appears in the first clause. Nothing could be removed without losing meaning.

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 zero-parameter, non-destructive teardown tool with no output schema, the description covers what it does and how it differs from passive expiry. Minor gaps remain around post-logout state, but they are not blocking for correct invocation.

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 meaning to convey and the baseline of 4 applies. The description correctly implies there is nothing to specify — no session identifier or force flag.

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 pairs a specific verb ("closes") with a specific resource ("the Foundry session") and states the effect precisely: the session ends now rather than at idle timeout. No sibling tool overlaps with session termination, so an agent can identify this as the teardown operation without ambiguity.

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?

"Now instead of waiting for the idle timeout" gives an implied trigger — call it when you want to end the session deliberately rather than let it lapse. However, it never states when not to call it, what happens to in-flight work, or what the caller should do afterward (e.g. whether re-authentication is required).

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