Skip to main content
Glama

aiworkhub_manager_loop_status

Read-only

Check the active Manager Chat session, whether a turn is running, queued owner sends, and the last turn outcome; also read the repository-wide session catalog to find sessions in other processes.

Instructions

MANAGER READ: the active session, whether a turn is running, queued owner sends, and the last turn's outcome.

session is the Manager Chat session that this MCP server process's own orchestrator holds. It is null when the active session runs in another process, such as the VS Code panel's. sessions is the repository-wide session catalog across processes. Read it, or aiworkhub_manager_loop_events, to see a panel session.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint=false, so the safety profile is covered. The description adds genuinely non-obvious behavior beyond that: `session` is process-scoped and will be null when the active session belongs to another process, while `sessions` is a repository-wide cross-process catalog. This null-case is exactly the kind of trap an agent would otherwise misread as 'no active session'.

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 return contents are front-loaded in the first sentence, with the process-scope caveat following. The second paragraph is dense but every sentence resolves an ambiguity an agent would hit with this tool. Minor cost: the multi-line inline formatting is heavier than needed for two short clarifications.

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 not be re-explained, and the description correctly focuses on the one thing structured fields cannot convey: which process's session the result reflects. For a zero-parameter read tool this is close to complete, with only task-level timing guidance (e.g. when in the loop to poll) left implicit.

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, and the description correctly spends no words on inputs. Baseline 4 applies since there is nothing for the description to compensate for.

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 a specific read operation and enumerates exactly what it returns: the active session, whether a turn is running, queued owner sends, and the last turn's outcome. It also disambiguates the `session` vs `sessions` keys, so an agent knows precisely what resource this covers rather than guessing from the tool name.

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 an explicit routing rule for the key ambiguous case: if the session you care about lives in another process (e.g. the VS Code panel), read `sessions` here or use aiworkhub_manager_loop_events instead. It lacks broader 'call this before/after X' guidance, but the one condition that matters for selecting this tool is stated.

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