Skip to main content
Glama

Wait for Next Worker Task

solvewall_worker_next_task

Marks the worker idle, waits for the next task assigned from the Solvewall shard queue, and returns task metadata with an optional image payload.

Instructions

Mark the worker idle and wait for the next assigned task pushed from the Solvewall shard queue. Returns task metadata and optionally attaches the image payload as a native MCP image content block.

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

Input Schema

NameRequiredDescriptionDefault
timeoutMsNoMax wait time in ms (default 15000)
includeImageNoWhen the task has an imageUrl, download and return it as an MCP image content block

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.8/5.0
Behavior4/5

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

The description adds real context beyond the annotations: it discloses that the call mutates worker state (marks the worker idle), consistent with readOnlyHint=false, and that it returns task metadata with an optional native image block. The main gap is what happens when the timeout elapses with no task (empty result, error, or retry), which matters for a long-poll.

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?

Two sentences, both load-bearing, with the state change and queue source front-loaded ahead of the return-value note. Nothing is redundant or padded.

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?

With no output schema, the description correctly takes on the return contract by describing task metadata plus the optional image block. For a blocking long-poll tool it should also cover timeout behavior and whether a fetched task is exclusively leased, but otherwise it is complete enough to call correctly.

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 coverage is 100%, so both timeoutMs and includeImage are already documented with defaults and bounds. The description only reinforces includeImage by describing the image content block, and implies waiting via timeoutMs without adding format or edge-case detail. Baseline 3 is appropriate when the schema does the heavy lifting.

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 gives a specific verb-plus-resource statement: mark the worker idle and wait for the next task pushed from the Solvewall shard queue. That clearly separates it from submit/report/status siblings, which do not hand out work. It stops short of naming a sibling alternative, but the operation is unambiguous.

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 rather than stated: an agent can infer it should call this when idle and needing work from the queue. There is no explicit when-not guidance (for example, not to call it while holding an unsubmitted task) and no named alternative for checking status instead.

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