Skip to main content
Glama

Codex-DSH-Orchestrator

License: MIT Node.js 22+ DSH bridge

English | 简体中文

Codex-DSH-Orchestrator — это оркестрационный слой с приоритетом Codex и MCP-мост на стороне вызывающего приложения для ограниченного взаимодействия с DeepSeek Harness (DSH). Он позволяет Codex делегировать в DSH задачи по реализации, исследованиям, отладке и работе с длинными логами, а затем наблюдать, продолжать или отменять эти сессии, не выходя из обычного рабочего процесса. Claude Code остаётся поддерживаемым через общий слой интеграции вызывающих приложений; прочие вызывающие приложения намеренно отложены до тех пор, пока их поведение в роли хоста не будет проверено.

Разделяемый исполняемый модуль моста в этом репозитории — независимо сопровождаемый производный вариант вышестоящего проекта dsh-Agentlink. Проект сохраняет вышестоящую лицензию MIT и указание авторства, не аффилирован с DeepSeek, OpenAI или сопровождающими вышестоящего проекта и не одобрен ими.

Границы проекта

Codex-DSH-Orchestrator — это проект оркестрации и MCP-моста на стороне вызывающего приложения. Он подключает поддерживаемые вызывающие приложения к независимо запущенному хосту DSH Web Host; он не запускает этот Host, не владеет им и не выполняет его аутентификацию, а также никогда не одобряет запросы DSH автоматически. Это не бандл DSH Cordis.

Related MCP server: deepseek-subagent-mcp

Компоненты проекта

  • skill/codex-dsh-orchestrator/ — специфичный для проекта навык оркестрации Codex и его метаданные агента.

  • skill/codex-dsh/ — общий навык совместимости вызывающего Codex.

  • skill/claude-code-dsh/ — сохранённый навык совместимости вызывающего Claude Code.

  • src/ — общий нейтральный к вызывающему исполняемый модуль MCP-моста и инструменты настройки.

  • test/ — локальные тесты с имитацией хоста, тесты безопасности, совместимости и интеграции.

  • docs/project-overview.md — подробная карта принадлежности и архитектуры.

Имя dsh-Agentlink остаётся в идентификаторах исполняемого модуля и в указании на вышестоящий проект ради совместимости и юридической ясности; оно не является публичным названием проекта.

Поддержка вызывающих

Caller

Status

Установка или доступность

Codex

✅ Поддерживается

npm run setup

Claude Code

✅ Поддерживается

npm run setup:claude -- --project /absolute/path/to/project

ZCode

⏸ Отложено

Первый кандидат, когда возобновится проверенное расширение вызывающих

OpenCode

⏳ Планируется

Пока недоступно

Workbuddy

⏳ Планируется

Пока недоступно

Сегодня путь установки в этом репозитории есть только у вызывающих, отмеченных как Поддерживается. Пункты «Планируется» — это направления, а не обязательства по выпуску.

Установка

Сначала подготовьте окружение: вам понадобятся Node.js 22+, поддерживаемый вызывающий (Codex или Claude Code) и рабочий DSH CLI. Проверенный межплатформенный базовый уровень — x64 Node.js 22 и 24; другие мажорные версии Node.js и окружения ARM64 не покрываются текущей матрицей. Один раз настройте желаемую модель в DSH; общий мост наследует этот рабочий маршрут, если делегат явно не запросит поддерживаемый семантический профиль.

Ограничения переносимости и установки

  • На другой машине используйте свежий клон. Не копируйте одиночный каталог рабочего дерева: его .git файл указывает на метаданные рабочего дерева исходного клона. На той же машине создавайте рабочие деревья из исходного клона командой git worktree add.

  • Для чистого воспроизводимого получения кода предпочитайте npm ci. Используйте npm install только когда намеренно хотите обновить lockfile.

  • npm run setup записывает абсолютный путь к исполняемому файлу Node.js и собранной точке входа моста в конфигурацию вызывающего. Держите копию в стабильном каталоге инструментов; после её перемещения, изменения установки Node.js или переключения на другое рабочее дерево пересоберите проект и запустите setup заново, просмотрите существующую запись и используйте --replace только с явным разрешением.

  • Установка MCP для Codex и установка навыка Codex — раздельные процедуры. npm run setup регистрирует запись MCP, но не устанавливает skill/codex-dsh-orchestrator/. Установите и включите этот навык через обычный рабочий процесс навыков Codex и затем убедитесь, что он обнаруживается, прежде чем полагаться на команду $codex-dsh-orchestrator. Установка Claude Code управляет своим проектным навыком отдельно, как описано ниже.

  • Храните DSH_BRIDGE_HOME на надёжной локальной файловой системе. Не копируйте старый домашний каталог моста на другую машину; используйте там свежий. История сессий DSH принадлежит хосту DSH Web Host, а привязки задач, курсоры и claims на стороне моста автоматически не мигрируют.

  • На Windows desktop-auto подключается по вашему выбору. Он требует уже запущенный DSH Desktop Host и поддерживаемые предпосылки обнаружения процессов/loopback в Windows. CI имитирует такое поведение и не подтверждает реальную установку Desktop или вход в него. Мастер установки никогда не запускает, не останавливает DSH Desktop и не входит в него.

Установка с помощью вашего ИИ-агента

Отправьте следующий URL репозитория и подсказку в Codex или другой агент-кодировщик:

Install Codex-DSH-Orchestrator from https://github.com/Fly2Kiana/Codex-DSH-Orchestrator.
Check Node.js 22+, the DSH CLI, and my DSH Web Host first. Clone it into a location I approve,
run npm ci and npm run check. For Codex, run npm run setup -- --yes, then install and verify
the shipped Codex skill separately through my normal Codex skill workflow. For Claude Code, run
npm run setup:claude -- --yes --project /absolute/path/to/my/project.
For Claude Code, let setup install the project MCP entry and shipped project skill; use --replace and --replace-skill only after reviewing existing files.
If dsh_agentlink or the legacy dsh_collab entry already exists, show me the conflict before using --replace.
Do not start or stop dsh web for me. Tell me when I need to reload the selected caller and approve project MCP trust.

