Skip to main content
Glama
pslkk

openclaw-syncralis

save_shared_file

Save files directly from the AI agent into the workspace. Use this to store generated images, PDFs, and text files without external downloads. Provide binary files as base64 encoded strings.

Instructions

Saves a file provided directly by the AI agent into the workspace. Use this to save generated images, PDFs, DOCX, or text files without needing an external URL download. Binary files MUST be provided as base64 encoded strings.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fileNameYesThe name of the file to save, including the exact extension (e.g., target_image.png, report.pdf).
contentYesThe raw content of the file. For binary files like images and PDFs, this MUST be a base64 encoded string.
encodingNoThe encoding of the provided content. Use 'base64' for images/documents and 'utf-8' for plain text. Defaults to 'base64'.
Behavior2/5

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

No annotations are provided, so the description must fully disclose behavioral traits. It only covers the encoding requirement for binary files but does not mention whether saves overwrite existing files, required permissions, workspace scope, size limits, or success/error responses. This significant gap limits transparency.

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?

The description is two sentences long, front-loaded with essential information, and every sentence contributes meaning. No redundancy or filler.

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 3-parameter tool with no output schema or annotations, the description covers the core purpose, usage context, and a critical encoding rule. However, it omits mention of return values, overwrite behavior, and workspace implications. These are minor gaps given the tool's simplicity.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so baseline is 3. The description adds value by explaining that binary files must be base64 encoded and that the encoding parameter defaults to 'base64' (implied by the mandatory base64 requirement). It also advises including file extensions in fileName. This guidance goes beyond the schema.

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 starts with a clear verb 'Saves' and specifies the resource 'file' into the workspace. It also distinguishes the tool from the sibling 'download_from_url' by explicitly stating that it avoids needing an external URL download, making its unique purpose evident.

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?

The description provides clear when-to-use guidance: 'Use this to save generated images, PDFs, DOCX, or text files without needing an external URL download.' This contrasts with the download tool, but does not explicitly mention alternatives like 'share_files' for sharing existing files, nor does it list exclusions.

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/pslkk/openclaw-syncralis'

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