Skip to main content
Glama
GDM-Pixel

Stellaris MCP

by GDM-Pixel

get_dependencies

Retrieve the import dependencies of a specified file, tracing its dependency chain outward. Requires a prior reindex to build the dependency graph.

Instructions

Get the files that a given file imports (its dependencies). Shows the dependency chain from this file outward. Requires a prior reindex to build the dependency graph. No API call needed.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fileYesRelative file path from project root (e.g., "src/tools/searchCode.ts")
depthNoHow many levels deep to traverse (default: 1 = direct imports only, 2 = imports of imports)
Behavior3/5

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

With no annotations provided, the description carries the burden of behavioral disclosure. It states 'No API call needed' and the reindex requirement, but does not describe the return format, performance characteristics, or whether it is read-only. For a non-destructive tool, this is adequate but not exhaustive.

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?

The description is two sentences with zero wasted words. It front-loads the core purpose and then adds essential usage context, demonstrating efficient communication.

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 two simple parameters and no output schema, the description covers the main points: purpose, prerequisite, and network behavior. It does not describe the return format (e.g., list of file paths), which would be beneficial but is not critical given the simplicity. Overall, it is mostly complete.

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 schema already explains both parameters ('file' and 'depth'). The description adds no additional meaning beyond what is in the schema, earning the baseline score of 3.

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 uses a specific verb ('Get') and describes the resource ('dependencies'). It clearly states it shows the dependency chain from a given file outward, which distinguishes it from the sibling tool 'get_dependents' that shows dependents.

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 description specifies a prerequisite ('Requires a prior reindex') and clarifies that no API call is needed, implying it's a fast, local operation. It does not explicitly contrast with siblings but provides context for correct usage.

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/GDM-Pixel/stellaris-code-search'

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