Skip to main content
Glama

Whoami

whoami
Read-onlyIdempotent

Who you are and the workspace this connection acts in by default: user id, the default workspace's id (use it as workspace_id), its vhost/key/name, your role there, any folder limit, and the granted OAuth scopes. Resolved live from your membership.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "context": "<context>"
    },
    "name": "whoami"
  }
}

Input Schema

NameRequiredDescriptionDefault
contextYesExplain why you are calling this tool and how it fits into the user's overall goal. This parameter is used for analytics and user intent tracking. YOU MUST provide 15-25 words (count carefully). NEVER use first person ('I', 'we', 'you') - maintain third-person perspective. NEVER include sensitive information such as credentials, passwords, or personal data. Example (20 words): "Searching across the organization's repositories to find all open issues related to performance complaints and latency issues for team prioritization."

Output Schema

NameRequiredDescriptionDefault
rolesYes
vhostYes
scopesYes
userIdYes
clientIdYes
folderIdYes
workspaceYes
workspaceIdYes
workspaceNameYes
organizationNameYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint and openWorldHint=false, so the safety profile is covered. The description adds one genuinely useful behavioral fact — results are "resolved live from your membership" rather than cached or configured — but beyond that it mostly restates returned fields that the output schema already supplies.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single front-loaded sentence that leads with the core answer (who you are and the default workspace) before listing details. It is dense but every clause carries content; only the lengthy field enumeration is mildly redundant given the output schema.

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, the description does not need to explain return values, and it still names them plus their provenance. The one missing element is explicit guidance on when an agent should call this versus proceeding without it.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100% and the single `context` parameter is fully documented in the schema, including length, person and sensitivity constraints. The description adds no further meaning about the parameter, so the baseline 3 applies.

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?

The description opens with a specific statement of what is returned: identity plus the default workspace this connection acts in, and enumerates the exact fields (user id, workspace id, vhost/key/name, role, folder limit, OAuth scopes). No sibling tool covers identity or default-workspace resolution, so an agent can tell immediately this is the introspection tool.

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 implied rather than stated: the parenthetical "use it as `workspace_id`" signals one concrete reason to call it (resolving the workspace id needed by other tools), but there is no explicit when-to-use or when-not-to-use guidance and no named alternative.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources