Skip to main content
Glama

whoami

Returns the signed-in Microsoft 365 user profile and active auth mode, so you can verify which account and authentication method the OneNote MCP server is currently using.

Instructions

Return the currently signed-in Microsoft 365 user profile and the active auth mode.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden. "Return" implies a read with no side effects, and disclosing that the auth mode is part of the payload is genuinely useful context, but nothing is said about behavior when no user is signed in, whether an error or empty profile results, or whether the call has any auth prerequisites.

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 sentence with no filler, front-loaded on the verb and resource. Every clause earns its place, including the auth-mode detail.

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 zero-parameter tool with no output schema, the description adequately conveys what comes back (profile plus auth mode). The only missing piece is failure behavior for an unauthenticated state, which matters more here than for a typical read since the tool's entire subject is authentication.

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 tool takes zero parameters, so there is no parameter meaning for the description to add; the baseline of 4 applies. The schema is empty and fully consistent with the description.

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?

"Return the currently signed-in Microsoft 365 user profile and the active auth mode" names a specific verb (return) and two concrete resources (user profile, auth mode). It is unambiguous against the sibling set, which is entirely OneNote page/section/notebook operations, so no sibling could be confused with it, though the description itself does no explicit differentiation.

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?

There is no explicit when-to-use or when-not-to-use guidance, but the purpose strongly implies the usage context: verifying which account and auth mode is active before or during a session. An agent can infer the trigger, but the description never states it, nor does it mention prerequisites or failure conditions.

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