Skip to main content
Glama

Who am I

whoami
Read-onlyIdempotent

Validate the connection and return the workspace (project) this key is bound to, plus the key label and scope.

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
okNo
errorNoPresent only when ok is false.
scopeNo
key_labelNo
project_idNo
project_nameNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/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 a closed-world scope, so safety is covered structurally. The description adds real value beyond that by explaining the tool doubles as a credential/connection validation and that results are scoped by the bound key — an agent can infer it is a cheap, side-effect-free health check.

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 the action verb front-loaded and the returned fields listed after. Nothing is redundant with the title or annotations, and nothing needs trimming.

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 probe with an output schema present, the description covers the one thing structured fields cannot: that the call both validates connectivity and identifies the key's workspace and scope. No return-value documentation is required since the output schema carries it.

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 nothing for the description to disambiguate; the empty schema is self-explanatory. The description correctly avoids inventing inputs and instead spends its words on what the caller receives.

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 pair (validate / return) and enumerates exactly what comes back: the bound workspace (project), the key label, and the scope. No sibling tool performs identity or connection checks, so the boundary is unambiguous.

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?

"Validate the connection" implies a diagnostic/verification use case, but the description never states when to call it (e.g. before a batch of writes, after a key rotation, on auth errors) or when it is unnecessary. With no near-alternative among siblings, there is little to route between, but usage remains inferred rather than stated.

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