Skip to main content
Glama

Auto-Scan Project Dependencies

gt_auto_scan
Read-onlyIdempotent

Automatically detects all project dependencies from common config files and retrieves up-to-date best practices for each library. Customize focus on security, performance, or migration.

Instructions

Automatically detect all dependencies in a project and fetch latest best practices for each. Say "use gt" to invoke.

Reads: package.json, requirements.txt, pyproject.toml, Cargo.toml, go.mod, pom.xml, composer.json, build.gradle — whichever exist.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
projectPathNoAbsolute path to the project directory. Defaults to current working directory. The tool will read package.json, requirements.txt, Cargo.toml, go.mod, etc.
topicNoWhat to look up for each detected dependency. Examples: 'latest best practices', 'security', 'performance', 'migration'. Leave empty for general best practices.
tokensPerLibNoMax tokens per library (default: 1500). Lower = more libraries covered.
Behavior4/5

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

The description explicitly lists the files the tool reads (package.json, requirements.txt, etc.), adding behavioral specifics beyond the annotations (which declare readOnlyHint=true, etc.). This adds valuable transparency about what the tool accesses.

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 very concise: two sentences plus a list of file types. Every sentence serves a purpose, and the important action and inputs are front-loaded.

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 no output schema, the description explains what the tool does and what files it reads. It doesn't detail the output format or 'latest best practices' specifics, but for a simple read-only tool, it is fairly 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 baseline is 3. The description does not add significant parameter meaning beyond what the schema already provides. The mention of 'Say "use gt" to invoke' is not param-related.

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 'Automatically detect all dependencies in a project and fetch latest best practices for each', which is a specific verb-resource combination. It distinguishes from sibling tools like gt_best_practices and gt_resolve_library by specifying automatic scanning of project files.

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 includes a conversational cue ('Say "use gt" to invoke') but does not explicitly state when to use this tool versus alternatives, nor when not to use it. The list of read files gives implicit context but lacks direct 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/rm-rf-prod/GroundTruth-MCP'

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