Установка вручную

  1. Проверьте окружение. Текущая проверенная цель — DSH CLI 0.1.0-rc.6.

    node --version
    dsh --version
  2. Запустите официальный DSH Web Host в его собственном терминале.

    dsh web
  3. Клонируйте репозиторий и установите зависимости.

    git clone https://github.com/Fly2Kiana/Codex-DSH-Orchestrator.git
    cd Codex-DSH-Orchestrator
    npm ci
  4. Настройте вызывающее приложение.

    Для Codex:

    npm run setup
    npm run doctor

    На Windows с DSH Desktop и его меняющимся портом loopback явно выберите автоматическое обнаружение:

    npm run setup -- --desktop-auto

    Мастер Codex создаёт резервную копию конфигурации Codex (TOML) и устанавливает запись MCP с approval_mode = "prompt"; он не устанавливает skill/codex-dsh-orchestrator/. Установите и включите этот навык через обычный рабочий процесс навыков Codex, затем убедитесь, что он обнаруживается. Статическая настройка по-прежнему требует dsh --version; режим --desktop-auto может вместо этого проверить уже запущенный Host Desktop, даже когда CLI нет в PATH, и сообщает о недостающей версии пакета как о предупреждении совместимости. Он никогда не запускает и не останавливает DSH D Desktop. Перевод существующей записи моста в любой из режимов требует предварительного просмотра и добавления --replace. Перезапустите Codex, затем через настройки /mcp или Codex Settings убедитесь, что dsh_agentlink подключён. Полностью ручную настройку TOML см. в разделе Manual Codex MCP configuration.

    Для Claude Code 2.1.199 или новее укажите команде настройки проект, который должен совместно использовать .mcp.json:

    npm run setup:claude -- --project /absolute/path/to/your/project
    cd /absolute/path/to/your/project
    claude mcp get dsh_agentlink

    Настройка Claude изменяет только .mcp.json этого проекта и .claude/skills/claude-code-dsh/SKILL.md и сохраняет несвязанные серверы. Она сообщает о каждом из этих пунктов отдельно:

    • регистрация MCP

    • доверие к проекту

    • статус навыка Claude

    • поддержку одобрений в Claude

    • владение разрешениями/песочницей DSH

    • достижимость DSH Host

    Откройте Claude Code в проекте и одобрите ожидающий сервер через /mcp; мост помечает dsh_resolve_approval как требующее участия человека.

    Добавьте --yes для неинтерактивных значений по умолчанию. Чтобы обновить существующую запись MCP, сначала просмотрите её, а затем добавьте --replace; чтобы обновить существующий навык проекта Claude, сначала просмотрите его и добавьте --replace-skill; чтобы управлять навыком самостоятельно, добавьте --no-skill. Оба установщика распознают устаревшую запись dsh_collab и переносят её в dsh_agentlink только после явного одобрения замены. Ни один из установщиков не запускает DSH, не изменяет настройки разрешений/песочницы DSH и не перезапускает вызывающий.

Врач (doctor) сообщает о путях хранения блокировок моста с режимом закрытия при отказе внутри DSH_BRIDGE_HOME в режиме только чтения и никогда не удаляет их, так что его можно безопасно запускать даже при наличии блокировки.

Этот патч не даёт новым потокам проекций/чанков расширять координационный журнал, но не сжимает существующий журнал на 5+ МБ. Сохраните старый домашний каталог моста для инспекции; новые делегирования могут использовать отдельную DSH_BRIDGE_HOME. Источником истины для разговора остаётся session.history DSH, а не журнал моста. Консервативные границы восстановления описаны в разделе Известные проблемы.

Этот мост (исполняемое имя dsh_agentlink) — плагин вызывающего, а не бандл DSH Cordis. Не устанавливайте его с помощью dsh plugin --profile ... add ....

Зачем Codex-DSH-Orchestrator?

Используйте возможности Harness

DSH сочетает постоянные сессии, выполнение инструментов, субагентов и контроль человека для сложной работы. Codex-DSH-Orchestrator позволяет вашему основному вызывающему (сейчас это Codex или Claude Code) обсуждать и координировать работу со второй средой Harness, не покидая прежнего рабочего процесса.

Больше, чем очередной нативный субагент

Нативный субагент остаётся внутри дерева агентов основного вызывающего. Общий мост добавляет отдельную, настраиваемую пользователем среду Harness: её сессии остаются видимы в DSH Web, могут использовать собственные воркеры DSH и маршрут моделей, а основной вызывающий может наблюдать за ними, продолжать или отменять их.

Экономьте время и деньги

  • Экономия времени. Направляйте задачи по реализации, исследованию, извлечению и работе с длинными логами на быструю модель, сконфигурированную в DSH, например на маршрут DeepSeek V4, а ваш основной агент продолжает планировать и проверять.

  • Экономия денег. Перенос задач с высоким потреблением вычислительных ресурсов на более дешёвый маршрут DeepSeek может снизить потребление более дорогих основных моделей.

Реальные скорость и цена зависят от выбранной модели, провайдера, способа развёртывания, сети и задачи. После установки вы можете продолжать работать в Codex или Claude Code как обычно и просто попросить делегировать DSH, когда её среду это будет лучший путь.

Использование

Запустите dsh web и дайте вашему вызывающему загрузить и доверять MCP-конфигурации. Затем попросите Codex или Claude Code обычным языком, например:

Используй Codex-DSH-Orchestrator, чтобы делегировать эту задачу реализации в DSH в текущем репозитории. Держи её видимой в DSH Web, сообщай о прогрессе и спрашивай меня перед любым утверждением.

После этого основной выздам может делегировать задачу, наблюдать за потоком событий, продолжать ту же сессию, задавать вам вопросы или отменять работу. Откройте настроенный origin веб-интерфейса DSH Web, чтобы видеть ту же сессию и работать с ней. На Windows опциональный режим исполнения DSH_HOST_MODE=desktop#desktop может искать проверенный loopback-слушатель DSH Desktop and set авто instead of relying on its changing travel ephemeral port; при явном указании DSH_HOST_URL он всегда приоритет.

Перед новой делегированием вызывающий строит компактную передачу контекста в подсказке, основанную на уже известном прогрессе и read-only свидетельствах рабочего пространства: цель, выполненная работа, ветку Git (HEAD/status) и изменённые пути, когда они доступны, ключевые пути кода/Markdown, соответствующие тесты, ограничения и нерешённые проблемы. Он просит DSH сначала прочитать эти ключевые пути и избегать общедоступных издержек при отсутствии необходимости fully fetch repository. Передача исключает секреты, большие необработанные диффы, содержимое файлов, чат вызывающего и внутренние рассуждения. Это указание вызывающему, а не новое разрешение в файловой системе; dsh-Agentlink не получает предыдущее состояние разговора вызывающего автоматически. Для того же BridgeTask вызывающий использует dsh_followup; если совпадающий токен задачи неизвестен, он начинает свежую делегирование, а не угадывает старое id.

