Skip to main content
Glama

whoami

Returns the authenticated Notion user or bot and active workspace metadata, helping you verify identity and workspace context before running page, block, or database operations.

Instructions

Return the currently authenticated Notion user/bot and active workspace metadata.

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?

No annotations are supplied, but the word 'Return' plus a zero-parameter input schema makes the read-only nature evident. The description does not state whether the call requires authentication to succeed, how it behaves for bot vs. user tokens, or what error surfaces without a valid token — small gaps for a trivial introspection tool but still gaps the description had the burden to close.

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, with the identity return front-loaded ahead of the workspace metadata. Nothing is redundant and nothing needs trimming.

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 read tool with no output schema, the description conveys the two things returned (identity and workspace metadata) well enough to call it correctly. It could go slightly further by naming the concrete fields an agent can expect, since no output schema documents the return shape.

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, which is the baseline-4 case; there is nothing for the description to disambiguate. The phrase 'active workspace metadata' also usefully hints that the response is scoped to the token's active workspace rather than all workspaces.

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?

Names a specific verb ('Return') and a precise resource ('currently authenticated Notion user/bot and active workspace metadata'). An agent instantly knows this is an identity/workspace introspection call, and the 'currently authenticated' qualifier implicitly separates it from sibling tools like list_users and list_workspaces. It stops short of explicitly naming those siblings as alternatives.

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 that needs to know which identity or workspace the credentials belong to would reach for this. There is no explicit when-to-use statement, no exclusion such as 'do not use this to enumerate other users — use list_users', and no mention of preconditions like having a valid token.

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