Skip to main content
Glama
stcmain

whats-inherited-mcp

Files that instruct the agent

instruction_files

Enumerate all agent instruction files in a code checkout with size, token cost, and @import targets to review what your AI agent will follow.

Instructions

Every CLAUDE.md, AGENTS.md, .cursorrules and equivalent in the checkout, with size, estimated token cost, and what each one's @import lines pull in — including imports that resolve outside the repo. File contents are never returned; open the paths yourself.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dirNoAbsolute path to the checkout to inspect. Defaults to WI_DEFAULT_ROOT if set, otherwise the server's working directory.
Behavior4/5

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

Despite no annotations, the description discloses a critical behavioral constraint: file contents are never returned, so the agent must open paths itself. It also mentions imports resolving outside the repo, adding context beyond simple listing. This is strong disclosure for a read-only metadata tool.

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: the first enumerates what the tool returns, the second states a key limitation. Every word contributes, and the structure is well front-loaded.

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

Completeness5/5

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

With no output schema, the description must convey return values, and it does: files with size, estimated token cost, and @import lines. It also tells the agent that contents are not included. This is complete for a simple, single-parameter listing tool.

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?

The input schema fully describes the only parameter 'dir' with default behavior, achieving 100% coverage. The description adds no additional parameter detail, so it meets the baseline but doesn't exceed it.

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 identifies the tool's output: all instruction files (CLAUDE.md, AGENTS.md, .cursorrules, etc.) with size, token cost, and @import details. This is specific and distinct from sibling tools which cover MCP servers, summaries, commands, and extensions.

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?

The purpose is evident: use when you need to know which instruction files exist and their imports/costs. It doesn't explicitly state exclusions or alternatives, but the sibling tools are semantically different, making the use case clear without further guidance.

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/stcmain/whats-inherited-mcp'

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