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

Проверить все расширения ИБ

check_all_extensions
Idempotent

Runs syntax checks across all extensions in a specified 1C:Enterprise file infobase using /CheckModules -AllExtensions, returning diagnostics to validate extension code.

Instructions

Выполняет /CheckModules -AllExtensions для указанной информационной базы.

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": {
      "path": "<path>"
    },
    "name": "check_all_extensions"
  }
}

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

Annotations already declare not-readOnly, idempotent, non-destructive, and the schema implies a temp workspace via keepWorkspace. The description adds nothing about the critical async behavior: waitSec returns a runId that must be polled with get_run and can be cancelled with cancel_run. For a long-running job tool this is a major undisclosed trait.

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?

A single front-loaded sentence with no filler or redundancy. It is efficient, but its brevity comes at the cost of the behavioral detail noted elsewhere.

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?

Seven parameters, no output schema, and an asynchronous run/poll/cancel lifecycle that the description never explains. It also omits that fullCheck silently changes the operation from module checking to configuration checking, which an agent could trigger unknowingly.

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

Parameters3/5

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

Schema description coverage is 100%, so all seven parameters are documented by the schema itself. The description contributes no extra meaning beyond 'for the specified infobase', which merely restates the required path. Baseline 3 applies.

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?

States a specific action and scope: runs /CheckModules with -AllExtensions against a named infobase. The '-AllExtensions' qualifier implicitly distinguishes it from the singular check_extension sibling, though no sibling is named explicitly.

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?

No guidance on when to pick this over check_extension or check_configuration, and no mention of the prerequisite that the path must be a file infobase. The only routing hint (fullCheck switches to /CheckConfig) lives in the schema, not the description.

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