Skip to main content
Glama
flipper-mcp
by jamiew

storage_stat

Read-only

Retrieve metadata for a single file or directory on a Flipper Zero to inspect size, timestamps, and type. Use it to verify storage contents before read or write operations.

Instructions

Show metadata for a single file or directory on the Flipper.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "path": "<path>"
    },
    "name": "storage_stat"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.7.3

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered structurally. The description adds that the target is on the Flipper device, but it says nothing about behavior for nonexistent paths or what class of metadata is returned (the output schema presumably carries this).

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single front-loaded sentence with no filler or redundancy. It is efficient, though the brevity edges toward under-specification rather than optimal information density.

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?

Setting aside the score typo, the definition is adequate for a simple one-parameter read tool: an output schema exists to describe returns and annotations cover safety, so the missing path-format detail is the only real gap. For a low-complexity metadata lookup, that is close to 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?

With only one parameter and 0% schema description coverage, the description must carry the meaning of 'path'. It clarifies that the path refers to a single file or directory on the Flipper, but gives no format or syntax guidance (e.g., absolute device paths), leaving a real gap.

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 ('Show metadata') and resource ('a single file or directory on the Flipper'), so the operation is unambiguous. It does not explicitly distinguish itself from storage_info or storage_list, which the agent must infer from the 'single file or directory' scoping.

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 only implied: the phrase 'single file or directory' hints that this is the per-path metadata lookup as opposed to a listing tool. There is no explicit when-to-use or when-not-to-use statement, and no sibling such as storage_list or storage_info is named.

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