janus_whoami
Identify the active account for the current session and explain how that identity was resolved.
Instructions
Return the active account for this session and how it was resolved.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Identify the active account for the current session and explain how that identity was resolved.
Return the active account for this session and how it was resolved.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Changes observed during successful MCP inspections.
v0.6.2Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint=true, so safety is covered. The description adds real value by signaling that resolution provenance is returned ('how it was resolved'), but it does not explain the odd non-idempotent hint or the shape of the resolution detail.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
A single tight sentence with the subject front-loaded and no wasted words. Appropriate size for a no-arg query tool.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a zero-param read tool with annotations covering safety, this is nearly adequate, but with no output schema the description should hint at the returned fields (account identity, resolution source) to fully prepare the agent.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
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; baseline 4 applies.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states a specific verb ('Return') and resource ('the active account for this session'), plus the extra dimension of 'how it was resolved'. This is clearly distinct from siblings like janus_login or janus_use_account, though it never explicitly names or contrasts with them.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
There is no statement of when to call this versus janus_list_accounts or the other session tools. The phrase 'for this session' implies a diagnostic/context-check use case, but the agent must infer that entirely.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.