Skip to main content
Glama

detect_stencil_version

Identify the StencilJS version used in a project by reading node_modules/@stencil/core and package.json, ensuring suggestions match the installed framework.

Instructions

Detect the StencilJS version a project is actually using so suggestions match the installed framework. Reads node_modules/@stencil/core and package.json.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
projectRootNoAbsolute path to the project root. Defaults to the current working directory.
Behavior4/5

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

With no annotations, the description carries the transparency burden. It explicitly mentions reading 'node_modules/@stencil/core and package.json,' which discloses the data sources. However, it does not describe error handling or fallback behavior if the version cannot be determined.

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 concise sentence that front-loads the primary purpose, then adds context and method. No wasted words.

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?

The tool is simple with one optional parameter and no output schema. The description explains the purpose and data sources but does not specify the exact return format or precedence between the two sources. It is adequate but leaves some ambiguity.

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

Parameters3/5

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

The input schema has 100% coverage for the single parameter, including its default behavior. The description adds no extra parameter detail, but the schema already provides sufficient semantics, so a baseline score of 3 is appropriate.

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

Purpose5/5

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

The description clearly states the tool's function with a specific verb and resource: 'Detect the StencilJS version a project is actually using.' It also distinguishes itself from sibling tools which focus on references and best practices, not version detection.

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 implies when to use the tool: 'so suggestions match the installed framework.' It provides clear context for its usage, though it does not explicitly mention alternatives or exclusion criteria, which is acceptable given the distinct purpose.

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/Arul1998/stencil-mcp'

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