Skip to main content
Glama

Memoreal — Deterministic AI Memory & Code Intelligence MCP

Analyze Symbol Impact & Blast Radius

impact
Read-onlyIdempotent

Compute upstream caller chain, affected files, related tests, and risk level before modifying a code symbol. Use before modifying a shared function or interface to evaluate blast radius and test needs.

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": {
      "namespace": "<namespace>",
      "symbol": "<symbol>"
    },
    "name": "impact"
  }
}

Input Schema

NameRequiredDescriptionDefault
depthNoMaximum upstream BFS traversal depth (default 3).
symbolYesIdentifier of the symbol to evaluate.
namespaceYesLogical workspace namespace.

Output Schema

NameRequiredDescriptionDefault
symbolYes
namespaceYes
risk_levelYes
related_testsYes
affected_filesYes
direct_callersYes
transitive_callersYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world behavior, so safety is covered. The description adds real context beyond that: the traversal is upstream (callers, not callees) and it also surfaces affected files, tests, and a risk level. It does not discuss cost or scaling of the BFS, which is a minor gap given the depth parameter.

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 sentences, zero filler, with the capability statement front-loaded and the usage trigger second. Nothing is repeated from the title or schema.

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?

An output schema exists, so return values need no explanation, and the description still characterizes what the result contains. What remains thin is the boundary against neighboring analysis tools, which matters in a catalog this dense.

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 coverage is 100%, so symbol, namespace, and depth are already documented in the schema. The description adds no further meaning about these parameters and never mentions the depth control or its default, so baseline 3 applies.

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 states a specific verb ('Compute') and enumerates concrete outputs: upstream caller chain, affected files, related tests, and risk level for a code symbol. That is far more informative than the bare name 'impact'. It stops short of naming how it differs from close siblings such as call_tree, downstream_effects, or diff_risk.

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 an explicit trigger condition: use before modifying a shared function or interface, to evaluate blast radius and test needs. There is no when-not guidance and no named alternative, so an agent must infer that downstream analysis or pure reference lookup belong to other tools.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.