Skip to main content
Glama

mcp_qwen_submit_task

Submit a coding task to Qwen subagent. Passes the original user prompt with project files, target files, or images to Qwen Studio and returns a task ID for status polling.

Instructions

Делегирует задачу субагенту Qwen 3.8 Max (в Qwen Studio / API). ОБЯЗАТЕЛЬНОЕ ПРАВИЛО ДЛЯ GEMINI: При вызове этого инструмента ты являешься 100% ТОЛЬКО ОРКЕСТРАТОРОМ. СТРОГО ЗАПРЕЩЕНО искажать, "улучшать" или перефразировать запрос пользователя — передавай оригинальный текст как есть. КАТЕГОРИЧЕСКОЕ ТРЕБОВАНИЕ: Если в проекте есть ХОТЬ КАКИЕ-ТО существующие файлы (код, package.json, компоненты, скрипты и т.д.), ты ОБЯЗАН передать project_dir: "<абсолютный путь к рабочей папке>". Сервер автоматически строит дерево структуры и прикрепляет до 10 файлов (до 5 документов: 4 файла проекта + 1 txt промпт со всеми недостающими файлами 5..N, и до 5 изображений/скриншотов). Запрещено описывать проект словами от себя! Если требуется точечная правка одного файла — передай target_files: ["путь/к/файлу"]. Для передачи дизайн-макетов, фотографий или скриншотов передай images: ["путь/к/фото.png"] (до 5 изображений). После вызова инструмента ОБЯЗАТЕЛЬНО установи таймер на 60 секунд через инструмент schedule, чтобы каждые 60 секунд опрашивать статус через mcp_qwen_check_status(task_id).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
imagesNoСписок путей к изображениям, референсам, фото или скриншотам (до 5 изображений: .png, .jpg, .webp и т.д.)
project_dirNoОБЯЗАТЕЛЕН, если в проекте есть файлы! Абсолютный путь к директории проекта. Сервер автоматически построит дерево структуры, прикрепит 4 файла проекта + 1 txt промпт (со всем недостающим) + до 5 изображений
user_promptYesОригинальный, неизмененный запрос пользователя без перефразирования
target_filesNoСписок файлов для точечной правки (например ["src/index.ts"]). Если указан, прикрепляются ТОЛЬКО эти файлы без отправки всей кодовой базы
attached_filesNoСписок абсолютных путей к файлам для прямого прикрепления к сообщению в Qwen Studio (до 10 файлов)
skills_contentNoПолный текст содержимого скиллов (если используются для задачи)
workspace_contextNoТекущий контекст рабочей области, структура существующих файлов
custom_system_promptNoДополнительные системные указания для субагента Qwen

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv1.0.1
    • addedInput schema / properties / attached_files
      Added value: +{
      +  "description": "Список абсолютных путей к файлам для прямого прикрепления к сообщению в Qwen Studio (до 10 файлов)",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • addedInput schema / properties / images
      Added value: +{
      +  "description": "Список путей к изображениям, референсам, фото или скриншотам (до 5 изображений: .png, .jpg, .webp и т.д.)",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • addedInput schema / properties / project_dir
      Added value: +{
      +  "description": "ОБЯЗАТЕЛЕН, если в проекте есть файлы! Абсолютный путь к директории проекта. Сервер автоматически построит дерево структуры, прикрепит 4 файла проекта + 1 txt промпт (со всем недостающим) + до 5 изображений",
      +  "type": "string"
      +}
    • addedInput schema / properties / target_files
      Added value: +{
      +  "description": "Список файлов для точечной правки (например [\"src/index.ts\"]). Если указан, прикрепляются ТОЛЬКО эти файлы без отправки всей кодовой базы",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
  2. First observedv1.0.0

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations provided, the description carries the full burden and does substantial work: it discloses the server-side behavior (auto-building a tree, attaching up to 10 files, including a txt prompt for missing files, up to 5 images), the orchestrator-only constraint, and the polling requirement. It does not explicitly state side effects or cost implications, but it reveals the main behavioral traits that affect output and downstream actions.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is long and front-loaded with imperative instructions in all caps, which is useful for the Gemini orchestrator rule but makes the text redundant and heavy. It conveys critical constraints, though it could be condensed and better structured (e.g., bullets). It stays on-topic and every sentence contributes something, but the all-caps presentation undermines readability.

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?

The description is thorough for a complex 8-parameter delegation tool: it covers the mandatory vs optional selection logic, the server's automatic file-attachment behavior, the post-call polling procedure, and the no-rewrite rule. There is no output schema, so the description could have mentioned what to do with the task_id result, but it already directs the agent to check status. Slightly incomplete in not specifying how to handle the returned task_id beyond polling, but still strong.

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 each parameter is documented in the schema. The description adds extra meaning to project_dir (mandatory if files exist, auto-attach behavior), target_files (only these files are attached), and user_prompt (must be original, unmodified). The descriptions for custom_system_prompt, skills_content, workspace_context are thin, but the schema covers their basic purpose, so the baseline is 3 and the added detail pushes it to 4.

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?

The description clearly states the tool delegates a task to a subagent (Qwen 3.8 Max), and the schema shows it accepts a user_prompt plus optional context files. However, the description is heavily focused on behavioral mandates and doesn't sharply distinguish it from siblings like mcp_qwen_continue_task or mcp_qwen_extract_and_write_files, so it loses one point.

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?

The description gives explicit when-to-use rules: always delegate original user text, always pass project_dir if any project files exist, use target_files for point edits, use images for design assets, and then poll via mcp_qwen_check_status. This is exceptionally actionable guidance with alternatives implicitly used (check_status as follow-up, target_files for narrower scopes).

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