Get specific user by id
retrieveUserGet specific user by id - Get attributes for a specific user.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| userId | Yes | ||
| x-trace-id | No | ||
| x-request-id | Yes |
retrieveUserGet specific user by id - Get attributes for a specific user.
| Name | Required | Description | Default |
|---|---|---|---|
| userId | Yes | ||
| x-trace-id | No | ||
| x-request-id | Yes |
Changes observed during successful MCP inspections.
Input schema / properties / x-hapi-auth-stateRemoved value: -{
- "type": "string"
-}Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint=true and destructiveHint=false, so the safety profile is known. However, the description adds no behavioral context beyond restating the tool's purpose, such as response format, error behavior, or authentication needs. With no extra context, it provides minimal value beyond annotations.
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?
The description is very short and front-loaded, but the second clause 'Get attributes for a specific user' is essentially a restatement of the first clause, adding redundancy. It is not wasteful, but not as tight as it could be.
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 simple get-by-id tool, the description covers the basic scope (specific user by id). However, there is no output schema and no mention of return values, error conditions, or unique distinctions from sibling tools. It is minimally sufficient but lacks enriching context.
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 schema has 3 parameters with 0% description coverage, so the description should compensate. It only mentions 'by id', which maps to userId, but does not explain x-request-id or x-trace-id. The description adds no meaningful semantic context beyond what the parameter names already imply.
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 'Get specific user by id' clearly states a specific verb (get) and resource (specific user) with scope (by id), distinguishing it from sibling tools like retrieveUserList or retrieveUserClient. The additional phrase 'Get attributes for a specific user' reinforces the purpose without ambiguity.
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?
No guidance is provided about when to use this tool versus alternatives such as retrieveUserList or retrieveUserClient. There are no explicit exclusions or context clues to help an agent select this tool appropriately.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.