Когда пользователь явно определяет существующую сессию DSH Desktop, вызывающий может сначала использовать dsh_find_sessions для чтения ограниченной метаданные корневых сессий, затем dsh_attach_session с точным полученным session id и свежими предуслоьями метаданных. Заголовки — лишь помощь в поиске, никогда не идентичность присоединения. Присоединение принимает только свободную корневую сессию, создаёт или повторно использует локальную Mapping и состояние самостоятельного резервирования, и может быть history согласовано для supervision, но не возвращает и не сохраняет тела разговора. Оно не создаёт и не переименовывает сессию DSH, не отправляет промпт и не меняет маршрут модели. Последующий dsh_followup передаёт компактный handoff, когда работу следует продолжить.

Повторное использование сеанса в разных задачах Codex — это консервативный выбор из трёх вариантов: same-known-task, attached-existing-task или new-session. Для одного и того же потока работы повторно используйте только тот же известный BridgeTask; для новой задачи с явным подтверждением продолжения найдите через metadata-only dsh_find_sessions ровно один корневой сеанс — с канонической рабочей директорией (canonical-cwd), сопоставленным маппингом и в статусе idle — и подключайтесь к нему, установив свежие предусловия, прежде чем продолжить через dsh_followup. Никогда не выбирайте сеанс по названию или похожести и никогда не читайте историю для discovery; при неоднозначных, работающих, устаревших кандидатах, кандидатах без рабочей директории или с конфликтом маппинга применяется отказ в закрытом режиме (fail closed). Повторное использование может экономить усилия на передаче контекста (handoff) и чтении репозитория, но может увеличить количество входных токенов, поэтому оно является только оптимизацией стоимости, пока сохраняется релевантность непрерывности. Повторное использование и отсутствие повторных сканирований не являются подтверждением попаданий в кэш промптов провайдера или скидок на токены; сведения о кэше провайдера не раскрываются, пока DSH не публикует документированную агрегированную телеметрию использования.

Инструменты MCP

  • dsh_host_status — состояние Host и его capabilities; только в режиме подключения

  • dsh_find_sessions — ограниченное метаdified discovery существующих корневых сеансов; без истории и «сырых» выгрузок

  • dsh_attach_session — безопасное подключение ровно одного простаивающего корневого сеанса со свежими предусловиями по id, названию, cwd и обновлению; без изменения промпта и профиля модели

  • dsh_declare — создать корневой сеанс и поставить стартовый промпт в очередь; опционально выбрать inherit|flash|pro|modlens-flash|modlens-pro и поддерживаемый каталогом reasoningEffort; по умолчанию отсоединённый режим (waitSeconds=0); workspaceMode — только claim самого моста, а не селектор песочницы DSH

  • dsh_followup — продолжить тот же корневой сеанс с явным mode="queue"|"steer" (по умолчанию queue); возможно также выбирать те же семантические профили моделей и проверенный reasoningEffort до промпта

  • dsh_continue — алиас совместимости для dsh_followup

  • dsh_status — статус, исполнение, происхождение (lineage), очередь, ожидающие взаимодействия, финальное сообщение, курсоры и семантика подтверждения рабочего пространства

  • dsh_tail — ограниченные обзоры событий по курсору мостовой задачи

  • dsh_wait — ожидание до 30 секунд долговременного события, изменения состояния, ожидающего взаимодействия или терминального статуса

  • dsh_observe — алиас совместимости вокруг dsh_wait; мостовые курсоры заменяют raw-курсоры последовательности сессии

  • dsh_cancel — отмена в интервале scope="turn"|"queue"

  • dsh_list — сопоставления задач с добавлением текущего производного статуса

  • dsh_answer_question — типизированный ответ для ожидающего вопроса по rpcId

  • dsh_release_approval — типизированный ответ allow_once|reject для ожидающего подтверждения по rpcId

  • dsh_release_workspace — явно освобождает persistent-claim рабочего пространства моста без закрытия сеанса DSH

Маршрутизация моделей — это opt-in и обратно совместимый процесс для делегирования и продолжения. Если modelProfile и reasoningEffort опущены, операция читает session.models.current, проверяет routable и не вызывает session.selectModel. Семантические соответствия такие: flash/pro -> deepseek-official/deepseek-v4-{flash,pro} и modlens-flash/modlens-pro -> deepseek-modlens/deepseek-v4-{flash,pro}. Запрашиваемые провайдер, модель и reasoningEffort должны существовать в актуальном каталоге session.models. Перед начальным или повторным промптом выбор выполняется и перечитывается; любое несовпадение завершается ошибкой режима fail-closed без отправки промпта.

Явный выбор пользователя всегда имеет приоритет. При отсутствии такого, основной caller может спокойно работать с inherit, использовать Flash для типовых задач поиска, реализации и починки тестов, Pro — для архитектурных или сложных многоэтапных отладок, а нужный Prof-Profile ModLens — когда важны визуальные подтверждения. dsh-Agentlink передаёт только текстовые промпты: включайте абсолютные пути к изображениям, к которым DSH Host и инструменты ModLens имеют доступ; он не выполняет загрузку байтов изображений. selectionReason даёт опциональное пояснение для аудита и не передаётся в DSH.

На подтверждённом локально пути DSH session.selectModel с горизонтальной совместимостью — в лог. Важный побочный эффект DSH rc.6: session.selectModel также сохраняет выбранное значение как глобальный дефолт DSH для последующих сеансов. Результаты delegate и follow-up указывают modelRouting.persistsAsDshDefault=true и предупреждение при явном выборе. Если такое сохранение недопустимо, просто опустите поля маршрутизации. Если после попытки записи проверка выбора не прошла, промпт не отправляется, но запрошенное значение уже может стать глобальным дефолтом.

dsh_wait наблюдает за устойчивым состоянием моста. Ассистентные delta-кадры/чанки и тоp-level session/projection снимки при этом пропускаются, поэтому не увеличивают ревизию задачи и не будят ожидающих; результаты итоговых сообщений остаются видимыми через status/tail после конца раунда.

Дорожная карта

Это планируемые направления, а не реализованные функции и не публичные обещания по выпуску.

  1. Больше точек входа для вызывающих — при возобновлении расширения набора вызовов первым делом оценить ZCode, затем рассмотреть OpenCode, Workbuddy, Claude Desktop MCP и другие вызовы через общую архитектуру Integration Pack.

  2. Обработка вызова на действие и транспортировка информации — улучшение организации промптов, компоновка контекста, итоговых обзоров и сжатия при сохранении надёжности вопросов, подтверждений, ошибок и финальных ответов.

  3. Сессии DSH с поддержкой плагинов — сохранение текущего маршрута agentPreset для preset-плагинов, добавление проверки только на чтение и resolved-presет-отчётов, а также введение декларативного профиля запуска только если плагин докажет потребность в типизированной пост-creation инициализации.

  4. Дополнительная интеграция — расширение после стабилизации общего контракта совместимости Runtime и caller.

