Skip to main content
Glama

Who am I connected as

whoami
Read-onlyIdempotent

The connected account: name, role, plan, service company and the exact permissions this connection was granted. Call this if you are unsure what you are allowed to do.

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
nameNo
noteNoWhy the result was truncated, when it was.
planNo
roleNo
emailNo
phoneNo
can_writeNo
truncatedNoPresent and true when the result was too large to return in full. Treat it as a partial answer.
works_forNo
environmentNo
plan_statusNo
member_sinceNo
granted_scopesNo
service_companyNo
total_availableNoHow many rows existed before truncation.
permissions_refused_for_this_account_typeNo
permissions_available_to_this_account_typeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is fully covered by structured data. The description adds only that the response includes granted permissions and that it answers 'what am I allowed to do' — a modest but real addition about how to use the result, not about the call's behavior. It does not mention cost, caching, or that the call is side-effect free, but the annotations make those redundant.

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 sentences, no filler. The returned fields are front-loaded, followed immediately by the call condition, so an agent scanning the first clause already knows whether this tool is relevant.

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 zero parameters, rich annotations, and a separate output schema explaining the return shape, the description only needs to convey purpose and trigger — both are present. It could go one step further by noting this is the correct first step before attempting permission-gated mutations, but nothing an agent needs to invoke it correctly 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 takes no parameters, so there is nothing for the description to disambiguate and the baseline of 4 applies. Schema coverage is 100% with an empty properties object, leaving no semantic gap.

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 the exact resource returned (the connected account) and enumerates the fields: name, role, plan, service company, and granted permissions. It is a noun phrase rather than an explicit verb+resource statement, but the intent is unambiguous and clearly distinct from siblings like who_is_on_call or who_owns, which query other subjects.

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?

'Call this if you are unsure what you are allowed to do' gives a concrete trigger condition tied to permission uncertainty, which is the primary reason an agent would reach for this tool. It does not name when-not-to-call or point to an alternative, but for a zero-arg identity probe no plausible alternative exists among the listed siblings.

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