Skip to main content
Glama

Who am I

whoami
Read-onlyIdempotent

Retrieve the authenticated user and their associated organizations to identify the current Omnara account and available org access.

Instructions

Get the authenticated user and their organizations

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

Output Schema

NameRequiredDescriptionDefault
orgsYes
userYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.1.10
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$defs": {
      +    "CurrentUserIdentity": {
      +      "properties": {
      +        "display_name": {
      +          "type": "string"
      +        },
      +        "email": {
      +          "description": "The user's primary verified email, or an empty string if none.",
      +          "type": "string"
      +        },
      +        "id": {
      +          "$ref": "#/$defs/UserID"
      +        }
      +      },
      +      "required": [
      +        "id",
      +        "email",
      +        "display_name"
      +      ],
      +      "type": "object"
      +    },
      +    "CurrentUserOrg": {
      +      "properties": {
      +        "created_at": {
      +          "allOf": [
      +            {
      +              "$ref": "#/$defs/Timestamp"
      +            }
      +          ],
      +          "description": "Organization creation timestamp, not the membership join timestamp."
      +        },
      +        "id": {
      +          "$ref": "#/$defs/OrganizationID"
      +        },
      +        "name": {
      +          "$ref": "#/$defs/ResourceName"
      +        },
      +        "role": {
      +          "description": "The authenticated user's role in this organization.",
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "id",
      +        "name",
      +        "role",
      +        "created_at"
      +      ],
      +      "type": "object"
      +    },
      +    "OrganizationID": {
      +      "pattern": "^org_[a-z2-7]{26}$",
      +      "type": "string"
      +    },
      +    "ResourceName": {
      +      "description": "Human-readable name. Spaces and punctuation are allowed; leading or trailing whitespace and invisible or control characters are not.",
      +      "maxLength": 64,
      +      "minLength": 1,
      +      "type": "string"
      +    },
      +    "Timestamp": {
      +      "format": "date-time",
      +      "type": "string"
      +    },
      +    "UserID": {
      +      "pattern": "^usr_[a-z2-7]{26}$",
      +      "type": "string"
      +    }
      +  },
      +  "properties": {
      +    "orgs": {
      +      "items": {
      +        "$ref": "#/$defs/CurrentUserOrg"
      +      },
      +      "type": "array"
      +    },
      +    "user": {
      +      "$ref": "#/$defs/CurrentUserIdentity"
      +    }
      +  },
      +  "required": [
      +    "user",
      +    "orgs"
      +  ],
      +  "type": "object"
      +}
  2. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds the useful behavioral fact that the call is scoped to 'the authenticated user' — i.e., it operates on the caller's own credentials and returns their org memberships rather than arbitrary users — which is context not present in the annotations.

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, no restatement of the title, and no redundant annotation echo. Nothing could be removed without losing information.

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?

With an output schema present and no parameters, the description only needs to frame what the tool returns and in what context it applies, which it does. A slightly richer note on what the organization list represents would make it fully complete, but an agent has everything needed to call it correctly.

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 baseline is 4. The description correctly requires no input explanation and does not clutter itself with parameter details that do not exist.

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?

States a concrete verb ('Get') and specific resources ('the authenticated user and their organizations'), so the agent knows exactly what comes back. No sibling tool shares this purpose, so differentiation is not required, but the sentence stops just short of 5-level specificity (e.g., whether 'organizations' is the full membership list or only active ones).

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 identity/context check, but the description never says when to reach for it (e.g., before acting on behalf of a user or to resolve the caller's org IDs). Since no sibling overlaps, the absence of named alternatives is not a real gap, but the when-to-use statement is missing.

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