Skip to main content
Glama

find_dev_artifacts

Read-onlyIdempotent

Scan project folders to locate regenerable development artifacts like node_modules and build caches, reporting size and age so you can identify what is safe to clean or remove.

Instructions

Scan a projects folder for regenerable dev artifacts (node_modules, .venv, venv, target, dist, build, pycache, .next, etc.) with size and age in days.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "root_path": "<root_path>"
    },
    "name": "find_dev_artifacts"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
max_depthNo
root_pathYes
min_size_mbNo
timeout_secNo
artifact_namesNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare this as read-only, idempotent, non-destructive, and not open-world, so the safety profile is well covered. The description adds useful context by mentioning that results include size and age in days and by enumerating artifact types, but it does not disclose timeout behavior, depth limits, or how symlinks and permissions are handled.

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, front-loaded sentence that states the action, scope, and examples without unnecessary filler. The parenthetical list of artifact types is useful, though it slightly lengthens the sentence without explaining key parameters.

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?

An output schema exists, so return values need not be described. However, for a six-parameter scanning tool with 0% schema description coverage and no usage guidance for limits, depth, size thresholds, or timeouts, the description is incomplete relative to the tool’s complexity.

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 0%, so the description must compensate for undocumented parameters. It implicitly covers root_path and lists artifact types, but it says nothing about min_size_mb, max_depth, limit, timeout_sec, or artifact_names, leaving most of the six parameters without meaning beyond their schema titles.

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 uses a specific verb ('Scan') and a clearly scoped resource ('projects folder for regenerable dev artifacts'), listing concrete artifact examples such as node_modules, .venv, target, dist, and __pycache__. This makes the tool’s purpose distinguishable from generic large-file or cache tools, though it does not explicitly name a sibling for contrast.

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 implies when to use the tool by stating it scans for 'regenerable dev artifacts,' which is clear context for cleanup or audit scenarios. However, it offers no explicit when-to-use versus when-not-to-use guidance and does not reference alternatives like find_large_files or scan_caches.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.