Skip to main content
Glama

get_pr_impact

Analyze a pull request to identify changed files, affected knowledge-graph communities, and nodes touched. Assess merge risk or overlap with your work.

Instructions

Get detailed graph impact for a specific PR: which files it changes, which knowledge-graph communities are affected, and how many nodes are touched. Use this to assess merge risk or check for overlap with your current work.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
repoNoGitHub repo (owner/repo). Defaults to current repo.
pr_numberYesPR number to analyse
project_pathNoAbsolute path to a project directory containing graphify-out/graph.json. Optional — defaults to the graph this server was started with.
Behavior3/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It describes what the tool returns but does not mention side effects, authorization, performance implications, or prerequisites (e.g., need for an initialized graph). This is adequate but not comprehensive.

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?

The description is highly concise with two sentences: the first provides the core functionality, and the second gives usage context. Every sentence is informative with no redundancy.

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?

Given the tool's complexity, the absence of an output schema, and the presence of three parameters, the description covers the essential purpose and usage. However, it could elaborate on the return format or interpretation of 'graph impact' for full completeness.

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?

Since the input schema has 100% description coverage, the parameters are already well-documented. The description adds no additional semantic value beyond the schema; it merely references 'specific PR' without elaborating on 'repo' or 'project_path'.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the verb 'Get', the resource 'detailed graph impact for a specific PR', and enumerates the specific output components (files, communities, nodes). It effectively distinguishes from sibling tools like 'list_prs' or 'get_community', which serve different purposes.

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?

The description provides explicit use cases ('assess merge risk' or 'check for overlap'), guiding when to invoke the tool. However, it does not mention when not to use it or suggest alternative tools for different scenarios.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/sughosh-pocketfm/kbask'

If you have feedback or need assistance with the MCP directory API, please join our Discord server