Skip to main content
Glama

batch_decide

Read-onlyIdempotent

Make multiple bounded decisions in one MCP request with shared or per-item contexts, returning structured choices (binary, choice, ordered score).

Instructions

Make ordered bounded decisions in one MCP request.

Supply shared_context and omit item contexts, or omit shared_context and give every item its own context. This is API batching, not parallel inference.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
itemsYes
failure_policyNofail_fast
shared_contextNo
response_detailNocompact
confidence_thresholdNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
itemsYes
modelYes
backendYes
metricsYes
failure_policyYes
response_detailYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already establish read-only, idempotent, and non-destructive behavior, so the bar is lower. The description adds meaningful behavioral context by stating decisions are 'ordered' and that this is 'API batching, not parallel inference,' which is not captured by annotations.

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 three sentences, front-loads the main purpose, and contains no filler. The either/or context rule is concise and directly actionable.

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?

The description covers the core batching semantics and the key context-mode constraint, and an output schema exists to describe return values. However, for a 5-parameter tool with several enums, it leaves failure_policy and response_detail semantics implicit and does not differentiate from the `decide` sibling.

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?

With 0% schema description coverage, the description must compensate for parameter meaning. It usefully clarifies the shared_context vs. item-context relationship, but it does not explain failure_policy, response_detail, or confidence_threshold beyond their names and enum values.

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 action and resource: 'Make ordered bounded decisions in one MCP request.' It clearly conveys batch scope and distinguishes itself from parallel inference, though it does not explicitly contrast with the sibling `decide` tool.

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

Usage Guidelines4/5

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

It gives an explicit either/or usage rule: supply `shared_context` and omit item contexts, or omit `shared_context` and provide per-item contexts. It does not state when to prefer this over `decide` or `filter`, but the batching context is clear.

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

Deploy Server

Other Tools