Skip to main content
Glama

delimit_next_task

Fetch the next high-priority task with safeguard checks for cost and error limits. Stops when thresholds are exceeded.

Instructions

Get the next task to work on with safeguard checks.

When to use: inside a loop session, to fetch the highest-priority open task with safeguard checks (cost cap, error threshold). When NOT to use: to mark a task done (use delimit_task_complete) or list all tasks (delimit_ledger_list).

Sibling contrast: delimit_task_complete closes + advances; delimit_ledger_list is general listing; this is the loop fetch that may return STOP.

Side effects: read-only on the ledger. Returns action: BUILD, CONSENSUS (queue empty), or STOP (safeguard tripped).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ventureNoProject name or path. Empty = auto-detect.
max_riskNoMax risk level — "low", "medium", "high", "critical".
session_idNoResume existing session. Empty = new.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

Discloses side effects as 'read-only on the ledger' and mentions possible return actions (BUILD, CONSENSUS, STOP) including safeguard tripping. With no annotations, this provides good behavioral context, though could detail more about caching or concurrency.

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?

Well-structured with headings (When to use, When NOT to use, Sibling contrast, Side effects), front-loaded with the main purpose, and concise without superfluous information.

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

Completeness5/5

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

Covers usage context for a loop fetch, mentions return actions (covered by output schema), and with 0 required parameters, the description is comprehensive enough for an agent to invoke 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% and descriptions are adequate. The description doesn't add extra parameter-specific details beyond the schema, so it meets the baseline but doesn't exceed.

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?

Clearly states 'Get the next task to work on with safeguard checks' and contrasts with siblings delimit_task_complete (mark done) and delimit_ledger_list (list all), making the purpose specific and distinguishable.

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?

Explicitly provides when to use ('inside a loop session') and when NOT to use ('to mark a task done' or 'list all tasks'), along with sibling contrasts, giving clear usage boundaries.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/delimit-ai/delimit-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server