Skip to main content
Glama
BaniBaushev
by BaniBaushev

Edtb Epf Scaffold

edtb_epf_scaffold

Create a scaffold for a 1C:EDT external data processor or report with object module stubs, a stub form, and registration in Configuration.mdo. Supports optional BSP modules and dry-run planning.

Instructions

Сгенерировать каркас внешней обработки/отчёта (GAP-EPF-ROOT).

Создаёт в src/ExternalDataProcessors|ExternalReports/<name>/: корневой <name>.mdo (валидный EDT XML, producedTypes/ containedObjects, uuid4), ObjectModule.bsl (стабы БСП СведенияОВнешнейОбработке при withBspModules), stub формы Forms/Форма/Form.form + Module.bsl. Регистрирует объект в Configuration.mdo (externalObjects), затем resync.

Параметры: name: имя объекта (идентификатор 1С). kind: "ExternalDataProcessor" или "ExternalReport". withBspModules: добавить ли БСП-стабы в модуль объекта. projectPath: корень EDT-проекта (иначе EDTB_PROJECT_PATH). dryRun: вернуть план без применения.

Возвращает: dict с полями ok, plan/files, warnings.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
kindNoExternalDataProcessor
nameYes
dryRunNo
projectPathNo
withBspModulesNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations, the description carries the full burden of behavioral disclosure. It does this well by explicitly stating that the tool creates files, registers the object in Configuration.mdo, performs a resync, and supports a dryRun mode to return a plan without applying changes. It stops short of describing overwrite or idempotency behavior, but the main side effects are clearly exposed.

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 appropriately sized for a complex scaffold operation and is well structured: purpose, concrete effects, parameters, and return value. Every section adds necessary information, and the first line is a crisp summary of the tool's purpose.

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 no-annotation tool with five parameters and no schema-level parameter descriptions, the description is substantially complete: it names target paths, generated files, configuration registration, dryRun behavior, and return fields. It could add edge-case expectations such as behavior when the object already exists, but nothing critical for invoking the tool correctly is missing.

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

Parameters5/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, and it fully does. It explains all five parameters: name, kind with the two exact allowed values, withBspModules, projectPath including the EDTB_PROJECT_PATH fallback, and dryRun. This adds substantial meaning beyond the raw schema.

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 object: 'Сгенерировать каркас внешней обработки/отчёта' and then enumerates the exact artifacts created and where. This clearly differentiates it from sibling tools like edtb_form_compile, edtb_mxl_decompile, and edtb_cf_artifact.

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 intended use case is clear from the description: create a scaffold for a new external data processor or report. However, it never explicitly states when to prefer this tool over alternatives such as edtb_plan_mutations or edtb_apply_mutations, nor does it provide when-not-to-use guidance.

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