Skip to main content
Glama
project-context-map-mcp

project-context-map-mcp

get_module_context

Returns a module or feature area's summary, files, recent commits, and likely impact paths so AI coding agents can understand change context before editing.

Instructions

Return context for a module or feature area, including module summary, files, recent commits, and likely impact paths.

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": {
      "module": "<module>"
    },
    "name": "get_module_context"
  }
}

Input Schema

NameRequiredDescriptionDefault
moduleYesModule or feature name.
projectRootNoOptional project root. Defaults to PROJECT_ROOT or current working directory.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.8

TDQS

B3.2/5.0
Behavior3/5

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

No annotations exist, so the description carries the full disclosure burden. "Return" implies a read-only lookup, and listing the four content categories tells the agent something about the shape of the result. However, it says nothing about cost or latency, whether the context is cached/stale, or whether the module name must already exist in the project map.

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?

A single well-formed sentence that front-loads the verb and resource and then lists the payload categories. There is no filler or restatement of the tool name. It is arguably a touch terse for an aggregating tool with no other documentation.

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?

With no output schema and no annotations, the enumerated return contents do useful work in describing the response. Coverage of the two parameters is handled fully by the schema. It remains only adequate because guidance on how this differs from the project-level context siblings is missing.

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%, with both `module` and `projectRoot` documented in the schema itself, including the PROJECT_ROOT/cwd default. The description adds no parameter-level meaning beyond the schema, so the baseline of 3 applies. It does at least imply the module argument's granularity by saying "module or feature area."

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 gives a specific verb ("Return") and a specific resource (context for a module or feature area), then enumerates the contents: module summary, files, recent commits, and likely impact paths. That is a clear picture of what comes back. It falls short of 5 because it does not distinguish itself from close siblings such as read_project_context, get_project_summary, or get_recent_git_changes, whose names suggest heavy overlap.

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 guidance on when to use this tool rather than its siblings, and no stated prerequisites or exclusions. The closest thing to guidance is the implicit scoping to "a module or feature area" rather than a whole project, which an agent could infer but must guess at. With several overlapping context/summary siblings available, naming the alternative would have mattered here.

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