Skip to main content
Glama
BiteFoundry SharePoint MCP Server

BiteFoundry SharePoint MCP Server

whoami

Displays your current Microsoft 365 identity, persona, and OAuth scope diagnostics so you can verify permissions and troubleshoot access issues before calling SharePoint or OneDrive tools.

Instructions

Show current Microsoft 365 user identity, persona, and OAuth scope diagnostics

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

A4/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; it does disclose the categories of data returned (identity, persona, OAuth scope diagnostics), which implies a read-only, no-side-effect call. It does not state that it performs a live token/network check, whether the result reflects cached credentials, or anything about failure modes when the token is expired.

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 the object of the verb front-loaded and no filler. Every phrase (identity, persona, scope diagnostics) carries distinct informational weight.

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?

No output schema and no annotations exist, so the description must convey both purpose and return content, which it does at a high level by enumerating the three diagnostic areas. For a zero-parameter diagnostic call that is close to sufficient, though a hint about the shape of the returned scope/permission data would close the remaining gap.

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 for a param-free tool applies. Nothing in the description misrepresents the empty input surface.

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?

States a specific verb ("Show") plus a precisely named resource: the current Microsoft 365 user identity, persona, and OAuth scope diagnostics. That combo is clearly distinct from every sibling, which are all file/drive/list operations, so an agent can select it without opening the schema.

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 for 'who am I authenticated as / what scopes do I have', and with zero parameters there is little to get wrong. There is no explicit statement of when to call it (e.g., before permission-sensitive operations) or when not to, and no named alternatives.

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