Skip to main content
Glama

scan_caches

Read-onlyIdempotent

Scans Windows temp folders, browser and GPU caches, Recycle Bin, and dev package caches (pip, npm, cargo) to find reclaimable disk space, with category and safety-level filters.

Instructions

Scan Windows temp folders, browser caches, GPU shader caches, Recycle Bin, and dev package caches (uv, pip, npm, nuget, cargo, gradle, vscode, ML models). Categories: 'windows_temp', 'browser_cache', 'dev_cache', 'app_cache', 'recycle_bin'. Safety levels: 'safe', 'moderate', 'caution'.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "scan_caches"
  }
}

Input Schema

NameRequiredDescriptionDefault
categoriesNo
include_emptyNo
safety_levelsNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, so safety is covered. The description adds which locations are touched, but says nothing about runtime cost, admin privileges needed to reach some folders (Recycle Bin, browser caches), or truncation behavior — relevant for a broad filesystem walk.

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?

Three short lines, front-loaded with the resource list, then the enumerations. Every sentence carries information; the only cost is that the list form stops short of saying anything about use.

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 an output schema exists and annotations cover the safety profile, the description covers what is scanned and the legal filter values, which is most of what's needed. The remaining gaps are the undefined semantics of the safety levels and the unexplained include_empty flag.

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 coverage is 0% with no enums, so the description must carry parameter meaning. It supplies valid values for 'categories' and 'safety_levels', which is real added value — but it never explains what 'safe'/'moderate'/'caution' actually mean, how categories map to safety levels, or what include_empty does. Partial compensation only.

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?

States a specific verb ("Scan") and enumerates the exact resources covered (temp folders, browser caches, GPU shader caches, Recycle Bin, named dev package caches). It implicitly separates itself from clean_caches by being a scan, but never says so explicitly.

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?

Usage is only implied — one scans to discover reclaimable space, presumably before clean_caches. There is no statement of when to choose this over analyze_directory or find_dev_artifacts, and no note that scanning is a prerequisite to cleaning.

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