Skip to main content
Glama
@memoryrelay/mcp-server

@memoryrelay/mcp-server

Official
by memoryrelay

project_context

Fetch complete project context for LLM use by project slug, returning hot-tier memories, active decisions, adopted patterns, and a pre-formatted markdown context string.

Instructions

Get full project context for LLM consumption. Returns hot-tier memories, active decisions, adopted patterns, and a pre-formatted markdown context string.

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": {
      "project": "<project>"
    },
    "name": "project_context"
  }
}

Input Schema

NameRequiredDescriptionDefault
projectYesProject slug to get context for

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

B3.3/5.0
Behavior3/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 the shape of the result set (memories, decisions, patterns, markdown). It does not state whether the call is read-only or whether retrieving hot-tier memories mutates state (e.g., promotion or access-count updates), nor does it mention cost or size limits on the returned context.

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 tight sentences: the purpose leads, the payload follows. No filler, no restatement of the tool name, and the return-value list is front-loaded where an agent will look for it.

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 single-parameter read tool with no output schema, listing the returned components goes most of the way. What is missing is the behavioral envelope an agent needs to plan around it: output size, whether a missing project errors or returns empty, and how it differs from the closely named alternatives in the catalog.

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?

There is a single parameter with 100% schema description coverage, so the schema already explains that it is a project slug. The description adds nothing about slug format, lookup behavior, or what happens when the slug is unknown, which is the baseline-3 outcome for high coverage.

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?

"Get full project context" pairs a specific verb with a specific resource, and the second sentence enumerates exactly what comes back (hot-tier memories, active decisions, adopted patterns, markdown string). It is clear what the tool does, though it never names a sibling like memory_context or project_info to sharpen the boundary.

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?

"For LLM consumption" is the only hint at when to call it, and it is a weak one. There is no statement of when to prefer this over memory_context, context_build, or project_info, and no prerequisites or exclusions are given.

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