Skip to main content
Glama
sarinmsari

@penqwin/mcp

by sarinmsari

get_file_skeleton

Returns the AST skeleton for a single source file, including exports, imports, class members, and doc comments. Use this to get detailed structure of one specific file after narrowing down from the repository index.

Instructions

Returns the AST skeleton for a single specific source file. The skeleton includes: all exports with signatures, imports, class members, and doc comments. Use this when you need the details of one specific file after narrowing down from get_repo_index. For multiple related files, prefer get_folder_skeleton — it is one round trip.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fileYesExact file path as it appears in the repository. Example: 'src/app/api/auth/route.ts'. Use the path from get_repo_index output.
Behavior4/5

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

No annotations are provided, so the description carries the full burden. It describes what the tool returns (exports, imports, class members, doc comments) and implies it is a read operation. No side effects are mentioned, but the tool is inherently safe.

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?

Two sentences, front-loaded with the main purpose. Every sentence provides necessary information without fluff. Very efficient.

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

Completeness4/5

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

Given the simplicity of the tool (one parameter, no output schema, no nesting), the description is complete enough. It might lack detail on the exact format of the AST skeleton, but that is acceptable for a simple tool.

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?

The schema has 100% coverage for the single 'file' parameter with a clear example. The description adds value by specifying to use the exact path from get_repo_index output, which helps the agent understand how to construct the parameter.

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 returns the AST skeleton for a specific source file, listing exports, imports, class members, and doc comments. It distinguishes from siblings by naming get_folder_skeleton and get_repo_index.

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

Usage Guidelines5/5

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

Explicitly states when to use this tool (after narrowing down from get_repo_index for a single file) and when not to (for multiple related files, prefer get_folder_skeleton for one round trip).

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/sarinmsari/penqwin-mcp'

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