Skip to main content
Glama

Disconnect Worker Session

solvewall_worker_disconnect
Idempotent

Close all active worker shard WebSockets and stop heartbeat pings to cleanly disconnect a worker from the solvewall-mcp task system.

Instructions

Close all active worker shard WebSockets and stop heartbeat pings.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true and destructiveHint=false, so the safety profile is known. The description adds real context beyond that by naming the concrete effects — closing WebSocket connections and stopping heartbeat pings — and scoping them to 'all active' shards. It stops short of saying whether the worker session itself is terminated or how in-flight work is handled.

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?

A single sentence with no wasted words, and the effect is front-loaded on the verb 'Close' followed by the affected resources.

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 no-parameter teardown tool with no output schema, the description covers what it does and what it affects. The remaining gap is lifecycle context — whether the worker can reconnect afterward and what happens to in-flight tasks — which matters for a disconnect operation.

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 zero parameters, so the baseline is 4. Nothing in the schema needs elaboration, and the description correctly implies the operation applies to all active shards with no targeting options.

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 verb and resource: closes all active worker shard WebSockets and stops heartbeat pings. The action is unmistakable and clearly distinct from the connect sibling, though it never names an alternative.

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?

There is no explicit when-to-use or when-not-to-use guidance. The agent must infer that this is the teardown step after finishing worker tasks, and nothing warns about consequences such as losing an in-flight shard or whether the session can be resumed.

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