Skip to main content
Glama

whoami

Display the current user identity, token expiry, OAuth scopes, and authentication source to verify Outlook access and diagnose auth issues.

Instructions

Display current user identity, token expiry, OAuth scopes, and auth source (outlook-cli vs shared teams-cli).

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.7/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and 'Display' does signal a non-mutating read while the listed fields (token expiry, scopes, auth source) usefully reveal what a caller learns about its auth state. It stops short of saying whether the call fails or degrades when unauthenticated, whether the token is refreshed, or how the result is formatted, which matters for a zero-annotation 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?

A single front-loaded sentence with no filler. The verb and resource come first and the returned fields follow, so an agent gets the essential information in the opening clause.

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?

Because there is no output schema, the description is the only place that documents what comes back, and it does so by naming the four fields. For a zero-parameter read tool that is largely sufficient, with only return format and unauthenticated behavior left unspecified.

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 the schema is empty and the baseline of 4 applies. There are no values an agent could misinterpret, and the description correctly implies the call needs no input at all.

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?

A specific verb ('Display') plus a named resource ('current user identity') and an enumeration of exactly what is surfaced: token expiry, OAuth scopes, and auth source. It is clearly distinct from every sibling (none of which touch auth/identity), though it does not explicitly contrast itself with any of them, which keeps it just short of a 5.

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?

The intent is implied rather than stated: an agent can infer this is a diagnostic/verification call, and the '(outlook-cli vs shared teams-cli)' aside hints it is used to disambiguate which auth backend is active. There is no explicit when-to-use, no prerequisites, and no statement of when it is unnecessary.

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