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

Параметры окружения

environment
Read-onlyIdempotent

Inspect the 1C:Enterprise runtime setup by reporting platform path and version, working directory, allowed roots, and configuration errors.

Instructions

Показывает путь и версию платформы из параметров запуска, рабочий каталог, разрешённые корни и ошибки конфигурации.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "environment"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds value by naming the concrete data the agent will get back (launch path/version, cwd, allowed roots, config errors), which matters because there is no output schema. It does not say whether errors are reported as data or as a failure, but otherwise the behavior is clear.

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 sentence that front-loads the action and then lists the returned items, with no filler. Slightly list-like rather than structured, but nothing is wasted.

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 inspection tool with no output schema, the description carries the return-value burden and does so by enumerating the reported items. An agent knows enough to call it and interpret the result, though it lacks detail on output shape or ordering.

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 no parameters at all, so there is nothing for the description to disambiguate. The baseline for a zero-parameter schema 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?

The description uses a specific verb ('Показывает' / shows) and enumerates exactly what is reported: platform path and version from launch parameters, working directory, allowed roots, and configuration errors. It is clearly a read-only diagnostic of the runtime environment. It does not, however, differentiate itself from the sibling 'check_configuration', which plausibly overlaps with the 'configuration errors' portion.

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 only implied: the enumerated diagnostics suggest 'call this to inspect how the process was launched and configured'. There is no explicit when-to-use, no when-not-to-use, and no pointer to the sibling tools that might cover part of the same ground.

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