Skip to main content
Glama

classify_decision

Turn an uncertain decision into a confidence-scored route among explicit choices, with a thresholded recommendation to proceed, review deeper, or request human input. Advisory only.

Instructions

Return an advisory, confidence-gated route for a bounded decision. This tool never executes the route.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
stateYesCompact evidence available before the next action.
choicesYes
decisionYesThe decision to make.
errorCostYesImpact if the selected route is wrong.
thresholdNoMinimum confidence required for a recommendation.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations provided, the description carries the full behavioral burden and does disclose one significant trait: 'This tool never executes the route.' Yet it leaves the confidence-gating behavior unexplained—particularly what happens when confidence falls below the threshold—and omits side effects and response semantics, which matter for an advisory tool.

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?

Two sentences with zero filler: the core purpose is front-loaded, and the critical behavioral caveat follows immediately. Every word earns its 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?

For a 5-parameter tool with no output schema and no annotations, the description leaves key runtime behavior unexplained—most notably what happens when confidence is below the default 0.95 threshold and what the returned advisory route actually looks like. An agent would have to guess at the return shape and fallback behavior.

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 description coverage is 80%, so the schema already documents most parameters, giving a baseline of 3. The description adds no per-parameter value and does not connect concepts like 'threshold' and 'errorCost' to the 'confidence-gated' behavior described.

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 uses a specific verb ('Return') and a specific resource ('advisory, confidence-gated route for a bounded decision'), making the tool's advisory, non-executing purpose clear. With no sibling tools to differentiate from, it cannot distinguish itself from alternatives, but the core meaning is unambiguous.

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 phrase 'for a bounded decision' provides implied usage context, and 'never executes the route' hints it is for advice only. However, there is no explicit when-to-use guidance, no prerequisites, and no exclusions—though the absence of sibling tools lowers the need for alternative-routing.

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