Skip to main content
Glama
vola-trebla

tsconfig-inheritance-flattener-mcp

by vola-trebla

get_effective_compiler_options

Resolve the complete tsconfig.json inheritance chain and obtain the effective compiler options that truly apply, avoiding incorrect assumptions about TypeScript configuration.

Instructions

Resolve the full tsconfig.json inheritance chain and return the final merged compiler options that actually apply — including options inherited from extended base configs in node_modules or monorepo packages. Eliminates agent hallucinations about strict mode, moduleResolution, paths, and target.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
configPathYesAbsolute path to the tsconfig.json file to resolve, e.g. /project/tsconfig.json
includeRawNoIf true, also return the raw per-file options before merging. Default false.
Behavior3/5

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

No annotations are provided, so the description must carry the burden. It discloses the core behavior (resolving inheritance chain and returning merged options, including from node_modules/monorepo), but does not discuss side effects, error handling, or return format. This is adequate but not rich.

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 sentences that are front-loaded with purpose. The second sentence about eliminating hallucinations is slightly redundant but adds value by specifying which options are trustworthy. Overall concise and well-structured.

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?

No output schema exists, and no annotations. The description gives a high-level outcome but doesn't specify the return shape, error conditions, or how includeRaw affects output beyond schema. Sufficient for a straightforward tool but could be more complete given lack of output schema.

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 covers 100% of parameters, so description doesn't need to compensate. The description doesn't add parameter-specific details beyond the schema, but the baseline of 3 applies given full schema coverage.

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 it resolves the full tsconfig.json inheritance chain and returns the final merged compiler options. It specifies the resource (tsconfig inheritance) and the output (final options), distinguishing it from sibling tools like resolve_module_alias or analyze_project_references.

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?

It implies usage when accurate effective compiler options are needed, highlighting that it eliminates hallucinations about strict mode, moduleResolution, paths, and target. However, it doesn't explicitly contrast with sibling tools or state when not to use it.

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/vola-trebla/tsconfig-inheritance-flattener-mcp'

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