Skip to main content
Glama

load_chat_context

Load cross-chat context from the configured backend to reuse prior decisions and conversation history when continuing work across sessions or models.

Instructions

Load cross-chat context from the configured context backend.

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": {
      "session_id": "<session_id>"
    },
    "name": "load_chat_context"
  }
}

Input Schema

NameRequiredDescriptionDefault
tokensNo
summaryNo
session_idYes
project_rootNo
search_queryNo
user_peer_idNo
limit_to_sessionNo
assistant_peer_idNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.2/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full disclosure burden, and it discloses almost nothing: it does not say what the backend is, whether the load is read-only, what limit_to_session=true implies for cross-chat retrieval, or how the token budget constrains results. For an 8-parameter tool the behavioral picture is effectively blank.

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?

It is a single front-loaded sentence with no filler, which is structurally sound, but the brevity is under-specification rather than economy. Nothing is wasted, yet almost nothing is delivered.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return values need not be explained, but with 8 undocumented parameters and zero annotations the definition is far too thin for the tool's complexity. The agent lacks both selection guidance against the sibling loaders and any explanation of how the filtering and budget parameters change behavior.

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

Parameters1/5

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

Schema description coverage is 0% across 8 parameters, and the description mentions none of them. Critical knobs such as session_id, limit_to_session, tokens, summary, and search_query have no meaning assigned anywhere, so the agent must guess their semantics from names alone.

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 and resource ('Load cross-chat context'), so the general intent is inferable, but 'the configured context backend' is undefined and nothing distinguishes it from siblings such as load_cross_session_context, search_context, or load_saved_results. An agent cannot tell which loader to pick from this phrasing alone.

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 when-to-use guidance, no when-not-to-use, and no mention of the nearest alternative. With a sibling named load_cross_session_context present, the absence of any routing hint is a real gap rather than something an agent can infer.

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