Skip to main content
Glama

teams_logout

Destructive

Removes a signed-in Microsoft Teams account and its stored tokens from this machine, letting you sign out a specific account alias or the default account.

Instructions

Remove a signed-in account and its stored tokens from this machine.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "alias": "<alias>"
    },
    "name": "teams_logout"
  }
}

Input Schema

NameRequiredDescriptionDefault
aliasYes
accountNoAccount alias (see teams_accounts). Defaults to the default account.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true and openWorldHint=true, so the safety profile is structured. The description does add value beyond that by disclosing exactly what is destroyed (the account plus its stored tokens) and that the effect is local to this machine. It still omits whether the user must re-authenticate afterwards, whether it fails if the alias is unknown, and what is returned.

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

Conciseness4/5

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

A single well-formed sentence with no filler; the object of removal and the scope are front-loaded. It is efficient, though a short clause about the required alias would have been worth the extra words.

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 simple two-parameter destructive tool with no output schema, the description covers what happens and what gets destroyed, which is the core need. The remaining gap is the undocumented required 'alias' and the absence of any post-call state (signed out, tokens cleared, re-auth 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 description coverage is only 50% and the description supplies no parameter meaning at all. The required 'alias' parameter is undocumented in both schema and description, and only 'account' carries a schema description pointing at teams_accounts. For a destructive tool keyed on an undocumented required identifier, the description should compensate and does not.

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 pairs a specific verb ('Remove') with a specific resource ('a signed-in account and its stored tokens') and scopes it to 'this machine', so the agent knows this is a local sign-out, not a server-side account deletion. It does not name a sibling such as teams_accounts, but the action is unambiguous on its own.

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 is implied rather than stated: the agent can infer this is for signing out / clearing credentials, and 'from this machine' hints at local-scope removal. There is no explicit when-to-use guidance, no mention of using teams_accounts first to resolve the alias, and no stated alternative for remote account removal.

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