Skip to main content
Glama

Connect Worker to Shard Queues

solvewall_worker_connect

Authenticate as a Solvewall worker using an API key, session cookie, or email and password, then open WebSocket connections to shard dispatchers for receiving assigned tasks.

Instructions

Authenticate as a Solvewall worker (via worker API key, swl_sess cookie, or email+password) and open WebSocket connections to the shard dispatchers.

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_connect"
  }
}

Input Schema

NameRequiredDescriptionDefault
emailNoWorker account email (defaults to SOLVEWALL_WORKER_EMAIL)
apiKeyNoWorker API key (defaults to SOLVEWALL_WORKER_API_KEY)
shardsNoNumber of shard WebSockets to open (default 4)
passwordNoWorker account password (defaults to SOLVEWALL_WORKER_PASSWORD)
sessionCookieNoExisting swl_sess cookie value (defaults to SOLVEWALL_WORKER_SESSION)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare openWorldHint=true and readOnlyHint=false, but the description adds substantial context beyond them: three distinct credential paths and the fact that this opens persistent WebSocket connections to shard dispatchers, which is a stateful side effect the annotations do not convey. It stops short of disclosing what happens on a repeat call (idempotency), whether existing connections are replaced, or any connection-lifecycle/cleanup expectations.

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 tight sentence that front-loads the authentication step and then the connection outcome, with zero filler or restated name/title wording.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema and no annotations covering statefulness, the description should say what the caller gets back (session handle, shard IDs, connection count) and whether the call blocks or must precede other worker calls. It covers auth and connection opening adequately for a moderately complex, stateful tool, but leaves the return value and lifecycle underspecified.

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 schema already documents each credential's environment-variable default and the shard maximum of 8. The description only restates the auth tuple at a high level, adding no syntax, precedence rules for conflicting credentials, or shard-count tradeoff guidance. Baseline 3 is appropriate when the schema carries the detail.

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 names two specific actions (authenticate as a worker, open WebSocket connections to shard dispatchers) with concrete auth mechanisms, which clearly separates it from siblings like solvewall_worker_disconnect or solvewall_worker_next_task. An agent can identify this as the session-establishing call without opening the schema.

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 implied by the verbs: you authenticate and open connections, so presumably this precedes task-fetching calls. However, there is no explicit when-to-use statement, no mention that this must precede solvewall_worker_next_task/submit, no guidance on when to call solvewall_worker_disconnect, and no indication of which of the three auth methods to prefer.

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