Skip to main content
Glama

generate_eslint_prettier

Generate ESLint flat config + Prettier configuration for TypeScript projects with framework-specific rules

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": {
      "projectName": "<projectName>",
      "framework": "<framework>"
    },
    "name": "generate_eslint_prettier"
  }
}

Input Schema

NameRequiredDescriptionDefault
frameworkYesFrontend framework
withHuskyNoInclude Husky pre-commit hooks
projectNameYesProject name
withPrettierNoInclude Prettier config (default: true)
withImportSortNoInclude eslint-plugin-import sorting
withLintStagedNoInclude lint-staged config

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden and falls short: it never says whether files are written to disk or returned as content, how existing config files are handled, or what the generated file set looks like. For a generator that presumably mutates a project, this leaves the agent guessing about side effects and reversibility.

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?

A single front-loaded sentence with no filler; the verb and output artifacts come first. It is dense but readable, with nothing that could be trimmed without losing information.

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

Completeness2/5

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

Six parameters, two required, no output schema and no annotations — yet the description says nothing about output shape, file-write behavior, or the optional Husky/lint-staged/import-sort paths. The schema covers parameters, but the agent still lacks the operational context needed to call this confidently.

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 description coverage is 100%, so the enum and boolean flags (withHusky, withLintStaged, withImportSort, withPrettier) are already self-documenting; baseline 3 applies. The description adds only a hint that behavior varies by framework, without explaining how, and never mentions the optional tooling flags.

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?

States a specific verb (Generate) and specific artifacts (ESLint flat config + Prettier configuration) scoped to TypeScript projects with framework-specific rules. An agent knows exactly what is produced, though nothing distinguishes it from any adjacent generator beyond the resource name.

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

Usage Guidelines3/5

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

Usage is only implied by the scope phrase 'for TypeScript projects'; there is no explicit when-to-use or when-not-to-use, and no named alternative. The TypeScript-only framing does at least tell an agent this is not the tool for JS-only or non-framework setups.

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.