Skip to main content
Glama

get_cheatsheet

Access a condensed NoJS directive cheatsheet for quick reference during development. This tool provides essential framework information for template validation and component scaffolding.

Instructions

Get a condensed NoJS directive cheatsheet for quick reference

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The get_cheatsheet tool is registered and implemented directly within the server.tool call in src/tools/index.ts. It reads "cheatsheet.md" using a helper function and returns its content.
    // ── get_cheatsheet ──
    server.tool(
        "get_cheatsheet",
        "Get a condensed NoJS directive cheatsheet for quick reference",
        {},
        async () => {
            const cheatsheet = loadDoc("cheatsheet.md");
            return {
                content: [{ type: "text" as const, text: cheatsheet }],
            };
        }
    );
Behavior2/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It states the tool retrieves a 'condensed' cheatsheet but doesn't describe what 'condensed' entails (e.g., summary vs. full details), any limitations (e.g., static content, no updates), or the return format. This leaves significant gaps in understanding the tool's behavior.

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

Conciseness5/5

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

The description is a single, efficient sentence with no wasted words. It's front-loaded with the core action and resource, making it easy to scan and understand quickly.

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

Completeness3/5

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

Given the tool's simplicity (0 parameters, no annotations, no output schema), the description is minimally adequate. It states what the tool does but lacks details on behavior, output format, or context relative to siblings. For a read-only tool with no parameters, it meets basic needs but could be more informative.

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 0 parameters, and schema description coverage is 100%, so there are no parameters to document. The description doesn't need to add parameter semantics, and it appropriately doesn't mention any. A baseline of 4 is applied for zero-parameter tools when the schema is fully covered.

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 states the tool's purpose with a specific verb ('Get') and resource ('condensed NoJS directive cheatsheet'), and it specifies the format ('for quick reference'). However, it doesn't explicitly differentiate from sibling tools like 'explain_directive' or 'list_directives' in terms of output format or scope.

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

Usage Guidelines2/5

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

The description provides no guidance on when to use this tool versus alternatives. It doesn't mention when it's appropriate (e.g., for quick lookup vs. detailed explanations) or when not to use it, nor does it reference sibling tools like 'explain_directive' or 'list_directives' for comparison.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ErickXavier/nojs-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server