Skip to main content
Glama

MCP Dual-Cycle Reasoner

by cyqlelabs
MIT License
158
3

process_trace_update

Update the cognitive trace of an AI agent by processing the latest action, goal, and environment context to enable metacognitive monitoring and reasoning loop detection.

Instructions

Process a cognitive trace update from the agent (main monitoring function)

Input Schema

NameRequiredDescriptionDefault
current_contextNoCurrent environment context or state, in low dash format. Example: adding_product_item
goalYesCurrent goal being pursued
last_actionYesLatest action name to be added to the accumulated action history
window_sizeNoSize of the monitoring window

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "current_context": { "description": "Current environment context or state, in low dash format. Example: adding_product_item", "type": "string" }, "goal": { "description": "Current goal being pursued", "type": "string" }, "last_action": { "description": "Latest action name to be added to the accumulated action history", "type": "string" }, "window_size": { "default": 10, "description": "Size of the monitoring window", "type": "number" } }, "required": [ "last_action", "goal" ], "type": "object" }

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/cyqlelabs/mcp-dual-cycle-reasoner'

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