Skip to main content
Glama

Show my account and workspaces

whoami
Read-onlyIdempotent

Show the Sinatra user this connection acts as and the workspaces they belong to, with their role in each. Workspace-scoped tools take these workspace ids as workspace_id; account and email-preference tools need none. Reads only.

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 observed

TDQS

A4.3/5.0
Behavior3/5

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

The annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is covered. The description adds that it returns the acting user, workspaces, and roles, but 'Reads only' largely repeats the annotations and no additional behavioral details such as auth or rate limits are provided.

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?

The description is two tight sentences, front-loads the core purpose, and then explains how the returned workspace ids are consumed. There is no unnecessary wording beyond the mildly redundant 'Reads only'.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a zero-parameter, read-only identity tool with no output schema, the description supplies the essential return content: acting user, workspaces, and role per workspace. It also clarifies how the workspace ids feed into other tools, which is the main integration detail an agent needs.

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 has zero parameters, so there are no input semantics to explain. The description appropriately focuses on the returned workspace ids and how other tools use them rather than inventing parameter details.

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 uses a specific verb and resource: it shows the Sinatra user this connection acts as, the workspaces they belong to, and their role in each. This is concrete enough for an agent to distinguish it from account, email-preference, and workspace-scoped tools.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It explains that workspace-scoped tools consume the returned workspace ids as workspace_id, while account and email-preference tools need none. That gives clear downstream usage context, though it does not explicitly state when not to call whoami or name a direct 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