Skip to main content
Glama

Save a picture from this chat to your files

workspace_files_save_from_chat

Save a picture the user attached in THIS conversation to the workspace's files, in the Home folder "From chat", and get back its file id. Use it when the user wants a picture they sent you used somewhere — an interface shows it as (CSS: url(file:)). Pick the picture by name: the name in its [attached image: <name>] marker. Omit name only when the latest message with pictures has exactly one. Saving the same picture again returns the file it was already saved as. Only pictures from this conversation can be saved; a picture on a website can't be fetched, so ask the user to attach it here.

Input Schema

NameRequiredDescriptionDefault
nameNoThe picture's name, as in `[attached image: <name>]`.
workspaceNoWorkspace slug. Ignored when the workspace is already set for this chat.
approvalIdNoApproval id from a prior needs_confirmation response. Omit on the first call.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare the write/safety profile (readOnlyHint=false, destructiveHint=false, openWorldHint=false), so the bar is lower. The description still adds genuine behavior: idempotent re-saves return the already-saved file, and the destination folder is fixed. It does not discuss failures beyond the website-fetch case, so 4 rather than 5.

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?

Front-loaded with purpose, destination, and return value, then the selection and constraint rules. Mostly earns its place, though the inline CSS/markup rendering detail is slightly incidental to invoking the tool.

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?

With no output schema, the description covers the return (file id) and idempotency, the fixed destination, selection logic, and the source restriction. Nothing needed to call it correctly against the 3-param schema is missing.

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 goes beyond it by explaining how to choose `name` (match the `[attached image: <name>]` marker) and the precise condition for omitting it (only when the latest message has exactly one picture), which the schema does not state.

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 (save), resource (a picture attached in this conversation), and destination (workspace files, Home folder 'From chat'), plus the return value (file id). It is clearly distinguishable from sibling reads like workspace_files_read and workspace_folders_browse.

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

Usage Guidelines5/5

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

Gives an explicit trigger ('use it when the user wants a picture they sent you used somewhere') and an explicit boundary ('Only pictures from this conversation can be saved; a picture on a website can't be fetched, so ask the user to attach it here'). The fallback instruction to ask the user makes the when-not case actionable.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources