Skip to main content
Glama

teams_accounts

Read-only

Lists signed-in Microsoft Teams personal and work accounts and identifies the default account to use.

Instructions

List signed-in Teams accounts (personal and work) and which one is the default.

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": "teams_accounts"
  }
}

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered. The description adds useful content detail beyond that, namely that both personal and work accounts appear in the result and that the default account is flagged. It does not mention ordering, whether signed-out accounts appear, or what happens when no accounts are signed in, which is the remaining behavioral gap for a listing tool.

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?

One sentence, front-loaded with the verb and resource, with the scope qualifier (personal and work) and the default-account detail packed in without waste. Nothing is redundant or padded.

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?

This is a simple, parameter-light read tool with annotations covering safety, so the description's main remaining burden is saying what comes back, which it does at a summary level (accounts plus which is default). A little more on result shape or account-count behavior would make it fully self-sufficient, but an agent has enough to call it correctly.

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% for the single optional `account` parameter, so the schema carries the semantics and a baseline of 3 applies. The description adds no meaning about the parameter at all, and the schema's pointer back to this same tool is circular rather than explanatory. No value is added or lost here.

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?

Specific verb plus resource: lists signed-in Teams accounts, notes both personal and work types, and states that it reports which is the default. That is far more than a restatement of the name. It does not explicitly contrast with any sibling, but among the visible siblings none is a competing account-listing tool, so the risk of misselection is low.

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 only implied: an agent can infer this is the tool to call to discover the default account before passing an `account` alias to other tools, but the description never says so. There is no explicit when-to-use, no prerequisites, and no named alternative. The circular note in the schema ('Account alias (see teams_accounts)') reinforces the tool's role without the description spelling it out.

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