Skip to main content
Glama
axross-headless-mcp

axross-headless-mcp

Checksum folder tree

compute_tree_checksums
Read-onlyIdempotent

Hash every file in a folder or a single file and list each digest to verify or compare an entire directory tree.

Instructions

Hash every file under a folder (or one file) and list each digest. Use when: verifying or comparing a whole tree. Instead: compute_file_checksum for one file; scan_duplicates to group identical files. Behavior: read-only, breadth-first. Symlinked files are hashed, symlinked folders get an error entry. Secret files are refused with an error entry. Files above max_file_bytes are skipped; max_files or a folder at max_depth sets truncated (no cursor: rerun on a subfolder). Time limit: 5 min. Returns: {entries, truncated, complete}; each entry is {path, size, algorithm} plus one of: checksum and source (hashed), skipped 'too-large', or error (with folder true when a folder could not be listed).

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": "compute_tree_checksums"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathNoThe folder (or one file) to hash (absolute, or relative to the MCP root). Required unless path_b64 is given.
backendNoBackend id from list_backends; omit for the default.
path_b64Nopath as base64 of its raw bytes, for non-UTF-8 names; replaces path.
algorithmNoThe hash algorithm.sha256
max_depthNoLevels to visit, counted from 1: 1 = path's own entries.
max_filesNoMost files to hash; truncated=true when there were more.
max_file_bytesNoFiles larger than this many bytes are skipped (default 1 GiB).

Output Schema

NameRequiredDescriptionDefault
entriesYes
completeYes
truncatedYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.15.181

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, non-destructive, open-world, so the bar is lower, yet the description adds real context: breadth-first traversal order, symlink handling (files hashed, folders error), secret-file refusal, size-based skips, truncation semantics with no cursor, and a 5-minute time limit. These are genuine operational constraints not present in the annotations.

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?

Labeled sections (Use when / Instead / Behavior / Returns) make it scannable and front-loaded, and the compressed semicolon syntax still carries only actionable facts. Nothing here is filler or restatement of the name.

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

Completeness5/5

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

For a 7-parameter traversal tool with an output schema, the description covers the essential runtime behaviors an agent needs: ordering, symlinks, secrets, skipping, truncation, time budget, and per-entry result variants. Return-value detail is a bonus rather than a gap given the output schema exists.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3; the description still adds value by explaining that max_files/max_depth yields truncated with no cursor and tells the agent to rerun on a subfolder, and by restating the max_file_bytes skip rule. The remaining parameters (algorithm, backend, path_b64) get no added narrative, keeping it just shy of 5.

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 opening sentence names a specific verb (hash) and resource (every file under a folder, or one file) and states the output shape (list each digest). An agent can tell this apart from compute_file_checksum and scan_duplicates from the description alone.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicit 'Use when: verifying or comparing a whole tree' plus a named 'Instead' clause routing single-file hashing to compute_file_checksum and duplicate grouping to scan_duplicates. Both the trigger condition and the alternatives are spelled out.

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