Skip to main content
Glama

kuma_context

Call first each session to gather context and recall memory. Use init, research, history, map, and reuse actions to understand code and avoid duplication.

Instructions

Context & memory recall. Call FIRST each session. Lean — each call returns only what you need.

CORE ACTIONS (use these): init (start of session: project brief + session state), research (before editing unfamiliar code), history (why is this file written this way), flow (read a recorded architecture flow), map (repository topology), impact (blast radius analysis), cluster (concept-level subsystem nodes), skeleton (compressed AST outline omitting bodies), reuse (discover existing helpers before writing duplicate code).

Input Schema

NameRequiredDescriptionDefault
goalNoCurrent goal (for init)
scopeNoResearch scope or target for impact/skeleton/reuse
actionYesinit=project brief + session restore, research=research pipeline, history=file rationale + fresh gotchas, flow=read recorded domain flow, map=repo topology, impact=blast radius, cluster=concept subsystem architecture, skeleton=compressed AST outline, reuse=discover existing helpers
targetNoTarget symbol/file for history/flow/impact/skeleton/reuse

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.4.25

TDQS

A3.8/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It adds one useful behavioral trait ('Lean — each call returns only what you need'), but says nothing about whether 'init' mutates/persists session state, permission requirements, or rate limits, which is thin for an unannotated multi-action tool.

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?

Front-loads the single most important instruction ('Call FIRST each session'), then lists actions in a scannable parenthetical format. Every sentence earns its place with no filler.

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

Completeness4/5

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

For a tool with no output schema and no annotations, it covers the action surface well and hints at output size ('lean'). It is slightly incomplete on the mutation/return-behavior side and on how the goal/scope/target parameters pair with specific actions, though the schema covers those parameters fully.

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% and the action enum already documents every action value, so the schema does the heavy lifting. The description's action list largely restates the enum description rather than adding syntax, format, or interaction detail (e.g. how scope and target relate to a given action).

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?

States a specific verb and resource ('Context & memory recall') and enumerates all nine concrete actions, so the agent knows exactly what the tool provides. It does not, however, distinguish itself from the sibling tools kuma_memory / kuma_safety, which overlap on 'memory recall'.

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?

Gives strong sequencing guidance ('Call FIRST each session') plus per-action context such as research 'before editing unfamiliar code', history 'why is this file written this way', and reuse 'before writing duplicate code'. It stops short of naming alternatives or when-not-to-use conditions against the sibling memory/safety tools.

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