Skip to main content
Glama

decide

Read-onlyIdempotent

Make one bounded decision using a resident local model, returning binary, choice, or ordered-score results and flagging when escalation is needed.

Instructions

Make one bounded decision using the resident local model.

Decision kinds are binary, choice, and ordered_score. The server only signals needs_escalation; the caller remains responsible for any escalation.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
contextYes
decisionNo
questionYes
request_idNo
confidence_thresholdNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
modelYes
resultYes
backendYes
detailsNo
confidenceNo
request_idNo
input_tokensYes
decision_typeYes
output_tokensYes
needs_escalationYes
confidence_thresholdNo
inference_latency_msNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so the safety profile is covered. The description adds meaningful behavioral context beyond annotations: the result is bounded, uses a local model, and the server only signals needs_escalation while the caller retains escalation responsibility.

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 tight sentences with no filler. The core purpose is front-loaded, and the decision-kind and escalation notes each earn their place.

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

Completeness2/5

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

With five parameters and zero schema-level property descriptions, the tool description should explain how the parameters interrelate, but it only covers decision kinds and escalation signaling. It does not mention how to provide context/question or what confidence_threshold controls, leaving a significant gap for correct invocation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, yet the description does not explain required parameters like context and question or optional ones like confidence_threshold and request_id. It only elaborates on decision kinds, which is one small part of the decision parameter, leaving most parameter semantics to inference.

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 states a specific action ('Make one bounded decision'), identifies the resource ('resident local model'), and distinguishes itself from the sibling batch_decide by emphasizing 'one'. Listing the decision kinds further clarifies the exact scope of the tool.

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

Usage Guidelines3/5

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

The 'one bounded decision' phrasing implies single-use versus batch_decide, and 'resident local model' gives context, but there is no explicit when-to-use or when-not-to-use instruction. The escalation note describes caller responsibility but not how to choose among the sibling tools.

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