Skip to main content
Glama
AesirKode

enhanced-filesystem-mcp

by AesirKode

analysis_tool

Extracts structure and imports from TypeScript/JavaScript files to help understand codebases quickly.

Instructions

Code analysis tool for TypeScript/JavaScript files.

Extracts structure (classes, functions, imports) without reading the full file. Useful for understanding codebases quickly.

Operations:

  • 'summarize': Get high-level structure of a file

  • 'imports': List all imports in a file

Examples:

  1. Summarize a file: { operation: 'summarize', path: 'src/index.ts' }

  2. Check imports: { operation: 'imports', path: 'src/core/utils.ts' }

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYesPath to the file to analyze
operationYesAnalysis operation
Behavior3/5

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

With no annotations, the description carries the burden. It does disclose that the tool reads only structure ('without reading the full file') and explains the two operations. However, it does not mention error handling (e.g., invalid paths), permissions, or whether operations are strictly read-only, leaving gaps for an agent to anticipate behavior.

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?

The description is well-organized with a short intro, operation list, and examples. The sentence 'Useful for understanding codebases quickly' is somewhat promotional but not harmful. It is longer than necessary but each section earns its place by clarifying usage.

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 simple tool with two parameters and no output schema, the description covers what actions are available and how to invoke them. However, it does not describe the shape of the results (e.g., what the summary looks like, how imports are listed) or edge cases, so an agent may be uncertain about response format.

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?

Schema coverage is 100%, but the description adds value by explaining what each operation does ('summarize: Get high-level structure', 'imports: List all imports') and by showing realistic examples of how operation and path combine. This goes beyond the bare schema enum and property names.

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 analyzes TypeScript/JavaScript files by extracting structure (classes, functions, imports) without reading the full file. It lists concrete operations ('summarize', 'imports') and provides examples, distinguishing it from the file I/O siblings (efs_read, efs_list).

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?

The description says the tool is 'useful for understanding codebases quickly' and implies it is lighter than reading full files, but it never explicitly states when to prefer this over alternatives like efs_read or efs_search. No when-not-to-use guidance is provided.

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/AesirKode/enhanced-filesystem-mcp'

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