Skip to main content
Glama
1C Syntax Check MCP
by phsin

Проверить конфигурацию 1С

check_configuration
Idempotent

Validates 1C:Enterprise configurations, extensions, XML dumps, and infobases by loading them into a temporary database and executing syntax checks, returning structured diagnostics.

Instructions

Загружает конфигурацию (.cf или XML) во временную базу и выполняет /CheckModules или /CheckConfig.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "source": "<source>"
    },
    "name": "check_configuration"
  }
}

Input Schema

NameRequiredDescriptionDefault
modesNoРежимы проверки; по умолчанию ThinClient и Server
sourceYes
waitSecNoСколько секунд ждать результата до возврата runId; по умолчанию 30
extendedNoДобавить -ExtendedModulesCheck
fullCheckNoВыполнить /CheckConfig вместо /CheckModules
timeoutSecNoТаймаут проверки в секундах
configChecksNoФлаги /CheckConfig; по умолчанию ConfigLogIntegrity и IncorrectReferences
keepWorkspaceNoНе удалять временную информационную базу

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior4/5

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

Annotations declare readOnlyHint=false and idempotentHint=true, which could confuse an agent for a 'check' tool; the description resolves this by disclosing that it materializes a temporary infobase and executes platform check commands, explaining the side effect. It does not mention execution time, resource cost, or that the temporary base is retained via keepWorkspace, but the core behavioral surprise is covered.

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?

It is a single front-loaded sentence with no filler, and the essential scope (source format plus what checks run) comes first. It is arguably too terse for an eight-parameter tool with a nested source object, but nothing in the sentence is wasted.

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 an eight-parameter, nested-schema tool with no output schema, the description omits the asynchronous execution model implied by waitSec, runId, and the get_run/cancel_run siblings, and never says how to retrieve results. It also omits any prerequisite or failure context. This is adequate to call the tool but not complete for an agent orchestrating it.

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 88%, so the schema already documents modes, fullCheck, extended, waitSec, and keepWorkspace. The description's mention of '.cf or XML' and '/CheckModules or /CheckConfig' merely echoes the source.kind and fullCheck parameters without adding format or behavior detail. Baseline 3 is appropriate when the schema carries the semantics.

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 gives a specific verb+resource pair: it loads a configuration (.cf or XML) into a temporary infobase and runs /CheckModules or /CheckConfig. That is concrete enough to separate it from extension-oriented checks at a glance. However, it never explicitly contrasts itself with check_extension or check_all_extensions, so the differentiation is only implicit in the file types mentioned.

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?

Usage is implied rather than stated: the '.cf or XML' phrasing hints that this tool is for whole configurations while sibling tools handle extensions, but no explicit when-to-use or when-not-to-use rule is given. There is also no stated prerequisite (1C platform availability, absolute path requirement) beyond what the schema says. The agent must infer the routing decision.

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