Подробная документация

  • Project overview — публичная идентичность проекта, часть состава компонентов и архитектуры с приоритетом Codex

  • Architecture and safety model — идентичность, состояние, восстановление, подтверждения, отмена и координация рабочего пространства

  • Multi-caller extension architecture — общие границы для Runtime и Integration Pack для Codex, Claude Code и будущих клиентов

  • Deferred roadmap — сознательно отложенная работа, триггеры активации и сохранённые связанные зоны безопасности

  • Validation guide — проверки совместимости и приёмки оператором

  • Known issues — актуальные предупреждения об обновлениях и параллельных работах

  • Contributing и security

License

MIT

Примечание к альфа-версии: DSH по-прежнему находится разработке+ предварительной разработке , и этот открытый проект независим от DeepSeek и OpenAI. В версии 0.1.0-alpha.1 присутствует ошибка параллелизма в общем журнале ledger; она исправлена в 0.1.0-alpha.2. Перед обновлением и запуском нескольких параллельных bridge-процессов прочитайте Known issues.

Available Tools

15 tools
dsh_answer_questionA

Answer one currently pending typed DSH question request. The requestId, task lineage, question ids/order, and selections are validated locally before one non-retried /api/respond write.

NameRequiredDescriptionDefault
taskIdYes
answersYes
requestIdYes
sinceCursorNo
expectedRevisionNo

TDQS

A3.8/5.0
Behavior4/5

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

Beyond the annotations (all false), the description adds meaningful behavioral detail: validations are performed locally, the operation results in exactly 'one non-retried /api/respond write'. This discloses retry semantics and the mutation path, which is useful for an agent deciding whether to invoke or expect idempotency. It does not contradict any annotation; readOnlyHint false aligns with 'write'.

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 earns its two sentences. The first sentence front-loads the core action in clear terms, and the second adds dense behavioral context without fluff or redundant repetition of the schema. Every phrase contributes to helping an agent understand the tool.

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 5-parameter write tool with no output schema, the description is largely complete: it explains the core action, known validation, and write behavior. Optional parameters like sinceCursor and expectedRevision lack any contextual hint in the description or schema property descriptions, which is the main gap preventing a perfect score.

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?

With schema description coverage at 0%, the description carries the naming burden. It partially succeeds by referencing 'requestId', 'task lineage', 'question ids/order', and 'selections', mapping loosely to requestId, taskId, answers[].id, and answers[].selected. However, optional parameters sinceCursor and expectedRevision are omitted, and there is no explicit mapping to the schema's custom field or the shape of the answers array.

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's action ('Answer') and resource ('one currently pending typed DSH question request'), making it immediately obvious what the tool does. It lacks an explicit distinction from sibling tools like dsh_continue or dsh_followup, but the phrase 'currently pending typed DSH question request' narrows the purpose enough for an agent to separate it from general session or status tools.

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

Usage Guidelines3/5

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

The phrase 'currently pending typed DSH question request' implies when to use the tool: when there is a pending question to be answered. However, the description does not explicitly say when not to use it or which sibling alternative to prefer (e.g., dsh_continue, dsh_followup). Usage guidance is implied rather than stated, leaving some room for an agent to misroute a call.

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

dsh_attach_sessionA

Attach one idle existing root DSH session to the bridge using its exact sessionId and fresh discovery preconditions. This creates or reuses bridge-local mapping/claim state and starts normal supervision reconciliation: it does not prompt DSH, create or rename a DSH session, return or persist conversation bodies, or change model routing. After success, use dsh_followup with a compact handoff when work should continue.

NameRequiredDescriptionDefault
sessionIdYes
allowBlankNo
expectedCwdYesAbsolute cwd copied from the selected dsh_find_sessions result.
expectedTitleYesExact title copied from dsh_find_sessions, including null when no title is present.
workspaceModeNoBridge-local cooperative workspace claim only; it does not configure the DSH sandbox.exclusive-write
expectedUpdatedAtYes

TDQS

A4.1/5.0
Behavior4/5

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

Annotations are all false, giving little guidance beyond the lowest-level safety flags. The description compensates well by stating that it creates/reuses bridge-local state, starts reconciliation, and will not perform a list of DSH-related mutations or data transformations. It does not cover failure modes, error returns, or potential side effects on the bridge beyond what is described, but the core behavior is laid out clearly.

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 three front-loaded sentences: the action, the effects/exclusions, and the follow-up instruction. It is effective and relevant. It is slightly dense with multiple compound clauses, but every phrase adds behavioral or routing value, so it is not wasted text.

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?

There is no output schema, so the description carries the burden of saying what happens on success: creating/reusing mapping/claim state and starting supervision, with a defined next step. It nicely scopes out many side effects (does not prompt, create, rename, persist, or route). What is missing is any guidance on failure cases, e.g., what happens if the discovery preconditions don't match, or whether the tool can outright fail. That keeps it from a 5.

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 descriptions cover 50% (expectedCwd, expectedTitle, workspaceMode). The description adds a small amount of contextual glue by calling the expected fields 'fresh discovery preconditions' and emphasizing 'exact', which clarifies expectedUpdatedAt and expectedTitle. But it does not explain allowBlank at all, and the role of expectedUpdatedAt is only inferable as a precondition after attaching session's stale or not. This is better than empty, but does not fully close the schema's coverage gap.

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 opens with a specific verb-resource pair: 'Attach one idle existing root DSH session to the bridge using its exact sessionId and fresh discovery preconditions.' It also enumerates what the tool does not do (prompt DSH, create or rename sessions, return/persist conversations, change routing), which effectively distinguishes it from sibling tools such as dsh_followup and dsh_delegate.

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?

It gives clear triggers: attach when there is an idle existing root DSH session and you have exact sessionId plus fresh discovery preconditions. It also states the follow-up path ('After success, use dsh_followup with a compact handoff when work should continue'), which is useful routing guidance. It stops short of explicitly listing alternatives to not use under certain circumstances, and could have said 'do not use if the session is not idle'.

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

dsh_cancelA
Destructive

scope=turn cancels only the active root turn and preserves queued work. scope=queue non-atomically removes each item from the latest mux queue snapshot.

NameRequiredDescriptionDefault
scopeNoturn
taskIdYes
sinceCursorNo
expectedRevisionNo

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already mark the tool as destructive, and the description adds genuinely useful behavior beyond that: the turn scope explicitly preserves queued work, and queue removal is described as non-atomic and based on the latest mux queue snapshot. This is meaningful transparency about what gets destroyed.

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 compact, front-loads the primary scope behavior, and either sentence earn its place. No redundant text, no restating of the tool title or generic cancellation wording.

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 destructive 4-parameter tool with no output schema, the description does not explain return behavior, partial failure states, or the semantics of sinceCursor/expectedRevision. The scope behavior and non-atomic queue removal are helpful, but important invocation context is still missing.

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

