Skip to main content
Glama
mrfentmen

artifact-gauge-mcp

by mrfentmen

artifact-gauge-mcp

Artifact Gauge is a local MCP tool for answering a simple release question: what is taking up space? It reports artifact totals, extension histograms, largest files, and dependency manifest metadata without returning file contents.

Tools

  • inspect_artifacts: scan a bounded local project and summarize file sizes and types.

  • inspect_manifest: report metadata for one recognized dependency manifest without exposing its contents or dependency versions.

Related MCP server: Code Graph MCP

Safety

  • Local paths only, with ARTIFACT_GAUGE_ROOT boundary support and symlink checks.

  • Skips Git data, dependencies, coverage, framework caches, and other common generated caches while intentionally including dist and build artifacts.

  • Caps recursion, file count, file size, and output.

  • Never returns file contents, package versions, secrets, or source text.

  • This is a size heuristic, not a complete bundler or dependency vulnerability analyzer.

Run

npm install
npm run build
node dist/index.js

Available Tools

2 tools
inspect_artifactsA

Inspect local artifact sizes, extension totals, largest files, and dependency manifest names without returning file contents.

ParametersJSON Schema
NameRequiredDescriptionDefault
projectYesLocal project directory; no URLs

TDQS

A3.8/5.0
Behavior4/5

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

No annotations are present, so the description carries the full burden. It explicitly states 'without returning file contents', which is a key behavioral detail for safety and privacy. It also implies read-only inspection ('Inspect local artifact sizes') and scope ('local'), though it does not explicitly state lack of side effects or permission requirements.

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 a single, concise sentence that starts with the action and lists specific outputs, with no filler or redundancy. It is well-structured for quick parsing by an AI agent.

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?

For a simple tool with one parameter and no output schema, the description adequately explains what is inspected and highlights the non-content-returning behavior. It does not specify return format, but the listed outputs ('sizes, extension totals, largest files, dependency manifest names') give a reasonable picture. The sibling relationship is not addressed, but the description is sufficiently self-contained.

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 100% with the parameter description 'Local project directory; no URLs'. The tool description adds no additional parameter-specific semantics beyond confirming the local nature, so the schema already handles parameter meaning adequately.

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 states a clear action ('Inspect') and specific resource ('local artifact sizes, extension totals, largest files, and dependency manifest names'), which distinguishes it from the sibling tool inspect_manifest by covering broader artifact metrics rather than just manifests.

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 inspect_manifest. The description does not mention exclusions or prerequisites, leaving the agent to infer usage from the tool name and sibling context.

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

inspect_manifestA

Inspect bounded metadata for one recognized local dependency manifest without returning its contents or versions.

ParametersJSON Schema
NameRequiredDescriptionDefault
fileYes
projectYes

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations provided, the description carries the full burden. It discloses the key behavioral boundary: it does not return contents or versions, and it only works with 'recognized' manifests. However, it does not describe what 'bounded metadata' includes, how unrecognized manifests are handled, or any potential side effects, leaving gaps for a read-only tool.

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 a single, tightly written sentence (17 words) that front-loads the verb and resource and includes a crucial negation. Every word contributes to the core meaning, with no redundant or extraneous content.

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?

For a tool with two required parameters and no output schema or annotations, the description under-explains key aspects: it does not define 'bounded metadata,' does not elaborate on parameter usage, and does not describe the return structure. The 'recognized' qualifier also leaves ambiguity about supported manifest types. This is insufficient for an agent to invoke the tool correctly without additional context.

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 input schema has 0% description coverage, and the description does not explain the meaning of 'project' or 'file' beyond their names. Both are required but their exact semantics (paths, IDs, formats) are unclear. The description mentions 'local dependency manifest' but does not map it to the parameters, so it fails to compensate for the schema's lack of documentation.

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 the tool's purpose: 'Inspect bounded metadata for one recognized local dependency manifest.' It specifies a distinct verb ('inspect'), resource ('dependency manifest'), and scope ('bounded metadata'), explicitly excluding contents and versions. This differentiates it from the sibling tool 'inspect_artifacts' by resource type, making the purpose unambiguous.

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 usage context (for local dependency manifests) and a limitation ('without returning its contents or versions'), but it does not explicitly state when to choose this tool over the sibling 'inspect_artifacts' or provide exclusions. No alternatives are mentioned, so the guidance is only implicit.

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

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

  1. 2 tool updatesv1.0.0
    • First observedinspect_artifacts
    • First observedinspect_manifest

TDQS

A3.7/5.0

Scored across 2 tools

Disambiguation4/5

Both tools involve inspection, but inspect_artifacts provides a broad overview of artifact sizes and extensions, while inspect_manifest targets a single dependency manifest. The scope difference is clear, though the shared 'inspect' prefix could cause minor confusion.

Naming Consistency5/5

Both tools use a consistent verb_noun pattern (inspect_artifacts, inspect_manifest), making their purposes predictable and the naming style uniform.

Tool Count3/5

With only two tools, the server feels minimal and borderline for a meaningful tool set. However, the two tools cover different granularities, making the count somewhat reasonable for a focused inspection-only purpose.

Completeness4/5

The tools cover the main inspection needs: a high-level artifact overview and detailed single-manifest metadata. There may be gaps like per-file detail inspection, but within the stated non-invasive inspection scope, the surface is fairly complete.

Maintenance

ActivitySlowing
ResponsivenessNo issues

Related MCP Connectors

Related MCP Servers