Skip to main content
Glama

mcp_qwen_extract_and_write_files

Extract Qwen-generated files from task responses or raw content and write them verbatim to a target directory, automatically creating subfolders. Preserves code exactly without modifications.

Instructions

Безопасно и автоматически извлекает сгенерированные Qwen файлы и записывает их на диск в целевую директорию БЕЗ КАКИХ-ЛИБО ИЗМЕНЕНИЙ ИЛИ ИСКАЖЕНИЙ КОДА (100% verbatim). Создает необходимые подпапки автоматически.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
task_idNoID задачи (извлечет файлы из ответа задачи)
raw_contentNoИли исходный текст с блоками ### FILE: ...
target_directoryYesАбсолютный путь к целевой директории проекта

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv1.0.0

TDQS

B3.1/5.0
Behavior3/5

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

With no annotations, the description carries the behavioral burden. It discloses a key guarantee (100% verbatim write, no code modifications) and automatic subfolder creation, which are useful. However, it omits overwrite behavior, permissions, error handling, and return value, and uses vague 'safely' without specifics.

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?

Two sentences front-load the action and the key verbatim guarantee, then add the subfolder behavior. The all-caps emphasis is slightly loud, but there is almost no waste.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a file-writing tool with no annotations and no output schema, the description is incomplete: it does not state whether existing files are overwritten, what the function returns on success/failure, or any prerequisites. The subfolder note is helpful, but an agent still lacks critical operational details.

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 reinforces that task_id and raw_content are alternative sources and that target_directory receives the files unchanged, but it does not add meaningful detail beyond the schema's own descriptions.

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?

Description states a specific action (extract generated Qwen files and write them to disk) with a clear verb and resource, plus the crucial verbatim guarantee and subfolder creation. It does not explicitly contrast with sibling tools, but its role as a write-to-disk step is distinct from the task lifecycle tools.

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?

The description implies it is used after Qwen file generation ('generated Qwen files') and hints at two input modes via task_id/raw_content, but it offers no explicit when-to-use or when-not-to-use guidance and never names alternatives among the siblings. An agent must infer that this step follows submit_task/continue_task.

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

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/ha1tek/antigravity-to-qwen-mcp'

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