util_batch_completion_gate
Batch Completion Gate checks terminal item coverage and minimum success fraction from bounded caller-supplied values without an external provider. Call Batch Completion Gate before an agent hands structured data or a batch plan to a downstream tool with a stricter contract. Returns the bounded tr...
This record as markdown: /tools/io-github-davidmosiah-delx-protocol/util-batch-completion-gate.md
What util_batch_completion_gate does on Delx Protocol — Agent Recovery & Continuity
AI agents use util_batch_completion_gate to create or update resources in Delx Protocol — Agent Recovery & Continuity, usually the action step of a workflow, after the agent has gathered context. Every call changes real data in your Delx Protocol — Agent Recovery & Continuity environment.
| Parameter | Type | Required | Description |
|---|---|---|---|
total | integer | Yes | Total supplied to Batch Completion Gate; used only for this bounded calculation and processed in memory without retention. |
failed | integer | Yes | Failed supplied to Batch Completion Gate; used only for this bounded calculation and processed in memory without retention. |
pending | integer | Yes | Pending supplied to Batch Completion Gate; used only for this bounded calculation and processed in memory without retention. |
succeeded | integer | Yes | Succeeded supplied to Batch Completion Gate; used only for this bounded calculation and processed in memory without retention. |
minimum_success_fraction | number | Yes | Minimum Success Fraction supplied to Batch Completion Gate; used only for this bounded calculation and processed in memory without retention. |
Parameters from the server's own tool schema.
Why util_batch_completion_gate is rated Medium
An AI agent can call util_batch_completion_gate faster than any human can review: one bad instruction and it creates or modifies resources in Delx Protocol — Agent Recovery & Continuity by the hundred, each call as confident as the last.
Attacks that exploit this kind of access
The rule that runs util_batch_completion_gate safely
PolicyLayer is an MCP gateway: it sits between your AI agents and Delx Protocol — Agent Recovery & Continuity, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For util_batch_completion_gate, this is the rule to start with:
util_batch_completion_gate stays usable, but capped: an agent stuck in a loop can't make hundreds of changes a minute. Everything else on the server is denied unless you say otherwise.
The button opens the PolicyLayer dashboard: create your workspace, connect Delx Protocol — Agent Recovery & Continuity, apply this rule, and every util_batch_completion_gate call is checked against it from then on.
Questions about util_batch_completion_gate
Batch Completion Gate checks terminal item coverage and minimum success fraction from bounded caller-supplied values without an external provider. Call Batch Completion Gate before an agent hands structured data or a batch plan to a downstream tool with a stricter contract. Returns the bounded transformation or validation finding with counts, normalized values, and a versioned result contract for Batch Completion Gate as versioned deterministic JSON. Limitation: Processes bounded caller-supplied data in memory only; it performs no file fetch, database write, code execution, or retention. It is categorised as a Write tool in the Delx Protocol — Agent Recovery & Continuity MCP Server, which means it can create or modify data. Consider rate limits to prevent runaway writes.
util_batch_completion_gate accepts 5 parameters: total, failed, pending, succeeded, minimum_success_fraction. Required: total, failed, pending, succeeded, minimum_success_fraction. The full parameter table on this page comes from the server's own tool schema.
Register the Delx Protocol — Agent Recovery & Continuity MCP server in PolicyLayer and add a rule for util_batch_completion_gate: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Delx Protocol — Agent Recovery & Continuity. Nothing to install.
util_batch_completion_gate is a Write tool with medium risk. Write tools should be rate-limited to prevent accidental bulk modifications.
Yes. Add a rate_limit block to the util_batch_completion_gate rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for util_batch_completion_gate. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
util_batch_completion_gate is provided by the Delx Protocol — Agent Recovery & Continuity MCP server (https://api.delx.ai/v1/mcp?src=registry). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on Delx Protocol — Agent Recovery & Continuity, and thousands of servers like it.
Across the catalogue