Skip to main content
Glama

hub_next

Determines the one task to work on next, filtering out tasks with open dependencies, existing claims, or owner assignment, and states why it was chosen.

Instructions

The ONE task to do now, and why it won — not a list. Picking from a list is work, and a session that has to pick tends to pick the easy one. A task whose dependencies are still open is never eligible, however loud it is. Says explicitly when the chosen one is the owner's to press rather than an agent's.

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

Input Schema

NameRequiredDescriptionDefault
forNoa role: the first ready task in the same order that this role may take. Its own task first, else one with no assignee that no other agent has claimed (task:<id>) and that passes the tag filters. The owner's tasks and tasks assigned to another role are never handed out. Returns {task, why, eligible, ready, skipped:{assigned, claimed, tags, owner}}. Not together with assignee.
projectNo
assigneeNo
onlyTagsNowith for: an unassigned task must carry at least one of these tags; the role's own tasks are not narrowed
skipTagsNowith for: a task carrying any of these tags is never handed out, the role's own included; why and skippedOwn name the own tasks kept back

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv0.9.88
    • addedInput schema / properties / for
      Added value: +{
      +  "description": "a role: the first ready task in the same order that this role may take. Its own task first, else one with no assignee that no other agent has claimed (task:<id>) and that passes the tag filters. The owner's tasks and tasks assigned to another role are never handed out. Returns {task, why, eligible, ready, skipped:{assigned, claimed, tags, owner}}. Not together with assignee.",
      +  "type": "string"
      +}
    • addedInput schema / properties / onlyTags
      Added value: +{
      +  "description": "with for: an unassigned task must carry at least one of these tags; the role's own tasks are not narrowed",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • addedInput schema / properties / skipTags
      Added value: +{
      +  "description": "with for: a task carrying any of these tags is never handed out, the role's own included; why and skippedOwn name the own tasks kept back",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
  2. Addedv0.9.0

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations, the description carries the full load and does disclose real behavior: dependency gating ('A task whose dependencies are still open is never eligible, however loud it is') and that owner-owned tasks are explicitly flagged rather than handed to an agent. It omits whether the call is read-only, whether it claims or reserves anything, and what an empty result means — significant gaps for a routing tool with no annotation coverage.

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?

Four short sentences, front-loaded with the single most important fact (one task, not a list). The middle sentence explaining why picking from a list is undesirable is mild rhetorical padding, but it earns its place by motivating the tool's design.

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?

No annotations and no output schema, with five optional parameters, so the description has to do more work than it does. It covers eligibility and owner nuance well, but leaves the default no-argument behavior, side effects, and the shape/none case of the result unexplained.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The description mentions no parameters at all and so adds no meaning beyond the input schema. At 60% coverage, 'for', 'onlyTags' and 'skipTags' are documented in the schema, but 'project' and 'assignee' are bare, and the description does nothing to compensate for them or to explain the mutual exclusion between 'for' and 'assignee'.

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 states a specific resource and scope: 'The ONE task to do now, and why it won — not a list.' That singles it out from list-shaped siblings such as hub_agenda or hub_kanban without naming them. It is slightly indirect in that it never uses a verb like 'returns' or 'recommends', but the intent 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?

It gives a rationale for when to prefer this over picking from a list ('Picking from a list is work...'), which implies the usage context. It does not name an alternative tool or state when not to use it, and it never says whether calling it here is safe before claiming, so the agent must infer the workflow.

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