Skip to main content
Glama

Memory Autopilot Project Context

memorix_project_context

Build a compact Memory Autopilot brief for the current coding task, with relevant files, reliable memories, cautions, and verification hints to start or switch tasks.

Instructions

Build a compact Memory Autopilot brief for the current coding task. Schedules Code Memory refresh when needed, includes Start here files, reliable code-bound memories, stale/suspect cautions, and verification hints. Use this at the start of a new coding turn or after switching tasks.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "memorix_project_context"
  }
}

Input Schema

NameRequiredDescriptionDefault
taskNoCurrent coding task or question
agentNoOptional target agent for compatible workflow selection.
limitNoReserved for future source limits; current prompt stays compact by default.
formatNoOutput format. "prompt" is agent-ready; "summary" is human-readable; "receipt" is bounded JSON; "json" is detailed diagnostics.prompt
taskIdNoOptional task continuity ledger id to include in the brief
refreshNoCode Memory refresh policy. auto refreshes only when missing or stale.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.10.3
    • removedInput schema / properties / refresh / default
      Removed value: -"auto"
  2. Changed1 schema field changedv1.9.5
    • addedInput schema / properties / taskId
      Added value: +{
      +  "description": "Optional task continuity ledger id to include in the brief",
      +  "maxLength": 120,
      +  "type": "string"
      +}
  3. Changed3 schema fields changedv1.7.2
    • addedInput schema / properties / agent
      Added value: +{
      +  "description": "Optional target agent for compatible workflow selection.",
      +  "enum": [
      +    "windsurf",
      +    "cursor",
      +    "claude-code",
      +    "codex",
      +    "copilot",
      +    "antigravity",
      +    "gemini-cli",
      +    "openclaw",
      +    "hermes",
      +    "omp",
      +    "kiro",
      +    "opencode",
      +    "trae"
      +  ],
      +  "type": "string"
      +}
    • changedInput schema / properties / format / description
      Previous value: -"Output format. \"prompt\" is agent-ready; \"summary\" is human-readable; \"json\" is structured."New value: +"Output format. \"prompt\" is agent-ready; \"summary\" is human-readable; \"receipt\" is bounded JSON; \"json\" is detailed diagnostics."
    • changedInput schema / properties / format / enum
      Previous value: -[
      -  "prompt",
      -  "summary",
      -  "json"
      -]New value: +[
      +  "prompt",
      +  "summary",
      +  "json",
      +  "receipt"
      +]
  4. Added

TDQS

A4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden, and it does disclose a non-obvious side effect: the tool "schedules Code Memory refresh when needed," which tells the agent this is not a pure read. It also previews the output composition (stale/suspect cautions, verification hints), so the agent knows to expect warnings rather than raw data. It omits cost/latency and whether the scheduled refresh mutates stored memory, which keeps it below a 5.

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?

Three sentences, front-loaded with the purpose, then the contents, then the trigger condition. No filler and no repetition of schema fields. The contents list is dense but every item conveys what the agent will receive.

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?

Six optional parameters, all fully described in the schema, and the description explains what the brief contains, which substitutes for the absent output schema. What remains unclear is the relationship to overlapping siblings (context_pack, session_start) and whether the refresh side effect persists state. For a tool of this complexity that is a minor gap, not a blocking one.

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 description coverage is 100%, including enum explanations for agent, format, and refresh, so the schema already documents every parameter. The description adds no parameter-level meaning beyond a general note that the prompt stays compact, which the schema already states for limit. Baseline 3 applies when structured fields do the work.

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

Purpose4/5

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

States a specific verb and artifact: "Build a compact Memory Autopilot brief for the current coding task," then enumerates what the brief contains (Start here files, code-bound memories, cautions, verification hints). That content list does most of the work of separating it from siblings, but it never names or contrasts with the closest-looking sibling, memorix_context_pack, leaving the agent to infer the distinction.

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?

Gives an explicit trigger: "Use this at the start of a new coding turn or after switching tasks." That is clear when-to-use guidance. It stops short of when-not-to-use or naming alternatives (e.g. when context_pack or session_start is the better call), so it is not a full routing rule.

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