Parameters2/5

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

The schema has 0% description coverage and the description only explains the scope enum. taskId, sinceCursor, and expectedRevision are left completely unexplained, so the agent cannot infer the meaning of important parameters like optimistic concurrency guards or cursor-based synchronization.

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 states concrete behavior for each scope: scope=turn cancels the active root turn and preserves queued work, while scope=queue removes queued items. It is clear about what the tool operates on, though it does not explicitly distinguish itself from sibling tools by name.

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 gives clear context for choosing a scope, including that it not’s queued work and that queue removal is non-atomic. It does not provide when-not-to-use guidance or name alternatives like dsh_continue or dsh_release_workspace, so it stops short of very explicit routing.

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

dsh_continueA

Compatibility alias for dsh_followup. Continue the same known BridgeTask and root DSH session instead of creating another delegation for the same work. Never guess an old task id; start a fresh delegation when no matching task id is known. queue targets the next turn; steer targets the active turn's next step. Optional semantic model routing is catalog-validated and re-read before the prompt; selection failure sends no prompt, but an attempted session.selectModel may already have persisted as the DSH global default. Omit routing to inherit. The write is never automatically retried.

NameRequiredDescriptionDefault
modeNoqueue
promptYes
taskIdYes
sinceCursorNo
modelProfileNoOptional semantic route selected and re-verified before this follow-up prompt; omit to inherit the session route. Explicit selection persists as the DSH default.
reasoningEffortNoOptional effort id advertised by the selected live session catalog model.
selectionReasonNoOptional audit explanation for the route choice; never sent to DSH.
expectedRevisionNo

TDQS

A4.5/5.0
Behavior5/5

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

Although annotations provide no safety hints and idempotentHint=false, the description exposes non-obvious behavior: model routing is catalog-validated and re-read before the prompt, failure may skip the prompt but can still persist a selectModel global default, and 'the write is never automatically retried.' This is exactly the kind of behavioral context an agent cannot infer from the schema.

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 not bloated; every sentence contributes meaningful guidance. It front-loads purpose and task-id safety rules, then details routing and retry semantics. Minor structural improvement would be grouping routing caveats more cleanly, but the overall length is appropriate.

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?

Given the absence of an output schema and the complexity of the tool, the description covers critical fallback behavior and model-routing pitfalls. It is not fully complete because it omits the meaning of sinceCursor/expectedRevision and any return-value guidance, which would matter to an agent trying to verify the tool's result.

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 only 38%, and the description valuably annotates mode, model routing, and the task-id rule. However, key parameters such as sinceCursor and expectedRevision are never mentioned, and prompt is only implicit. The description partially compensates for the low coverage but leaves important gaps.

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 opens with 'Compatibility alias for dsh_followup' and specifies the exact operation: 'Continue the same known BridgeTask and root DSH session.' It also distinguishes this tool from creating another delegation, so an agent can clearly recognize its role relative to siblings like dsh_delegate.

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?

