Skip to main content
Glama

clm_whoami

Read-onlyIdempotent

Verify CLM authentication and retrieve the current user's identity, site, and roles. Use this first to confirm access and obtain the default site_id needed by other tools.

Instructions

Return the identity, site, and roles of the authenticated CLM user.

Call this first: it confirms authentication is actually working (triggering a token refresh if needed) and its site_id is the default most other tools use for their site_id parameter.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
emailYes
rolesYes
site_idYes
user_idYes
site_nameYes
tenant_idYes
display_nameYes
token_expires_atYes

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv0.1.0

TDQS

A4.9/5.0
Behavior5/5

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

Annotations already mark the tool read-only and idempotent, and the description adds meaningful extra behavior: it may trigger a token refresh and serves as an authentication check. It also reveals that the returned site_id is the implicit default for sibling tools, which is valuable runtime context.

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 sentences with no filler. The primary purpose is front-loaded, and the usage guidance is compact but informative. Every sentence earns its place.

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 tool with annotations covering safety and an output schema present, the description covers purpose, invocation ordering, authentication behavior, and the cross-tool significance of site_id. Nothing essential is missing.

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 the input schema is empty and the description does not need to explain parameter meanings. The baseline of 4 applies because there is nothing to document beyond the schema.

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, 'Return', and names the exact resource: the identity, site, and roles of the authenticated CLM user. This clearly differentiates it from the many shipment, incident, and equipment sibling tools.

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

Usage Guidelines5/5

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

The description explicitly instructs to 'Call this first' and explains why: it confirms authentication, may trigger a token refresh, and provides the site_id that other tools rely on. This gives clear when-to-use guidance and practical context for ordering calls.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/sabadia/clm-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server