Skip to main content
Glama

Whoami

whoami

Verify connector authentication and service health before use, confirming access to compose-api and whether an active token is in effect.

Instructions

Who the server is authenticated as (or anonymous), and service health.

Use this first to confirm the connector can reach compose-api and whether a token is in effect.

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

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations, the description carries the burden and does disclose meaningful behavior: the call is a connectivity probe against compose-api, may report an anonymous (unauthenticated) state, and reflects whether a token is in effect. It does not describe side effects, but a zero-parameter identity/health probe has essentially none to disclose.

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?

Two short sentences, front-loaded with the identity/health payload and followed by the preflight instruction. No filler or restated name.

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?

An output schema exists, so return-value detail is correctly omitted, and the description covers both what is checked and why. Only the failure/error mode is unaddressed, which is minor given the schema and zero-parameter simplicity.

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 no parameters (empty schema, additionalProperties false), so there is no parameter meaning to add; the baseline for zero-param tools applies.

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?

The description names two concrete outputs: the authenticated identity (or anonymous) and service health. That is specific enough to distinguish it from every sibling (which deal with simulations, datasets, catalogs), though it never explicitly contrasts itself with them.

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?

'Use this first to confirm the connector can reach compose-api and whether a token is in effect' gives explicit ordering and intent guidance — a diagnostic/preflight check. It stops short of stating what to do when the check fails, but there is no competing auth-check sibling to route away from.

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