Skip to main content
Glama

Файлы аккаунта

manage_workspace_files
Destructive

Файлы аккаунта: чем занято место и чистка. overview — сколько занято, сколько разрешает тариф и разбивка по опросам. list — сами файлы с фильтрами по опросу, виду медиа, хранилищу и владельцу, с поиском и сортировкой. delete — удаление выбранных файлов или всех файлов перечисленных опросов. Удаление необратимо: файл респондента приложен к его ответу, и после удаления в ответе останется ссылка в никуда, поэтому нужно подтверждение. Загрузить файл через ассистента нельзя, скачать архивом — тоже. Скрытые из-за нехватки места файлы — в get_workspace_hidden_files.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageNoСтраница, с 1.
ownerNoЧьи файлы: owner — загруженные автором в опрос, respondent — присланные респондентами, both — и те, и другие (для delete).
actionYesЧто сделать: overview — сводка по месту, list — список файлов, delete — удалить.
searchNoПоиск по имени файла.
quiz_idNoПоказать файлы только этого опроса. Для list.
sort_byNoСортировка: quiz_id, size, created_at или storage.
storageNoГде лежит файл: default — наше хранилище, s3 или yandex_disk — своё хранилище аккаунта.
file_idsNoID конкретных файлов из list. Без них нужен delete_all.
per_pageNoФайлов на странице, 1–200. По умолчанию 30.
quiz_idsNoОпросы, в которых удаляем файлы. Обязательно для delete.
delete_allNoУдалить все файлы перечисленных опросов, а не выбранные. Идёт очередью, поэтому число удалённых в ответе не приходит.
file_uuidsNoUUID файлов респондентов из list. У них нет числового id — только uuid, поэтому удалять их надо этим полем.
media_typeNoВид медиа: image, video или audio.
workspace_idYesID аккаунта из workspace://list.
confirm_deleteNoОбязательное подтверждение удаления: восстановить файлы нечем.
sort_directionNoНаправление сортировки: asc или desc.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already flag destructiveHint=true, but the description adds crucial context: deletion is irreversible, respondent files are attached to answers and leave broken links, and confirmation is required. It also notes hidden files live in another tool, adding behavioral nuance beyond the annotations.

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?

The description is dense but every sentence serves a purpose: purpose, action breakdown, irreversibility, confirmation, limitations, and alternative. It is front-loaded with purpose but could be slightly more structured with bullet points for actions.

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?

No output schema exists, yet the description covers return information for overview and list, and explains the destructive delete behavior. It addresses limitations (no upload/download) and points to the hidden-files tool, making it complete for an agent given the rich schema and destructive annotation.

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 100%, so the schema already documents all 16 parameters. The description summarizes list filters (quiz, media type, storage, owner, search, sorting) but adds no syntax or format detail beyond what the schema provides. Baseline 3 is appropriate.

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+resource: account files for space overview and cleanup. It enumerates the three actions (overview, list, delete) and their scope, and explicitly routes hidden-file queries to get_workspace_hidden_files, distinguishing it from siblings. An agent can tell what it does without opening the schema.

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?

Explicitly describes when to use each action and names the alternative tool for hidden files. It also states two when-not conditions: cannot upload or download archives via assistant. This gives clear routing guidance.

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