Skip to main content
Glama

Sign out

cs_logout

Clear cached MSAL accounts for a tenant to sign out and remove stored authentication sessions.

Instructions

Remove cached MSAL accounts for the tenant.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tenantIdNoEntra tenant id. Defaults to the workspace sync metadata, then CPS_TENANT_ID.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.5

TDQS

B3.1/5.0
Behavior4/5

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

With no annotations, the description carries full burden of behavior. It clearly states the side effect (removing cached MSAL accounts) which implies signing out disconnects the session. It is honest about what it does, though it doesn't mention whether it clears all auth profiles or just the current session.

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, succinct sentence that conveys the essential purpose. Zero fluff and directly to the point.

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

Completeness3/5

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

Given the simplicity (no output schema, one optional parameter), the description is mostly complete. It conveys the effect but omits potential nuances like whether it affects all sessions or only the current one, and whether a subsequent login is required.

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

Parameters2/5

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

Schema coverage is 100% so baseline is 3chers? Actually, the description does not add any information about the tenantId parameter beyond what the schema already provides. The schema already states it defaults to workspace metadata then CPS_TENANT_ID, so the description adds no extra semantics. Thus, a score of 2 is appropriate (lower than baseline because it adds zero value).

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 description states a specific action ('Remove cached MSAL accounts') and a clear scope ('for the tenant'), which is clear and actionable. It distinguishes from siblings like cs_login and cs_login_status, though it could explicitly mention that it signs out the current user.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines1/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance on when to use this tool versus alternatives. It does not mention that it should be used when the user wants to end a session explicitly, nor does it reference any related tools. Without this, an agent may not know if it's needed before auth or after.

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