Skip to main content
Glama

Stat item

stat
Read-only

Retrieve metadata for a Filen cloud file or directory, including type, UUID, size, and timestamps. Use it to inspect an item's details before reading, moving, or deleting.

Instructions

Get metadata (type, uuid, size, timestamps) of a file or directory in the Filen cloud.

Input Schema

NameRequiredDescriptionDefault
pathYesAbsolute cloud path of the item, e.g. '/Documents/report.pdf'

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is covered; the description's real contribution is naming the returned fields (type, uuid, size, timestamps). It does not mention error behavior for a missing path, which keeps it short of a 5.

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?

A single front-loaded sentence with the verb first and the field list in parentheses; no filler or redundancy.

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 one-parameter read tool with full annotations, this covers purpose and return fields well. With no output schema, slightly more detail on the shape of the returned metadata or the failure mode for nonexistent paths would make it complete.

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% and there is a single 'path' parameter whose schema description already gives an absolute-path example. The description adds nothing about parameter meaning, so the baseline 3 applies.

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 ('Get') and resource ('metadata ... of a file or directory') with an enumerated field list and the backing service named. Its role is clearly separable from read_file and list_directory, though no sibling is named 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?

Use is only implied by the resource: inspect an item's metadata rather than its contents. There is no explicit statement of when to prefer this over read_file, list_directory, or search_files, and no prerequisites such as whether the path must exist.

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