Skip to main content
Glama

trustlayer

confidence_gate

Decision gate for agents: should I proceed, exercise caution, abstain, or escalate? Evaluates multi-factor confidence for a specific action type (cite, trade, report, recommend) against a threshold.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
symbolYesToken to evaluate
action_typeNoWhat the agent wants to do: cite, trade, report, recommendcite
min_confidenceNoMinimum confidence to proceed (0-100, default: 70)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior2/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It mentions evaluating confidence against a threshold and asks 'should I proceed, exercise caution, abstain, or escalate?', but it does not clearly state the output format, what triggers each outcome, or any side effects. The agent is left guessing about the exact response structure.

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 two sentences long, opens with a clear purpose, and includes no unnecessary words. The second sentence adds specific detail about the evaluation context (action types and threshold) without bloat.

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?

The tool has no output schema and no annotations, so the description alone must explain return values. The hint about 'proceed, exercise caution, abstain, or escalate' suggests categorical outputs but remains vague. An agent cannot confidently act on the tool's result without explicit output documentation.

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 100%; each parameter (symbol, action_type, min_confidence) already has a description. The tool description adds no new meaning beyond restating action types ('cite, trade, report, recommend') already present in the schema. Baseline 3 is appropriate.

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 identifies the tool as a 'Decision gate for agents' and explains what it evaluates (multi-factor confidence for specific action types against a threshold). This distinct verb+resource framing distinguishes it from sibling verification tools like verify_claim or hallucination_check, which focus on factual validation rather than action decisions.

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 description implies when to use the tool ('Decision gate for agents') but does not provide explicit guidance on when not to use it or how it relates to alternatives such as agent_reputation or trust_status. Usage context is implied rather than explicitly stated.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources