Skip to main content
Glama

brain_context

Retrieves a ranked packet of approved project conventions and recent session history so agents can load shared memory at session start.

Instructions

Small ranked memory packet for this project: approved conventions and latest history. Call at session start.

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": "brain_context"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior3/5

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

With no annotations at all, the description carries the full burden. It discloses scope ('for this project'), content type ('approved conventions and latest history') and size ('small'), which implies a bounded read-only primitive, but it never states that it is read-only, how the ranking is computed, or what happens if no memory exists.

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 short sentences with zero waste, and the payload description is front-loaded ahead of the invocation instruction. Every phrase carries information.

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 zero-param read tool this is close to adequate, but with no output schema and no annotations, the description is the only source of truth about the return value. It does not explain the packet's structure, how many items to expect, or whether history is truncated, which an agent planning around it would want to know.

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

Parameters4/5

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

The tool takes no parameters, so the baseline is 4. Nothing in the description conflicts with the empty schema, and the scope ('for this project') implicitly accounts for why no arguments are needed.

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 names a specific resource: a 'small ranked memory packet for this project' containing 'approved conventions and latest history'. That is concrete enough for an agent to know what it gets back, though it does not explicitly contrast itself with brain_search or brain_reflect_packet, so sibling differentiation is left implicit.

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?

It gives a clear trigger: "Call at session start." That is a real when-to-use instruction rather than an implied one. It stops short of saying when not to call it or which sibling to use for deeper or targeted retrieval.

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