Skip to main content
Glama
flipper-mcp
by jamiew

storage_write

Destructive

Write small text files like configs, scripts, or notes to the Flipper Zero SD card; binary content is not supported.

Instructions

Write text content to a file on the Flipper's SD card.

Uses storage write <path> which reads until Ctrl-C. Best for small text files (config, ducky scripts, notes). Binary content is not supported via this path — use SD card mount for that.

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>",
      "content": "<content>"
    },
    "name": "storage_write"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYes
contentYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.7.3

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, so the bar is lower, and the description does add real context: the Ctrl-C-terminated read behavior and the binary-content limitation. However, for a tool flagged destructive it never says whether an existing file's contents are replaced or whether parent directories must exist — the single most important behavior for a destructive write.

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?

Short, front-loaded, and each sentence adds something: purpose, usage scope, limitation plus alternative. The backtick CLI reference is marginally redundant but cheap and informative, so there is little waste.

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?

An output schema exists, so return values need no explanation, and the description covers purpose and scope well. What it omits matters for a destructive, two-parameter write: overwrite semantics, prerequisite directories, and path expectations — gaps the annotations alone do not fill.

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 0%, so the description must carry parameter meaning. It conveys that `path` is an SD-card filesystem path and that `content` is text (with a size qualifier, 'small text files'), but gives no path format, absolute-vs-relative rules, encoding, or size limits, so the two required parameters remain only partially specified.

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?

States a specific verb and resource: write text content to a file on the Flipper's SD card. It also names the underlying CLI form (`storage write <path>`), which makes it clearly distinct from storage_read, storage_remove, and storage_rename without needing to open any schema.

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

Usage Guidelines4/5

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

It gives a positive scope (small text files: config, ducky scripts, notes) and an explicit exclusion plus alternative ('Binary content is not supported via this path — use SD card mount for that'). It stops short of saying whether it overwrites, or when to pick it over storage_mkdir-then-write patterns, but the when/when-not framing is clearly present.

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