Get a user
hdphotohub_get_userGet one user by id or email. Pass uid or email. API: GET /user.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uid | No | User id (from hdphotohub_list_users). | |
| No | User email address. |
hdphotohub_get_userGet one user by id or email. Pass uid or email. API: GET /user.
| Name | Required | Description | Default |
|---|---|---|---|
| uid | No | User id (from hdphotohub_list_users). | |
| No | User email address. |
Changes observed during successful MCP inspections.
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
readOnlyHint=true already tells the agent this is a safe read, so the description needn't restate safety. It adds the backend endpoint (GET /user), but omits notable behavior: both parameters are optional in the schema, yet the description implies one is needed, and it never says what happens if neither or both are supplied.
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?
Three short, front-loaded sentences with the identifier choice stated up front. The trailing 'API: GET /user.' is marginally useful developer context rather than payload, so it's tight but not perfectly waste-free.
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 read with annotation coverage and full schema coverage, this is nearly adequate. The remaining gaps are the edge case of zero or two identifiers supplied and the absence of any hint about the returned user shape, which matters since there is no output schema.
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%, so the baseline is 3. The description does add a small amount of meaning by framing uid and email as an either/or choice, which the schema does not express (no oneOf, no required), but it gives no precedence rule when both are passed.
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 ('Get one user by id or email'), which is clearly distinguishable from hdphotohub_list_users and hdphotohub_upsert_user. It doesn't explicitly name a sibling, but the singular/plural distinction carries the differentiation.
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 only implied: fetch a single user rather than a list. There is no statement of when to prefer this over hdphotohub_list_users, nor any prerequisite or exclusion. 'Pass uid or email' is identifier guidance, not when-to-use guidance.
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.