Skip to main content
Glama
finch-shell-mcp
by hlint

Stat files

fs_stat
Read-only

Retrieve size, timestamps, short hash, and an encoding guess for 1 to 200 absolute file paths, with hashing enabled by default, to inspect local files before or after modifying them.

Instructions

Size, times, short hash, and an encoding guess for 1 to 200 absolute paths. hash defaults to true.

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

Input Schema

NameRequiredDescriptionDefault
hashNohash
pathsNopaths

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, so the description does not need to argue safety. It adds real behavioral context: the exact fields returned, that hashing is on by default, and the 1-200 path batch limit. It omits error behavior for nonexistent paths and symlink handling.

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 sentences, no wasted words. The return payload comes first and the default-value caveat is placed last where it belongs.

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?

With no output schema, the description carries the return-shape burden and does so by listing the stat fields. For a two-parameter read tool that is nearly complete, with only failure/symlink semantics missing.

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 descriptions are just the parameter names ('hash', 'paths'), so the schema supplies no real meaning. The description compensates by stating hash defaults to true and by bounding paths to 1-200 absolute paths, constraints the schema does not encode.

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?

Names the resource (absolute paths) and enumerates exactly what it returns: size, times, short hash, encoding guess. That separates it from siblings like fs_read or fs_write without naming them, though an explicit contrast is absent.

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 implied by constraints: it needs 1 to 200 absolute paths and defaults hash to true. There is no statement of when to prefer this over fs_read or when not to call it, so guidance is only inferred.

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