Skip to main content
Glama
1C OData MCP

1C OData MCP

Проверка соединения

read.system.health_check
Read-only

Verifies 1C OData service availability and authorization for a selected database, refreshes metadata cache, and returns OData version plus visible object count. Call first when other tools return errors.

Instructions

Проверяет доступность OData-сервиса 1С и корректность авторизации для выбранной базы. Перечитывает $metadata и обновляет кеш схемы; возвращает версию OData и число видимых объектов. Вызывайте первым, если другие инструменты выдают ошибки.

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": "read.system.health_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
databaseNoИмя базы 1С из list_databases. Без указания — база по умолчанию; если баз несколько и неясно какая, спросите пользователя.

Output Schema

NameRequiredDescriptionDefault
labelNo
statusYes
baseUrlNo
databaseYes
readOnlyYes
entityCountYes
odataVersionNo
writeEnabledNo
writeJournalNo
serverVersionYes
regulatedCurrencyYes
previewMaxAgeMinutesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the description's extra value is in disclosing the side effect that it re-reads $metadata and updates the schema cache, plus that it verifies authorization (an auth-sensitive check). Return contents are partly redundant with the existing output schema, and failure semantics (what is returned or raised when the service is unreachable) are not described.

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 sentences, each doing work: what is checked, what side effect occurs, and when to call it. The operational trigger is placed last and clearly marked with 'Вызывайте первым', so the agent's routing decision is front-of-mind.

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 one-parameter read-only diagnostic with an output schema, the definition covers purpose, authorization dependence, cache refresh behavior, and invocation trigger. The only gap is failure behavior — a health-check tool should say whether failures come back as an error or as a status field, though the output schema may cover this.

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?

Only one parameter and schema description coverage is 100%, so the schema already explains that the database name comes from list_databases, defaults when omitted, and should be clarified with the user when ambiguous. The description adds no additional meaning about the parameter, so the baseline 3 applies.

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?

States a specific verb+resource pair: checks availability of the 1C OData service and authorization correctness for the selected database, plus refreshes the $metadata schema cache and returns OData version and visible object count. This is unmistakably a diagnostic/health-check tool, distinguishable from data-reading siblings such as read.system.data_freshness or read.analytics.* reports.

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?

Gives an explicit trigger: 'Вызывайте первым, если другие инструменты выдают ошибки' — call it first when other tools error. That is actionable when-to-use guidance tied to real agent failure modes. It does not state when NOT to use it (e.g., that it is pointless as a routine pre-flight) or name a contrasting alternative, so it stops short of full routing guidance.

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

Deploy Server

Other Tools