hcm_get_learning_enrollment
Fetch a specific learning enrollment record by its ID, enabling access to enrollment details from Oracle HCM.
Instructions
Get learning enrollment by id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| enrollmentId | Yes |
Fetch a specific learning enrollment record by its ID, enabling access to enrollment details from Oracle HCM.
Get learning enrollment by id.
| Name | Required | Description | Default |
|---|---|---|---|
| enrollmentId | Yes |
Changes observed during successful MCP inspections.
v0.4.0Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
The readOnlyHint annotation already covers the safe read-only nature of the tool, and the description does not contradict it. However, the description adds no behavioral context beyond the verb 'Get'—no mention of not-found behavior, authentication needs, or response characteristics.
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 a single concise sentence with the verb and resource front-loaded. There is no filler or redundant wording, making it highly scannable for an agent.
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 one-parameter getter with a readOnlyHint, the description is minimally adequate. However, with no output schema and no documentation of the enrollmentId format, plus no mention of the sibling search tool for obtaining IDs, an agent is left with some gaps for correct invocation.
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 description coverage is 0%, and the description only says 'by id,' which adds no meaning beyond the parameter name enrollmentId. It does not specify the ID format, where to obtain it, or any constraints, so the description fails to compensate for the missing schema documentation.
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?
Description states a specific verb ('Get'), a specific resource ('learning enrollment'), and the access method ('by id'). It clearly distinguishes itself from sibling hcm_search_learning_enrollments, which is for searching rather than direct retrieval.
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?
The description implies that this tool is used when you already have a learning enrollment ID, but it does not explicitly say when to use this versus hcm_search_learning_enrollments. No exclusions or alternative conditions are provided.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.