Skip to main content
Glama

analyze_impact

Read-onlyIdempotent

Analyze architecture impact from a local mapping and explicit Git base reference without fetching or changing Git state.

Instructions

Analyzes architecture impact from an explicit local mapping and Git base reference; never fetches or changes Git state.

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": {
      "baseReference": "<baseReference>",
      "manifestPath": "<manifestPath>"
    },
    "name": "analyze_impact"
  }
}

Input Schema

NameRequiredDescriptionDefault
manifestPathYesForward-slash repository-relative impact mapping JSON path.
baseReferenceYesExplicit local Git base reference used by ADR Guard impact analysis.

Output Schema

NameRequiredDescriptionDefault
summaryYes
advisoryYes
coverageYes
decisionsYes
repositoryYes
uncertaintyYes
changedFilesYes
schemaVersionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, but the description adds a genuinely new guarantee: it never fetches or changes Git state, so an agent knows no refs are moved and no network is touched. It stops short of describing cost, limits, or what happens when the manifest is stale.

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?

A single front-loaded sentence with no filler; the safety guarantee is appended compactly with a semicolon. Nothing could be removed without losing information.

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 two required parameters are simple and fully documented. The remaining gap is that the object of 'impact' is never defined, leaving the agent to infer what is being compared against the base reference.

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 both parameters are already documented, and the description only echoes them ('explicit local mapping', 'Git base reference'). It adds slight emphasis on 'explicit' and 'local' but no format, resolution, or failure semantics beyond the schema.

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 ('Analyzes') and resource ('architecture impact') plus the two inputs it draws on, which is far more than a restatement of the name. However, it never says impact of *what* (changes relative to the base reference? uncommitted diff?), and it does not distinguish itself from siblings like verify_architecture or validate_adrs.

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 named alternative among the six siblings. The clause 'from an explicit local mapping and Git base reference' implies a precondition (a manifest must exist) but does not tell an agent when to pick this over verify_architecture.

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