Skip to main content
Glama

sage_turn

Recall relevant consensus-committed memories and store a concise observation each turn. Flags unread messages for follow-up with a fresh token.

Instructions

Per-conversation-turn memory cycle. Call this EVERY turn. It does two things atomically: (1) Recalls consensus-committed memories relevant to the current topic (so you have context), and (2) Stores an observation about what just happened in this turn (so future-you has context). It also returns a payload-free message_inbox_unread flag/count; call sage_messages_receive with a fresh receive_token when true. sage_turn never claims or embeds message payloads. Exact-domain recall transparently checks currently authorized connected SAGEs and reports an actionable federation miss when none expose it. This builds episodic experience turn-by-turn, like human memory — not a context window dump. When domain is omitted, app-v23 uses this agent's approved owned home domain (older nodes use general). Pass an explicit domain only when you intentionally want that exact readable/writable domain; it is never silently remapped.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
topicYesWhat the current conversation is about — used for contextual recall
domainNoExact knowledge domain. Omit to use your approved app-v23 owned home domain (legacy nodes use general). Explicit values are never silently remapped.
observationNoWhat happened this turn — the user's request and key points of your response. Keep it concise but capture the essential insight.
Behavior5/5

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

With no annotations, the description carries full burden and does so thoroughly. It discloses atomic behavior, the payload-free message flag, federation checks, and the fact that domains are never silently remapped. It also clarifies it never claims or embeds message payloads, which is a key safety detail.

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 dense but well-structured, front-loading the critical 'every turn' directive and then logically breaking down the two atomic functions. Each sentence earns its place, covering behavior, message handling, federation, and domain rules without redundancy.

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

Completeness4/5

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

Given the complexity and lack of an output schema, the description adequately covers return values like the message_inbox_unread flag and the recall purpose. It also explains federation miss behavior. However, the exact structure of recalled memories is not specified, which is a minor gap for a tool central to context building.

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 100%, so the baseline is 3. The description largely mirrors the schema's parameter descriptions and does not add significant new semantic meaning beyond what is already in the schema. The only added nuance is emphasis on domain behavior, but it is already present in the schema.

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 per-turn memory cycle combining recall and storage, with specific verbs and resources. It distinguishes itself from siblings like sage_recall and sage_remember by emphasizing the atomic dual action, and from sage_messages_receive by noting it never claims message payloads.

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

Usage Guidelines5/5

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

Explicitly instructs 'Call this EVERY turn' and provides clear guidance on when to use the tool versus alternatives. It also gives concrete direction for domain omission and explicit domain usage, and references sage_messages_receive for message handling, making usage unambiguous.

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/l33tdawg/sage'

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