Skip to main content
Glama

get_wake_up

Read-onlyIdempotent

Retrieve compact session orientation context with stable project identity and dynamic recent activity, split for prompt-cache efficiency. Optionally scoped to a service name.

Instructions

Compact orientation context (~300 tokens) for session start. By default returns a {stable, dynamic} split: stable content (project identity, conventions, architecture) is provider-cacheable when injected into system_prompt; dynamic content (recent activity) goes into the user message to avoid busting the system-prompt cache. Pass cache_split: false for the legacy flat shape. Hard-capped by memory.recall.timeoutMs (default 5000 ms); on timeout returns a degraded empty payload with degraded: true so the agent turn never blocks on slow IO.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
max_decisionsNoMax recent decisions to include (default: 10 for flat shape; 5 for split shape recent_decisions section)
auto_mineNoAuto-mine sessions if decision store is empty (default: true)
cache_splitNoReturn the {stable, dynamic} split shape for prompt-cache friendliness (default: true). Pass false for the legacy flat WakeUpContext shape.
service_nameYesSubproject name to scope topics + memo lookups to. Project-wide when omitted.
Behavior5/5

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

Beyond annotations (readOnlyHint true, idempotentHint true), description reveals timeout behavior (hard-capped by memory.recall.timeoutMs), degraded empty payload on timeout, and cache-friendly split design. No contradiction with annotations.

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?

Two sentences pack all essential information: purpose, cache-split design, legacy flat option, timeout behavior, and degraded mode. No fluff, well-structured for quick agent parsing.

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

Completeness5/5

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

Even without output schema, describes return shape (split vs flat), degradation behavior, and timeout handling. Complete for a context retrieval tool at session start.

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

Parameters5/5

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

All parameters have schema descriptions; description adds defaults and context-specific behaviors (e.g., max_decisions default differs by shape, auto_mine default true, service_name scoping). Schema coverage 100% but description enriches meaning.

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 provides 'Compact orientation context (~300 tokens) for session start' and explains the split shape behavior, distinguishing it from sibling tools like get_session_resume or get_minimal_context.

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

Usage Guidelines4/5

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

Explicitly states it's for session start and provides guidance on using cache_split for different shapes. Lacks explicit when-not-to-use but context is sufficient for typical usage.

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/nikolai-vysotskyi/trace-mcp'

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