Skip to main content
Glama

Record Decision Context

record_decision_context

Record a decision context event in the CoreCrux Decision Plane. This is a mutation operation.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
contextYes
agent_idNo
session_idYes
decision_idYes
occurred_atNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

C2.8/5.0
Behavior2/5

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

With no annotations, the description only says 'This is a mutation operation,' which is minimally useful. It does not disclose side effects, idempotency, required preconditions, or auth requirements.

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?

Two short sentences, front-loaded with the main verb and resource. The second sentence is arguably redundant but adds a mutation hint.

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?

Tool has 5 params, nested object, and an output schema, yet description gives only a one-line purpose. Missing parameter semantics and usage context make it insufficient for reliable invocation.

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

Parameters1/5

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

Schema coverage is 0% and description names no parameters or meanings. session_id, decision_id, and context are left to inference, and the nested context object is unexplained.

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?

States 'Record a decision context event in the CoreCrux Decision Plane' – a specific verb and resource. The 'mutation operation' clause contrasts with read-only siblings like get_decision_context.

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

Usage Guidelines2/5

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

No guidance on when to use this vs siblings. The description neither states prerequisites nor contrasts with checkpoint_decision_state/get_decision_context.

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