Skip to main content
Glama
markgregg

code-tree-mcp

by markgregg

get_references

Find all files that reference a specific dependency or module name in your codebase, aiding in impact analysis and refactoring.

Instructions

Find files that reference a dependency/module name.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo
offsetNo
dependencyYes
ignoreGlobsNo
workspacePathNoSingle absolute workspace path (use workspacePaths to supply multiple).
workspacePathsNoAbsolute paths to the workspaces to operate on.
Behavior2/5

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

With no annotations, the description carries the full burden of behavioral disclosure. It does not state whether the tool is read-only, whether it searches recursively, or any performance implications. The description is too minimal to convey safe usage 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 a single sentence with no clutter. It is efficient but could benefit from additional context without being verbose.

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

Completeness2/5

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

Given 6 parameters, no output schema, and no annotations, the description is inadequate. It fails to explain pagination (limit/offset), filtering (ignoreGlobs), or return format. The description leaves significant gaps for an agent to use the tool correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 33% (workspacePath and workspacePaths have descriptions). The tool description adds no extra explanation for parameters like limit, offset, or ignoreGlobs. Users must infer meaning from names alone.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the verb 'Find' and the resource 'files referencing a dependency/module name', which distinguishes it from siblings like get_dependencies and get_code_tree. However, it could be more specific about the scope (e.g., entire project or specific directory).

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

Usage Guidelines2/5

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

No guidance is provided on when to use this tool versus alternatives like get_dependencies or search_symbols. There is no mention of prerequisites, limitations, or exclusions.

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/markgregg/code-tree-mcp'

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