Skip to main content
Glama

Store a file in the account sync store

file_sync_put

Uploads a single file's base64-encoded bytes to your account's private file-sync store, computing its hash and size and overwriting existing data at the same project path.

Instructions

Write one file's bytes into your account's private file-sync store (a Storage bucket, scoped to your account). content is base64; the server computes the content hash and size. Overwrites on repeat.

Input Schema

NameRequiredDescriptionDefault
pathYesRepo-relative file path within the project.
contentYesThe file's bytes, base64-encoded.
projectYesProject grouping (a single name segment).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.1.11

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden, and it does disclose several non-obvious traits: the store is account-scoped/private, content must be base64, the server derives hash and size, and repeat writes overwrite. It does not cover size limits, permission/auth requirements, directory creation, or what is returned after the write.

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?

Three short sentences, front-loaded with the core action, then encoding, then the overwrite caveat. Every sentence carries information an agent would not get from the name or schema alone.

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?

For a simple 3-parameter write tool with no annotations and no output schema, the description covers scope, encoding, derived values, and idempotent-overwrite behavior. It still leaves gaps around failure modes, size limits, and how this write relates to file_sync_pull/list/prune, which matters given those siblings.

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 description coverage is 100%, so the baseline is 3. The description restates that content is base64 (already in the schema) and adds that hash/size are server-computed rather than supplied, but it adds nothing about project or path semantics beyond the schema.

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 and resource: writing one file's bytes into the account's private file-sync store, and adds scope detail (account-private Storage bucket). It implies the write path among the file_sync_* siblings (list/pull/prune) but never names them, so differentiation is by inference rather than explicit statement.

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?

There is no explicit when-to-use or when-not guidance, and no mention of file_sync_pull/list as alternatives for reading or checking existing files. The only usage-relevant cue is 'Overwrites on repeat', which is a behavioral fact rather than selection guidance.

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

Deploy Server

Other Tools