Skip to main content
Glama
@memoryrelay/mcp-server

@memoryrelay/mcp-server

Official
by memoryrelay

project_register

Register a project with a unique slug to scope memories, sessions, and decisions to a specific codebase or repository for organized AI agent context.

Instructions

Register a project (codebase/repository) to scope memories, sessions, and decisions. Projects have a unique slug for ergonomic referencing.

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": {
      "slug": "<slug>",
      "name": "<name>"
    },
    "name": "project_register"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesHuman-readable project name (e.g., "My API Service")
slugYesURL-safe identifier (lowercase, hyphens allowed, e.g., "my-api")
stackNoTechnical stack metadata (e.g., {"languages": ["python"], "frameworks": ["fastapi"]})
repo_urlNoRepository URL (e.g., "https://github.com/org/repo")
descriptionNoOptional project description

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full behavioral burden. It does disclose one meaningful trait — that slugs are unique, which hints at a duplicate-slug conflict — but says nothing about idempotency, whether re-registering an existing slug errors or updates, permission requirements, or what is returned on success.

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?

Two short sentences, front-loaded with the action and followed by the scoping purpose. Nothing is wasted, though the closing clause about "ergonomic referencing" is decorative rather than operational.

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?

Five parameters including a free-form nested stack object and no output schema mean the description should say more about what the caller gets back (an id? the slug?) and how the nested stack metadata is treated. Parameter documentation is fully handled by the schema, but the return contract is left entirely unaddressed.

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%, so the schema already documents every parameter including the slug pattern and the stack example. The description adds only the uniqueness constraint on slug, which is a modest but real addition beyond the schema. Baseline 3 is appropriate.

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?

The description uses a specific verb and resource ("Register a project") and clarifies the resource as a codebase/repository, plus states the downstream purpose: scoping memories, sessions, and decisions. That distinguishes it well from read-oriented siblings like project_info or project_list, though it never names them explicitly.

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

Usage Guidelines3/5

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

Usage is implied rather than stated: the phrase "to scope memories, sessions, and decisions" suggests this is a prerequisite step before storing scoped memories. There is no explicit when-to-use/when-not guidance and no mention of the alternative read tools or what to do if a project already exists.

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