Skip to main content
Glama

view-hmr-core-sources

view-hmr-core-sources
Read-only

The full source code (core only) of the HMR library.

Always call learn-hmr-concepts to learn the core concepts before calling this tool. These files are the full source code of the HMR library, which would be very helpful because good code are self-documented. For a brief and concise explanation, please refer to the hmr-docs://about MCP resource. Make sure you've read it before calling this tool. To learn how to use HMR for reactive programming, read the unit tests later. The response is identical to the MCP resource with the same name. Only use it once and prefer this tool to that resource if you can choose.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

TDQS

A3.9/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Given the readOnlyHint annotation, the bar is lower, but the description adds useful operational context: the response is identical to the MCP resource, the tool should be used only once, and it should be preferred over the resource. These details go beyond the annotation and help set agent expectations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is somewhat verbose and mixes multiple instructions without clear separation. The first sentence states the core purpose well, but the subsequent sentences about ordering and alternatives could be more tightly organized.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a parameterless, read-only tool, the description provides sufficient context: what the tool returns, how to sequence it with other resources, and its relationship to alternatives. The lack of an output schema makes the description's naming of the identical resource helpful.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool has zero parameters, so the baseline is 4. The description correctly adds no parameter details, as there is nothing to explain beyond the schema's empty properties.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly identifies the tool's purpose as providing the full core source code of the HMR library. It distinguishes itself from siblings like unit tests and basics by emphasizing 'core only.' While the phrasing is a noun phrase rather than an explicit verb, the intent is unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides explicit sequencing: call learn-hmr-concepts first, read hmr-docs://about, and use the tool only once. It also states a preference for this tool over the named MCP resource. However, it references 'learn-hmr-concepts' while the sibling list shows 'learn-hmr-basics,' which could be an inconsistency.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

TDQS

A4.3/5.0
Disambiguation4/5

Each tool provides a distinctly different type of content: conceptual overview, source code, and usage examples. The purposes are clear, though the distinction between viewing core sources and unit tests is somewhat subtle as both are code.

Naming Consistency5/5

All tool names follow a consistent verb-noun pattern with hyphens (learn-hmr-basics, view-hmr-core-sources, view-hmr-unit-tests), making the naming predictable and easy to understand.

Tool Count5/5

With 3 tools, the server is well-scoped for its purpose of educating users about the HMR library. Each tool covers a necessary aspect - explanation, implementation, and examples - without any redundancy.

Completeness5/5

The server provides a complete learning path for the HMR library: a conceptual introduction, the full core source code, and unit tests demonstrating usage. There are no obvious gaps in this educational scope.

Resources