Skip to main content
Glama

Delimit Loop Config

delimit_loop_config

Set safeguards for an autonomous build loop before starting: define max iterations, cost cap, error threshold, and approval policy. Pass only fields to change; only non-empty values are applied.

Instructions

Configure autonomous build loop safeguards.

When to use: BEFORE starting a loop session — to set max iterations, cost cap, error threshold, approval policy. When NOT to use: to read loop metrics (use delimit_loop_status) or drive the loop (delimit_build_loop).

Sibling contrast: delimit_loop_status reads metrics; delimit_build_loop runs; this configures the policy.

Side effects: writes the loop session config via ai.loop_engine.loop_config. Only non-zero/non-empty values are applied — pass just the fields you want to change.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
statusNoSet loop status — "running", "paused", "stopped".
cost_capNoMax session cost in dollars. Default 5.0.
session_idNoSession to configure. Empty = create new.
auto_consensusNoIf True, suggest consensus when ledger empty.
max_iterationsNoMax tasks before stopping. Default 50.
error_thresholdNoConsecutive errors before circuit-breaker trips. Default 3.
require_approval_forNoComma-separated action types requiring human approval.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Changed7 schema fields changedv4.7.9
    • changedInput schema / properties / auto_consensus / description
      Previous value: -"If True, suggest consensus when ledger is empty."New value: +"If True, suggest consensus when ledger empty."
    • changedInput schema / properties / cost_cap / description
      Previous value: -"Max cost in dollars before stopping (default 5.0)."New value: +"Max session cost in dollars. Default 5.0."
    • changedInput schema / properties / error_threshold / description
      Previous value: -"Consecutive errors before circuit breaker trips (default 3)."New value: +"Consecutive errors before circuit-breaker trips. Default 3."
    • changedInput schema / properties / max_iterations / description
      Previous value: -"Max tasks before stopping (default 50)."New value: +"Max tasks before stopping. Default 50."
    • changedInput schema / properties / require_approval_for / description
      Previous value: -"Comma-separated list of action types requiring human approval."New value: +"Comma-separated action types requiring human approval."
    • changedInput schema / properties / session_id / description
      Previous value: -"Session to configure. Creates new if empty."New value: +"Session to configure. Empty = create new."
    • changedInput schema / properties / status / description
      Previous value: -"Set loop status: running, paused, stopped."New value: +"Set loop status — \"running\", \"paused\", \"stopped\"."
  2. Addedv4.5.5

TDQS

A4.9/5.0
Behavior5/5

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

The description discloses that this tool writes loop session config via ai.loop_engine.loop_config and reveals the partial-update behavior: only non-zero/non-empty values are applied. This adds meaningful behavioral context beyond the readOnlyHint/destructiveHint annotations, especially the pass-only-what-you-want-to-change rule.

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?

The description is compact, scannable, and front-loaded with the core purpose. Every section earns its place: purpose, usage timing, exclusions, sibling contrast, and side effects. No filler or repetition.

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?

Given the seven optional parameters, the rich schema descriptions, and an output schema, the description covers everything an agent needs: what the tool does, when to use it, what it writes, and how the config update behaves. The partial-update caveat is especially valuable and not inferable from the schema alone.

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?

Schema description coverage is 100%, so the schema already documents each parameter. The description adds important cross-cutting semantics by explaining that non-zero/non-empty values are applied and only changed fields need to be passed, which clarifies the optional/default param behavior.

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 clearly states a specific verb ('Configure') and resource ('autonomous build loop safeguards'), and distinguishes itself from delimit_loop_status (reads metrics) and delimit_build_loop (runs the loop). An agent can immediately tell what this tool does and what it does not do.

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?

Explicit 'When to use' and 'When NOT to use' sections name the exact alternative tools and the condition that selects between them. The instruction to call this BEFORE starting a loop session provides clear timing guidance.

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