Skip to main content
Glama

teams_login_status

Read-only

Check whether a Microsoft Teams device-code sign-in has completed and optionally wait up to ~100 seconds for the user to finish authentication.

Instructions

Check (and optionally wait for) a device-code sign-in started with teams_login.

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_login_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
waitNoWait up to ~100s for the user to finish signing in.
accountNoAccount alias (see teams_accounts). Defaults to the default account.
login_idNologinId from teams_login (default: the latest).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/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 that the call relates to an in-flight device-code sign-in and that it can block, which is useful context, but it does not say what states can come back (pending, complete, expired) or what happens if no login was ever started — notable gaps given there is no output schema.

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 tight sentence with no filler, and the key qualifier ('optionally wait for') is placed where it is read first. Nothing redundant is included.

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?

For a zero-required-parameter read-only status check with full schema coverage this is nearly sufficient, but with no output schema the agent has no idea what the response looks like or how to interpret a non-terminal result. One sentence on return states would make it complete.

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%, so all three parameters (wait, account, login_id) are already documented in the schema, and the description's 'optionally wait' merely echoes the wait parameter. With the schema doing the heavy lifting, baseline 3 is appropriate; the description adds no extra semantics such as default resolution order or timeout interaction.

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 gives a specific verb ('Check') plus the resource ('a device-code sign-in') and explicitly names teams_login as the tool that starts the flow, so an agent can distinguish this polling tool from the initiating login tool. It is clear and precise, though it is a single short clause rather than a full statement of scope.

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: 'started with teams_login' tells the agent this is a follow-up call, and 'optionally wait for' hints at the blocking variant. There is no explicit when-to-use vs when-not guidance (e.g., poll repeatedly vs. call once with wait=true), leaving the caller to infer the polling strategy.

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