Skip to main content
Glama

project_context

Reads the bound Compass workspace context as a compact cached view, with optional refresh, session isolation, and project-path routing.

Instructions

Read the bound ProjectCompass project context (compact inline & spill cached view).

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

Input Schema

NameRequiredDescriptionDefault
refreshNoRefresh compact context cache
session_idNoOptional current agent session identifier for isolating parallel sessions.
project_pathNoOptional target project workspace directory path (routes to that project's .project-memory/ when dynamic routing is enabled).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.4.0

TDQS

C2.6/5.0
Behavior2/5

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

With no annotations, the description must carry the full behavioral burden and it largely doesn't. "Read" implies a safe operation, yet the presence of a refresh flag suggests cache-mutating side effects that are never acknowledged, and nothing is said about permissions, failure modes, or what the returned context contains.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single short sentence is appropriately sized and front-loads the action, so there is little waste. But the brevity comes partly from unexplained jargon ("spill cached view") rather than from tight, clear phrasing.

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?

No output schema and no annotations, and a moderate three-optional-parameter surface, so the description should do more to explain what context is returned. It gives only a high-level gesture at "compact inline" versus cached views and omits return content entirely.

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 all three parameters (refresh, session_id, project_path) are already documented in the schema, and that sets the baseline at 3. The description adds only the vague notions of "bound" routing and cached views, without elaborating on refresh behavior or session isolation.

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

Purpose3/5

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

States a verb ("Read") and a resource ("the bound ProjectCompass project context"), so the basic action is clear. However, the parenthetical "compact inline & spill cached view" is internal jargon that does not clarify what data actually comes back, and it offers no differentiation from siblings like query_state.

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?

There is no explicit when-to-use or when-not-to-use guidance and no mention of alternatives. "Bound" implies this reads the currently attached project by default, but that is inference, not stated guidance.

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