Skip to main content
Glama

assess_change_risk

Predict risk levels for code changes by analyzing blast radius, complexity, test coverage, and coupling to provide mitigation recommendations before implementation.

Instructions

Before modifying a file or symbol, predict risk level (low/medium/high/critical) with contributing factors and recommended mitigations. Combines blast radius, complexity, git churn, test coverage, and coupling.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
file_pathNoFile path to assess
symbol_idNoSymbol ID to assess
Behavior2/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 of behavioral disclosure. It mentions the tool predicts risk levels with factors and mitigations, but lacks details on permissions needed, rate limits, response format, or whether it performs read-only analysis (implied but not stated). For a tool with no annotations, this leaves significant gaps in understanding its operational behavior.

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 front-loaded with the core purpose in the first sentence, followed by supporting details in a second sentence. Every word earns its place by specifying the action, inputs, outputs, and methodology without redundancy or fluff, making it highly efficient and easy to parse.

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?

Given the tool's complexity (risk prediction with multiple factors), lack of annotations, and no output schema, the description is adequate but incomplete. It covers the what and why but misses behavioral details like response structure, error handling, or integration context. For a tool with no structured output, more guidance on expected results would enhance 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?

Schema description coverage is 100%, so the schema already documents both parameters ('file_path' and 'symbol_id') adequately. The description adds value by clarifying that these are inputs for assessing risk before modification, but does not provide additional syntax, format details, or usage examples beyond what the schema specifies. This meets the baseline for high schema coverage.

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 tool's purpose with specific verbs ('predict risk level') and resources ('file or symbol'), and distinguishes it from siblings by focusing on risk assessment rather than execution, analysis, or querying. It explicitly mentions the factors considered (blast radius, complexity, git churn, test coverage, and coupling), making the purpose highly specific and actionable.

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 clear context for usage ('Before modifying a file or symbol'), indicating when to use the tool. However, it does not explicitly state when not to use it or name alternatives among the many sibling tools, such as 'get_change_impact' or 'get_risk_hotspots', which might offer related insights but lack the predictive risk focus.

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/nikolai-vysotskyi/trace-mcp'

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