Skip to main content
Glama

Judge whether a situation belongs in the Decision Log

decision_log_guidance

Determines if a decision should be logged based on escalation, cross-cutting resolution, multiple ticket impact, architectural override, or session confinement. Returns logging guidance and entry template when applicable.

Instructions

Encode the Decision-Log 'when to use it' rules. Set whichever apply: escalation_fired, gate_resolved_cross_cutting, affects_multiple_tickets, override_architectural, confined_to_one_session. Returns { should_log, reason, entry_template? }; when should_log is true the Context/Trigger/Decision/Rationale/Affects skeleton is returned. A decision confined to one session does not need an entry — the session notes suffice.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
escalation_firedNo
override_architecturalNo
confined_to_one_sessionNo
affects_multiple_ticketsNo
gate_resolved_cross_cuttingNo
Behavior4/5

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

Without annotations, the description carries full burden. It discloses the return structure (should_log, reason, entry_template) and behavior when should_log is true. It does not cover auth or side effects, but the tool appears non-destructive and the description provides sufficient behavioral context for an agent.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single paragraph that efficiently conveys purpose, usage, and behavior. It is front-loaded with the main action. While it could be broken into clearer sections, there is minimal wasted text.

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?

Given 5 parameters, no annotations, and no output schema, the description is incomplete. It explains the return object but does not detail how the conditions interact, what values are valid for reason, or provide a complete example. The agent would need additional context to use this tool effectively.

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?

The input schema has 5 boolean parameters with 0% description coverage. The description lists all parameter names and explains they are conditions to 'set whichever apply', adding some meaning. However, it does not provide detailed semantics for each parameter, so the description only partially compensates for the schema gap.

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 states the tool's function: to encode decision-log rules and judge if a situation belongs in the Decision Log. It lists specific conditions and outputs, distinguishing it from sibling tools like evaluate_gate or next_procedure.

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 implicitly gives usage guidance by listing the conditions and noting that a decision confined to one session does not need an entry. However, it does not explicitly compare to alternative tools or state when not to use it beyond that one condition.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Mostov82/conducted-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server