Skip to main content
Glama

login

Authenticate with Microsoft 365 services using device code flow to enable AI assistants to manage resources like Excel, Calendar, Mail, and Teams through the Graph API.

Instructions

Authenticate with Microsoft using device code flow

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
forceNoForce a new login even if already logged in
Behavior2/5

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

With no annotations provided, the description carries full burden but only states the authentication method. It doesn't disclose critical behavioral traits like whether this initiates an interactive flow requiring user input, what permissions are requested, how long the session lasts, or error handling. For an authentication tool with zero annotation coverage, this is a significant gap in transparency.

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?

The description is a single, efficient sentence with zero wasted words. It's front-loaded with the core purpose and includes essential technical detail ('device code flow'), making it appropriately sized and well-structured for quick comprehension.

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

Completeness2/5

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

Given this is a critical authentication tool with no annotations and no output schema, the description is incomplete. It doesn't explain what happens after authentication (e.g., session establishment, token storage), error conditions, or prerequisites. For a tool that likely enables access to all other sibling tools, more context is needed for safe and effective use.

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 description adds no parameter information beyond the schema, but schema description coverage is 100% (the single parameter 'force' is fully documented in the schema). With only one parameter and high schema coverage, the baseline is 3, but the description doesn't compensate or add value, so it slightly exceeds baseline due to minimal parameter complexity.

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 clearly states the specific action ('Authenticate') and resource ('with Microsoft'), specifying the exact method ('using device code flow'). It distinguishes from sibling tools like 'verify-login' (which checks status) and 'logout' (which ends session), making the purpose unambiguous.

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

Usage Guidelines4/5

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

The description implies this tool is used for initial authentication, but doesn't explicitly state when to use it versus alternatives like 'verify-login' (for checking status) or 'select-account' (for choosing among authenticated accounts). It provides clear context as an authentication method but lacks explicit exclusions or named alternatives.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Softeria/ms-365-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server