Skip to main content
Glama

Get Next Todo

get_next_todo
Read-onlyIdempotent

Retrieves the highest-priority open, unarchived to-do to work on next, skipping blocked, in-progress, and finished items; optionally restrict results to one board.

Instructions

The to-do to work on next: the highest-priority open, unarchived to-do.

Blocked, in-progress and finished to-dos are skipped. Use it for "what should I do next" rather than listing to-dos and choosing.

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

Input Schema

NameRequiredDescriptionDefault
board_idNoRestrict to one board, by its id or its key (e.g. MAG); omit to consider every actionable to-do across all boards in the workspace.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.1

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already cover safety (readOnlyHint=true, idempotentHint=true, openWorldHint=false), yet the description adds real behavioural content: the eligibility filter (open, unarchived, not blocked/in-progress/finished) and the priority ranking that determines the pick. It does not say what happens when nothing qualifies, which is the only notable behavioural gap.

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?

Three short sentences, front-loaded with the identity of the returned item, then the exclusion rules, then the routing advice. No filler or restatement of the title.

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 an output schema present and one fully described optional parameter, the description only needs to explain selection logic, which it does. The remaining gap is the empty-result case (no open to-dos), which an agent calling this tool would reasonably want to anticipate.

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?

The single optional board_id parameter is fully documented in the schema, including id-or-key syntax and the omit-for-all-boards default, so the schema carries the weight. The description adds no parameter meaning of its own, which is the expected baseline given 100% schema description coverage.

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 the resource and the exact selection rule: 'the highest-priority open, unarchived to-do.' An agent immediately knows this is a single-item retrieval with ranking semantics, which is clearly different from the enumeration behaviour of list_todos.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives an explicit use case ('what should I do next') and an explicit alternative to reject ('rather than listing to-dos and choosing'). The first sentence also declares a when-not condition by excluding blocked, in-progress and finished items.

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