It gives explicit decision rules: use this when a matching task id is known, and 'start a fresh delegation when no matching task id is known.' It also clarifies mode boundaries ('queue targets the next turn; steer targets the active turn's next step'), which is strong guidance for correct invocation.

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

dsh_delegateA

Create a root session on the configured official DSH Web Host and queue the initial prompt. Before calling, put a compact handoff in prompt from known progress plus read-only Git/workspace evidence; identify focus paths and tell DSH to read those focus paths first instead of scanning the whole repository unless blocked. An explicit user choice of modelProfile or reasoningEffort always takes precedence. Otherwise the caller may choose pro for complex work and a modlens profile for visual work whose local image paths are included in the prompt; omit routing fields to inherit DSH's configured model. Explicit selection uses session.selectModel, which also persists the selection as the DSH default for later sessions. Detached by default. workspaceMode is only a bridge-local cooperative claim and does not select or verify the DSH sandbox.

NameRequiredDescriptionDefault
cwdYesExisting absolute directory visible to the DSH Host.
titleNo
promptYes
agentPresetNoDSH agent composition/preset name. This does not express workspace ownership or verified sandbox policy.
waitSecondsNo
modelProfileNoSemantic route: flash/pro use deepseek-official; modlens-flash/modlens-pro use deepseek-modlens for visual work; inherit keeps the current route. Explicit user choice takes precedence over caller heuristics.
workspaceModeNoBridge-local cooperative workspace claim only; it is not a DSH Host filesystem sandbox selector or verifier.exclusive-write
reasoningEffortNoOptional effort id. It must be advertised by the selected model in session.models.
selectionReasonNoOptional audit explanation for the caller's explicit or autonomous profile choice; never sent to DSH.

TDQS

A4.3/5.0
Behavior4/5

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

It discloses several non-obvious behaviors: the call is detached by default, explicit model selection persists as the DSH default via session.selectModel, and workspaceMode is only a cooperative local claim, not a sandbox verifier. These go beyond the uninformative annotations. The description doesn't say what the call returns, but it still carries substantial transparency burden well.

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 front-loaded with the main purpose and then organized around actionable instructions. It is longer than minimal but each sentence earns its place; the only slight redundancy is repeating that explicit user choices take precedence before explaining session.selectModel persistence.

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?

With no output schema and several complex fields, the description completes most of the Agent's decision loop: what to prepare, how to route, and why workspaceMode is not a sandbox claim. It leaves a small gap by not stating what the call returns or how to coordinate with dsh_wait, dsh_find_sessions, and dsh_attach_session, but those appear as siblings and are inferable.

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 67%, and the description adds meaning beyond the schema for prompt construction, modelProfile routing and precedence, and the workspaceMode caveat. It doesn't elaborate on waitSeconds or the literal return identity, but the most decision-critical parameters are given practical semantic context.

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 opening sentence clearly states the action: "Create a root session on the configured official DSH Web Host and queue the initial prompt." It identifies a specific verb and resource, and the "root session" phrasing distinguishes it from sibling attach/followup tools that work on existing sessions.

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 gives concrete pre-call guidance: include a compact handoff with read-only evidence, identify focus paths, and tell DSH to read those first. It also explains when to choose pro versus modlens profiles and when to omit routing fields. It does not explicitly name "use dsh_attach_session instead for existing sessions," but the focus on initial root session makes the intended case clear.

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

dsh_find_sessionsA
Read-onlyIdempotent

Read bounded metadata for existing root sessions from DSH session.list. It can filter titles exactly or by a case-sensitive substring, or narrow candidates by an exact canonical cwd, an unambiguous BridgeTask mapping, or idle state; it returns no history or raw projections. These filters narrow candidates but never authorize automatic selection, history reads, attachment, or prompting. Use the returned exact sessionId and precondition fields with dsh_attach_session; never select a session by title alone.

NameRequiredDescriptionDefault
cwdNoOptional absolute existing workspace path; matches only sessions whose advertised cwd resolves to the same canonical directory.
titleNo
idleOnlyNoReturn only sessions whose root turn is not running.
mappedOnlyNoReturn only sessions with one unambiguous existing BridgeTask mapping.
maxResultsNo
titleMatchNoexact
includeBlankNo

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already declare read-only, idempotent, non-destructive behavior, and the description adds valuable limits beyond annotations: it returns no history/raw projections, filters never authorize automatic selection or attachment, and results are limited to bounded metadata. This gives an agent a precise behavioral contract.

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?

Three tight sentences, front-loaded with the core operation and followed by filter semantics and a critical usage warning. Every sentence earns its place; there is no redundant 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 7-parameter tool with no output schema and only 43% schema description coverage, the description covers the main purpose, key filters, return usage, and boundary behavior. It omits maxResults and includeBlank semantics, so it is not fully complete, but it is notably stronger than the median tool.

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?

The description maps four semantic filters to parameters: exact/case-sensitive title matching (title/titleMatch), canonical cwd (cwd), idle state (idleOnly), and BridgeTask mapping (mappedOnly). However, schema coverage is only 43%, and maxResults and the opaque includeBlank are never explained. The description partially compensates but leaves real gaps.

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 opens with a specific verb and resource: 'Read bounded metadata for existing root sessions from DSH session.list.' It then lists the exact filter dimensions and states what the tool does not return ('no history or raw projections'), which clearly separates it from session-history and attach-type siblings.

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?

It gives an explicit downstream directive: use the returned exact sessionId and precondition fields with dsh_attach_session, and never select a session by title alone. It does not fully enumerate when to prefer this tool over every sibling, but it gives strong context on how to consume the result.

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

dsh_followupA

Continue the same known BridgeTask and root DSH session instead of creating another delegation for the same work. Never guess an old task id; start a fresh delegation when no matching task id is known. queue targets the next turn; steer targets the active turn's next step. Optional semantic model routing is catalog-validated and re-read before the prompt; selection failure sends no prompt, but an attempted session.selectModel may already have persisted as the DSH global default. Omit routing to inherit. The write is never automatically retried.

NameRequiredDescriptionDefault
modeNoqueue
promptYes
taskIdYes
sinceCursorNo
modelProfileNoOptional semantic route selected and re-verified before this follow-up prompt; omit to inherit the session route. Explicit selection persists as the DSH default.
reasoningEffortNoOptional effort id advertised by the selected live session catalog model.
selectionReasonNoOptional audit explanation for the route choice; never sent to DSH.
expectedRevisionNo

TDQS

A4.4/5.0
Behavior4/5

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

The annotations show the tool is not read-only and not idempotent, but the description adds important behavioral context: the write is never automatically retried, and an attempted session.selectModel may persist as the DSH global default even when selection fails. This goes beyond what the annotations say, though it does not cover all possible side effects like auth failures or destruction.

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 dense but well organized: core purpose first, followed by a guardrail about task IDs, then mode behavior, routing caveats, and retry semantics. Each sentence earns its place and there is minimal redundancy.

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 write tool with no output schema and 8 parameters, the description covers the essential behavior needed to select the tool and make a correct call, including the no-guess rule, mode semantics, routing side effects, and no automatic retry. It is not fully complete because some non-required paramters like expectedRevision and sinceCursor remain semantically under-specified and the description does not mention what the agent should expect in return.

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?

The description adds real semantics for mode and model routing: queue targets the next turn, steer targets the active turn's next step, and routing can be omitted to inherit the session route. However, schema description coverage is low at 38%, and parameters like sinceCursor and expectedRevision are not explained in the description, leaving gaps for an agent that needs to use them.

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 states a specific action: continue the same known BridgeTask and root DSH session rather than creating a new delegation for the same work. It also gives a clear decision rule about known vs unknown task IDs, which helps distinguish the tool from sibling tools like dsh_delegate and dsh_continue.

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 explicitly says when to use the tool, when not to use it, and what to do instead: never guess an old task ID and start a fresh delegation if no matching task ID is known. It also clarifies the queue and steer modes and the consequences of selection failure, leaving little ambiguity about correct invocation.

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

dsh_host_statusA
Read-onlyIdempotent

Report the connect-only bridge state and current official DSH Web Host capabilities.

NameRequiredDescriptionDefault

No parameters

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already disclose that this is read-only and idempotent, and the description reinforces that by saying 'report.' It adds some context about what is reported but does not disclose return format or potential operational behavior such as network dependency or staleness. No contradiction exists.

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 a single, information-dense sentence with no filler. Every phrase contributes meaning, and the main subject is front-loaded.

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 zero-parameter, read-only status tool with strong annotations, this description is adequate. It could be slightly more complete by saying what shape the report takes or what counts as a 'capability,' but the operational risk and ambiguity are low.

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?

The tool takes zero parameters, so there is no parameter semantic burden on the description. The schema is empty and correctly set to disallow additional properties.

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 uses a clear verb ('Report') and names the two things being reported: the connect-only bridge state and DSH Web Host capabilities. It is reasonably specific, though it does not explicitly differentiate itself from the sibling dsh_status tool.

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 gives no guidance on when to use this tool versus alternatives like dsh_status or dsh_observe. It implies a general status-checking use case but does not state exclusions or conditions for selecting another sibling.

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

dsh_listA
Read-onlyIdempotent

List bridge task mappings enriched with current derived DSH status and bridge-local workspace claim semantics when the Host is reachable.

NameRequiredDescriptionDefault

No parameters

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already establish readOnlyHint, idempotentHint, and destructiveHint false. The description adds meaningful behavioral context by mentioning 'current derived DSH status' and 'bridge-local workspace-local claim semantics', which are beyond what annotations reveal. It also conditionally scopes enrichment to Host reachability, although it does not specify behavior when the Host is unreachable.

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 one sentence, front-loaded with the action and resource, and uses no filler. It packs the key qualifiers (status enrichment, local workspace-local semantics, Host reachability) into a compact but coherent phrase. Every element contributes meaning.

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

Completeness3/5

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

With zero parameters and no output schema, an agent relies almost entirely on this description to understand what it will get. The description says mappings are enriched, but never describes the return shape, ordering, or what happens when Host is unreachable. It is enough for basic selection, but incomplete for confidently predicting behavior.

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?

The tool has zero parameters, and the schema coverage is complete by that baseline. There is therefore no parameter-semantic gap for the description to fill. Per the rubric, zero-parameter tools receive a baseline score of 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 states a specific action and resource: 'List bridge task mappings' with enrichment. It clearly indicates this is a read-only listing of bridge task mappings, which differentiates it in topic from most siblings. However, it does not explicitly distinguish itself from dsh_find_sessions or dsh_status, so sibling differentiation is only implied.

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

Usage Guidelines3/5

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

The phrase 'when the Host is reachable' hints at an operating condition, and calling the tool after 'bridge task mappings' suggests it is for enumerating current mappings. But the description never states when the tool should be preferred over siblings or when not to use it. The usage is implied rather than explicit.

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

dsh_observeB
Read-onlyIdempotent

Compatibility observation alias. Prefer dsh_wait plus dsh_tail task cursors.

NameRequiredDescriptionDefault
taskIdYes
afterCursorNo
waitSecondsNo

TDQS

B3.2/5.0
Behavior4/5

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

The annotations already communicate read-only, idempotent, and non-destructive behavior, so the description's burden is lower. The description adds deprecation/compatibility context and indicates that the intended operation is covered by dsh_wait plus dsh_tail, which is behavior that annotations cannot express.

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?

Both sentences are short and front-loaded, and there is no wasted wording. It loses a point because the description is under-specified rather than merely concise, especially around what the compatibility alias does and how its parameters behave.

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

Completeness3/5

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

For a compatibility-only alias, the description provides adequate routing and safety context. However, because there is no output schema and the description never states what the call returns or how cursor/wait semantics behave, the overall picture is incomplete for an agent that actually needs to invoke this tool.

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

Parameters1/5

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

Schema description coverage is 0%, and the description does not compensate at all, saying nothing about taskId, afterCursor, or waitSeconds. An agent must infer the meaning of all three parameters from bare names, patterns, defaults, and constraints, which is insufficient for correct invocation.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description identifies dsh_observe as a 'compatibility observation alias' and points to dsh_wait/dsh_tail, so an agent knows roughly where it belongs. However, it never states what the observation actually does, what resource it targets, or what kind of result the agent should expect, leaving the purpose somewhat vague.

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?

"Prefer dsh_wait plus dsh_tail task cursors" is an explicit routing instruction with named alternatives, which is genuinely useful. What is missing is the corresponding 'when not to use' and 'when it is acceptable to use this compatibility alias' guidance, though 'compatibility' provides part of that context.

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

dsh_release_workspaceA
Destructive

Explicitly release this bridge task's persistent workspace claim. This does not close the DSH session or stop other clients from editing the directory.

NameRequiredDescriptionDefault
taskIdYes

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already mark the operation as non-readonly and potentially destructive, but the description adds valuable behavioral context: it releases a claim while leaving the session open and not affecting other clients' editing. This goes beyond the annotations with meaningful side-effect disclosure.

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?

Two crisp sentences deliver the core action and the key negative side effect without redundant framing. Every sentence earns its place.

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?

For a one-parameter operation with this scope, the description fully covers the action, the affected resource, and the main misinterpretation risk. The absence of an output schema does not leave a serious gap because the tool's primary purpose and non-effects are clearly stated.

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?

The schema only defines taskId with a pattern and provides no description. The tool description references 'this bridge task's persistent workspace claim,' which suggests taskId identifies the relevant bridge task, but it does not explicitly explain the parameter semantics or where the value comes from in the schema. With schema coverage at 0%, the description could compensate more.

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 uses a specific verb ('release') with a specific resource ('persistent workspace claim') and immediately clarifies the boundary ('does not close the DSH session...'). This clearly identifies what the tool does and distinguishes it from session-level or editing commands.

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 phrase 'explicitly release this bridge task's persistent workspace claim' makes the intended situation clear, and the statement about not closing the session or blocking other clients provides a useful when-not condition. It does not name alternative sibling tools, but the exclusion is clear enough.

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

dsh_resolve_approvalA
Destructive

Resolve one pending DSH sandbox-escalation approval as allow_once or reject. Never auto-allows; keep this tool behind the caller's human approval prompt before permitting allow_once.

NameRequiredDescriptionDefault
taskIdYes
outcomeYes
requestIdYes
sinceCursorNo
expectedRevisionNo

TDQS

A3.7/5.0
Behavior3/5

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

The annotations already declare destructiveHint=true, readOnlyHint=false, and idempotentHint=false. The description adds a policy-level behavioral trait: the tool does not auto-allow and must be gated by human approval. However, it does not disclose what actually changes on allow_once vs reject, such as side effects to the DSH sandbox or any return feedback.

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?

Two sentences with no filler: the first states the core action and allowed outcomes, the second gives the critical safety guardrail. It is front-loaded and all content is relevant to safe invocation.

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 5-parameter mutation with no output schema, this description is thin. It does not explain what the optional sinceCursor and expectedRevision are for, how a pending approval is selected, or what the result of resolving one is. The safety guardrail is useful, but the rest of the invocation context is missing.

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

Parameters2/5

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

Schema description coverage is 0%, so the description must compensate, but it only repeats the allow_once/reject concept from the outcome enum. It gives no semantics for taskId, requestId, sinceCursor, or expectedRevision; the agent has to rely on parameter names and schema constraints alone to understand how to identify and resolve the right pending request.

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 names a specific action ('Resolve') applied to a specific resource ('one pending DSH sandbox-escalation approval') and states the two possible outcomes ('allow_once or reject'). This is precise and clearly distinguishes the tool from the listed sibling tools, none of which are described as resolving the approval workflow.

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 gives a direct operational constraint: never auto-allow and keep the tool behind the caller's human approval prompt before using it to allow_once. This tells the agent when it is appropriate to invoke this tool. It doesn't explicitly compare against alternative tools, but no sibling appears to serve the same approval-resolving purpose.

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

dsh_statusB
Read-onlyIdempotent

Return separate availability/execution state, root and descendant sessions, queue depths, pending interactions, final message, bridge cursor/watermarks, and bridge-local workspace claim semantics.

NameRequiredDescriptionDefault
taskIdYes

TDQS

B3.4/5.0
Behavior4/5

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

The annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, so the safety profile is covered. The description adds value by revealing the shape of the returned state: separate availability/execution state, root versus descendant sessions, queue depths, pending interactions, and bridge-local workspace semantics. This clarifies what the status contains beyond what the generic read-only annotation implies.

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?

Everything is packed into one dense, roughly 30-word sentence with no filler or repeated structured data. It is front-loaded with the action 'Return' and then lists distinct pieces of state. The slash-separated enumeration is compact, though slightly harder to parse than a structured list would be.

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

Completeness3/5

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

For a read-only one-parameter tool, the description gives a good sense of what the output will cover and the input schema covers the expected ID format. However, the terms 'bridge cursor/watermarks' and 'bridge-local workspace claim semantics' are not explained, and there is no output schema to clarify the exact return representation. This leaves interpretation gaps for an agent despite the invocation being straightforward.

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?

The schema has one required parameter, taskId, with a pattern but no written semantics, and the description does not explicitly explain what taskId refers to. However, the tool name and the status content strongly imply taskId is the dsh task being inspected. The parameter is self-evident enough to be callable, but the description does not compensate for the missing parameter documentation in a meaningful way.

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 starts with a clear verb 'Return' and names a specific resource: the status object containing availability/execution state, sessions, queue depths, pending interactions, final answer, and bridge-related cursors/watermarks. It distinguishes itself from siblings like dsh_host_status and dsh_find_sessions by listing compound status content, but it does not explicitly state that the tool returns this for the given taskId.

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?

There is no guidance about when to use dsh_status versus dsh_wait, dsh_tail, dsh_observe, or dsh_continue. The description implies this is a read-only snapshot, but it never states that it is non-blocking, that it should be used for a point-in-time check, or that other tools cover waiting/tailing/observing behavior.

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

dsh_tailB
Read-onlyIdempotent

Read bounded event digests using bridge coordination cursors. Conversation content is fetched from DSH history when reachable and is never copied into bridge persistence.

NameRequiredDescriptionDefault
taskIdYes
maxBytesNo
maxEventsNo
sinceCursorNo

TDQS

B3.2/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, and non-destructive behavior. The description adds useful beyond-annotation context: content is fetched from DSH history when reachable and is never copied into bridge persistence. This helps the agent understand external reachability and data-hygiene semantics, though failure behavior when history is unreachable is not disclosed.

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?

Two sentences from the core behavior without fluff. The action, the resource, the mechanism, and the key data-handling constraint are all stated efficiently and front-loaded into the first sentence.

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?

There is no output schema, so the description is responsible for shaping an adequate mental model. It does not explain the meaning of the four parameters, how a cursor should be obtained or advanced, or what a digest structurally contains. The description is useful but not complete enough for a correct invocation beyond trial and error.

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

Parameters2/5

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

The schema description coverage is 0%, so the description must compensate for the undocumented parameters. It hints at the 'bounded' nature of maxBytes/maxEvents and at 'cursors' for sinceCursor, but it never maps these concepts to any named parameter or explains their roles. taskId remains completely unaddressed.

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 states a clear verb ('Read') and resource ('bounded event digests'), so an agent knows what the tool does. It also adds the mechanism ('bridge coordination cursors'), though it does not explicitly differentiate it from sibling tools like dsh_observe or dsh_list.

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?

There is no explicit guidance on when to use this tool versus alternatives. The phrase 'bounded event digests' implies a history/tail-style use case, but the description never states conditions, exclusions, or which sibling tool might be more appropriate. This is essentially absent guidance.

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

dsh_waitA
Read-onlyIdempotent

Wait at most 30 seconds for a new task cursor, status/availability change, terminal state, or pending interaction. It never waits for whole-task completion.

NameRequiredDescriptionDefault
taskIdYes
timeoutSecNo
sinceCursorNo

TDQS

A4/5.0
Behavior4/5

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

Annotations already indicate read-only, idempotent, and non-destructive behavior, so the description's task is lighter here. It adds useful behavior not present in the annotations: the operation is time-bounded to 30 seconds and will not keep waiting until a task completes. It also describes the event categories that trigger a return, which a caller otherwise could not infer from the schema or annotations.

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 very efficient: one sentence states the core behavior and timeframe, and the second sentence narrows expectations with an explicit negative. The wording is front-loaded so the agent sees the crucial limitations immediately. There is no filler or repetition of available structured metadata.

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 simple, read-only, idempotent wait tool with three flat parameters and no output schema, the description covers the main gaps: bounding timeout, trigger conditions, and non-completion behavior. The only shortfall is that it does not say what the tool returns when a timeout or event occurs, but this is largely inferable from a wait tool with a cursor parameter.

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 0%, so the description must compensate, but it only partially does. 'At most 30 seconds' maps clearly to timeoutSec, and 'new task cursor' hints at sinceCursor, but taskId is not explicitly described and the cursor mechanics remain vague. The parameter names and schemas are fairly self-explanatory, but the description does not fully replace the missing per-parameter documentation.

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 specific operation: wait at most 30 seconds for a new cursor, status/availability change, terminal state, or pending interaction. It does not just repeat the tool name and it explicitly bounds what it is not doing by saying it never waits for whole-task completion. It avoids naming a sibling tool, but the event categories are precise enough to separate it from status, tail, and observe tools.

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 gives a clear when-to-use context: when the agent needs to wait for cursors, state changes, terminal states, or pending interactions. The phrase 'It never waits for whole-task completion' is an explicit exclusion that prevents misuse. It does not point to a specific alternative tool, but the intended use is reasonably delineated.

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

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

  1. 15 tool updatesv0.1.0-alpha.4
    • First observeddsh_answer_question
    • First observeddsh_attach_session
    • First observeddsh_cancel
    • First observeddsh_continue
    • First observeddsh_delegate
    • First observeddsh_find_sessions
    • First observeddsh_followup
    • First observeddsh_host_status
    • First observeddsh_list
    • First observeddsh_observe
    • First observeddsh_release_workspace
    • First observeddsh_resolve_approval
    • First observeddsh_status
    • First observeddsh_tail
    • First observeddsh_wait

TDQS

A3.7/5.0

Scored across 15 tools

Disambiguation3/5

Most tools are distinct and the descriptions carefully narrow their responsibilities, but dsh_continue is an explicit compatibility alias for dsh_followup and dsh_observe blurs into dsh_wait/dsh_tail territory. The duplicated entry points are documented clearly enough that an agent can choose correctly, though they still reduce clarity.

Naming Consistency4/5

Naming is generally predictable: almost every tool uses the dsh_ prefix and snake_case, with clear action nouns like find_sessions, attach_session, resolve_approval, and release_workspace. Minor deviations such as dsh_status, dsh_list, dsh_tail, and the alias-style dsh_continue/dsh_observe keep it from being perfectly systematic.

Tool Count4/5

Fifteen tools is a reasonable size for a session/bridge management server, and the set stays around the core lifecycle area. The count is slightly inflated by the compatibility aliases dsh_continue and dsh_observe, which could be removed or hidden without losing functional scope.

Completeness4/5

The toolset covers the major workflow: find/attach sessions, delegate work, follow up, observe status, cancel work, answer questions, and handle approvals. The most obvious gap is the lack of an explicit session close/detach or full task-level teardown operation, though much of the surrounding lifecycle is present.

Maintenance

ActivitySlowing
ResponsivenessNo issues

Related MCP Connectors

Related MCP Servers