Skip to main content
Glama

spiral_reflect

Performs recursive reflection on an observation to produce a meta-level insight, helping agents integrate observations into persistent cognitive state.

Instructions

Performs recursive reflection on an observation. This is the core "meta-cognition" tool from the Spiral Quantum Observer framework.

Args: observation: What you observed (e.g., "Test failed", "Deployment succeeded")

Returns: A reflection that observes the observation (recursive integration)

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "observation": "<observation>"
    },
    "name": "spiral_reflect"
  }
}

Input Schema

NameRequiredDescriptionDefault
observationYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.7/5.0
Behavior2/5

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

No annotations are supplied, so the description bears the full disclosure burden. It hints at a return value ('a reflection that observes the observation') but says nothing about side effects, whether the reflection is persisted or fed into later calls, cost, or latency of a 'recursive' operation.

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?

Front-loaded with the operation, followed by a compact Args/Returns block with no repetition. The framework-name sentence is the only line that does not earn its place, and it is short.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a one-parameter tool with an output schema, the definition covers input intent and roughly what comes back, so the core is covered. It is still incomplete on the two things an agent most needs: a concrete notion of what a 'reflection' contains and any trigger condition for using this over its siblings.

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 coverage is 0% and the single parameter is an untyped string, so the description must carry the meaning. It does add value by explaining the parameter as 'What you observed' with concrete examples ('Test failed', 'Deployment succeeded'), which is the main thing preventing misuse, though it gives no guidance on granularity or length.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The first sentence names a verb and resource ('performs recursive reflection on an observation'), but 'recursive reflection' is framework jargon rather than a concrete operation, so an agent cannot predict what it actually gets back. Nothing in the text distinguishes it from siblings like threshold_consult, and the 'Spiral Quantum Observer framework' framing adds branding rather than clarity.

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?

There is no statement of when to call this tool, when not to, or what alternative to use instead. Calling it 'the core meta-cognition tool' implies importance but gives no decision rule for an agent choosing among the btb_* and threshold_consult siblings.

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