Get one user
wheniwork_get_userFetch one user by id — name, email, role, positions, schedules, wage. When I Work: GET /2/users/{id}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_id | Yes | The user id. |
wheniwork_get_userFetch one user by id — name, email, role, positions, schedules, wage. When I Work: GET /2/users/{id}.
| Name | Required | Description | Default |
|---|---|---|---|
| user_id | Yes | The user id. |
Changes observed during successful MCP inspections.
Input schema / $schemaPrevious value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
The readOnlyHint annotation already establishes this as a safe, non-mutating read, so the description's main added value is the field list (name, email, role, positions, schedules, wage). It does not mention permissions, whether wage data is sensitive/owner-restricted, or error behavior for unknown ids.
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?
Two short sentences with the operation front-loaded and the returned fields immediately after; nothing is padded. The trailing API endpoint reference is informational rather than essential, keeping it just short of a 5.
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 one-parameter read tool with readOnlyHint already declared, the main gap left by the absent output schema is what comes back — and the description enumerates the fields, closing that gap well. Only permission or error-path details are missing.
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?
Schema coverage is 100% with a single self-documenting parameter, so the schema carries the burden. The description adds only 'by id', which is already obvious from the parameter name and description — baseline 3 is appropriate.
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?
States a specific verb and resource (fetch one user by id) and enumerates the fields returned, so the agent knows exactly what it gets back. The word 'one' implicitly contrasts with the sibling wheniwork_list_users, though that sibling is never named.
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?
Usage is implied by the required user_id — you call this when you already have a user id — but the description never states when to prefer it over wheniwork_list_users or wheniwork_list_eligible_users_for_shift, nor any exclusions.
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.