Skip to main content
Glama

flipper_stat

Read-only

Identify whether a path on a Flipper Zero is a file or directory and retrieve its size.

Instructions

Get the type and size of a single file or directory.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYes
portNoSerial port (e.g. COM7, /dev/ttyACM0). Omit when one Flipper is attached.
Behavior3/5

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

Annotations already indicate read-only and non-destructive behavior. Description adds that it retrieves type and size, but does not disclose error handling, behavior for missing paths, or edge cases. Adequate given 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?

Single sentence that is front-loaded and contains no extraneous words. Efficiently communicates the core purpose.

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?

Missing output schema, and the description does not specify return format, units for size, or whether 'type' refers to file/directory. For a simple stat operation, it is passable but leaves questions.

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?

Only the 'port' parameter has a description in the schema. The 'path' parameter lacks any description, and the tool description does not clarify path format or constraints. With 50% schema coverage, the description should compensate but does not.

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 it retrieves the type and size of a single file or directory, distinguishing it from listing tools like flipper_list_dir and content readers like flipper_read_file.

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 on when to use this tool versus siblings like flipper_storage_info or flipper_file_timestamp. No exclusion criteria or when-not-to-use advice.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ReconGrunt/FlipperTalk'

If you have feedback or need assistance with the MCP directory API, please join our Discord server