Skip to main content
Glama
mcp-1c-local-bridge

mcp-1c-local-bridge

by ntappw

test_close

Closes the testing client connected via test_connect; if unsaved changes block closure, it leaves save prompts for handling through test_steps rather than answering blindly.

Instructions

Закрывает клиент тестирования, подключённый test_connect. Если в его окнах остались несохранённые изменения, клиент не закрывается: на вопрос о сохранении мост вслепую не отвечает - закройте такие окна шагами test_steps (close, затем click по кнопке ответа).

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": "test_close"
  }
}

Input Schema

NameRequiredDescriptionDefault
exitNotrue - закрыть клиент тестирования; false - только разорвать соединение, клиент оставить.
sessionNoСеанс моста: идентификатор из sessions или часть строки соединения, имени конфигурации, пользователя. Не указан - единственный открытый сеанс.
timeoutNoСколько секунд ждать ответ. Команда, которую обработка не начала за это время, снимается; начатая выполняется дальше, её результат забирается инструментом result.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.6.0

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations, the description carries the disclosure burden and does provide a real behavioral trait beyond the schema: the tool refuses to answer save dialogs blindly and will silently decline to close when unsaved changes exist, leaving the workaround to test_steps. It does not describe permission requirements, what happens to the client's state after closing, or side effects on the session, which keeps it from a 5.

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?

The purpose is front-loaded and every clause earns its place: what it closes, the failure condition, and the recovery path. The dash-heavy, nested phrasing ('на вопрос о сохранении мост вслепую не отвечает - закройте такие окна шагами...') is slightly convoluted but not wasteful.

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?

An output schema exists, so return values need no explanation, and the description covers the tool's main non-obvious hazard (unsaved changes blocking closure) plus the recovery procedure. It leaves some gaps for a session-aware, timeout-bearing tool, such as behavior when the named session does not match or what state remains after exit=false, but nothing essential to invoking it correctly is missing.

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%, and the three parameters (exit, session, timeout) are each thoroughly documented in the schema, including the exit=false 'only drop the connection' distinction and the timeout cancellation semantics. The description adds no parameter-level meaning beyond that, 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?

The description opens with a specific verb and resource ('Закрывает клиент тестирования'), ties it to the tool that created that client (test_connect), and names the sibling (test_steps) that handles the situation this tool cannot. An agent can distinguish it from test_connect and test_steps without opening any schema.

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?

It gives a clear when-to-use (close the client opened by test_connect) and an explicit when-not: if unsaved windows remain, this tool will not close the client and the agent should instead use test_steps (close, then click the answer button). It does not discuss other siblings such as cancel or sessions, so it falls short of a full alternatives map, but the guidance is concrete and actionable.

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