Skip to main content
Glama
NKSTUD
by NKSTUD

unprotect_path

Idempotent

Removes a path from MacSweep's protected list so future disk-space scans can include it again.

Instructions

Remove a path from the protected list. It shows up again in the next scan.

Input Schema

NameRequiredDescriptionDefault
pathYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.5/5.0
Behavior4/5

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

The second sentence discloses a genuinely non-obvious consequence the annotation does not cover: the path reappears in the next scan, implying the removal is not a durable exclusion. That is useful context an agent would not otherwise infer. However, it is ambiguous whether the path is re-protected or merely re-listed, and no permission or mutation semantics are given.

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?

Two short sentences with zero waste; the action is front-loaded and the side-effect caveat follows immediately. Nothing is padded.

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

Completeness3/5

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

For a single-parameter mutation tool with only idempotentHint and no output schema, the definition covers the action and one side effect but leaves the path format and the exact meaning of the reappearance unstated. It is workable but has clear gaps that matter before calling it.

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?

The single path parameter has no schema description at all (0% coverage; only type string), so the description carries the full burden. It says only 'a path' and gives no indication of format, absolute vs relative, or whether files and directories are both accepted. It does not compensate for the schema gap.

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 and resource: remove a path from the protected list. This is clearly the inverse of the sibling protect_path, but it never names that sibling to make the distinction explicit. The intent is unambiguous without opening the schema.

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 via the resource name; there is no explicit 'use this when' or reference to the alternative (protect_path) or to list_protected for verification. No prerequisites or scope conditions are given beyond the protected-list framing.

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