Skip to main content
Glama

Перевірити стиль NyxilumLang-коду

nyxilum_lint

Checks code style for line length, empty blocks, and unused variables without syntax validation; use the run tool to validate code.

Instructions

Стильовий лінтер (довжина рядка, порожні блоки, невикористані змінні). Завжди повертає exitCode=0 і НЕ перевіряє синтаксис — для валідації коду використовуй nyxilum_run.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "code": "<code>"
    },
    "name": "nyxilum_lint"
  }
}

Input Schema

NameRequiredDescriptionDefault
codeYes
timeout_msNoТаймаут виконання в мілісекундах (100–60000, типово 10000)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A4/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and discloses two high-value traits: the linter always returns exitCode=0, and it never validates syntax. Both prevent wrong agent assumptions. It does not describe the shape of the lint report itself, which matters precisely because exitCode=0 cannot be used to detect problems.

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

Conciseness4/5

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

Two compact sentences, front-loaded with purpose and followed by the critical caveat plus an alternative. Every clause earns its place, though the parenthetical check-list and the routing hint could be split more cleanly for scanning.

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?

For a two-parameter tool with no output schema and no annotations, the definition covers the safety caveat well but leaves the return value entirely unexplained. Since the exit code is always 0, an agent needs to know how lint findings are surfaced (stdout format, severity, location) to actually act on results.

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?

Schema coverage is 50%: timeout_ms is documented in the schema, but the required `code` parameter has no schema description and the description adds nothing about it either. The description contributes no parameter meaning beyond what the schema already provides, so it neither compensates for the gap nor detracts.

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 names a specific tool type (style linter) and enumerates exactly what it checks: line length, empty blocks, unused variables. It also explicitly contrasts itself with nyxilum_run, so an agent can distinguish it from siblings without opening any schema.

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?

It gives a clear exclusion — this tool does NOT check syntax, and syntax validation should go to nyxilum_run — which is the main routing decision an agent faces here. It stops short of an explicit 'use this when you only care about formatting/style', but the context is unambiguous.

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