doc_item
Get documentation for a module or function
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Package name on hex.pm | |
| module | Yes | Module name (e.g. "Plug.Conn") | |
| version | No | Package version (defaults to latest) |
Get documentation for a module or function
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Package name on hex.pm | |
| module | Yes | Module name (e.g. "Plug.Conn") | |
| version | No | Package version (defaults to latest) |
Changes observed during successful MCP inspections.
Input schema / requiredPrevious value: -[
- "module",
- "name"
-]New value: +[
+ "name",
+ "module"
+]Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full behavioral disclosure burden. 'Get' implies a read operation, but there is no information about permissions, rate limits, data source, or return behavior, and no output schema exists to supplement it.
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 front-loaded sentence with no wasted words. It is concise but arguably too terse given the tool's context among many siblings.
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?
With no output schema and no annotations, the description should do more to explain return format, source, and routing versus alternatives. For a documentation lookup tool with many sibling options, one sentence is insufficient.
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 100%, so the schema already documents all three parameters with examples. The description adds no additional semantic detail beyond restating that documentation is fetched for a module or function.
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 clear verb and resource: get documentation for a module or function. It does not distinguish this tool from siblings such as docs or search_docs, and the 'or function' wording is not supported by a function parameter in the schema.
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 guidance on when to use this tool versus alternatives like docs, readme, info, or search_docs. The usage context is only implied by the tool name and description.
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.