Skip to main content
Glama

analyze_error_propagation

Identify unhandled errors and vulnerable error propagation paths across the codebase to improve error resilience.

Instructions

Analyze error handling patterns and exception propagation flows across the codebase. Identifies unhandled errors, error handling coverage, and vulnerable areas for improved error resilience.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
error_typesNoFilter by specific error handling types (optional - analyzes all types if not specified)
min_confidenceNoMinimum confidence threshold for error pattern detection (default: 0.6)
severity_filterNoFilter by minimum severity level for unhandled error paths (optional)
include_recommendationsNoInclude error handling optimization recommendations (default: true)
Behavior2/5

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

No annotations provided, so description carries full burden. It implies a read-only analysis but does not explicitly state behavioral traits such as idempotency, side effects, or resource usage. Leaves ambiguity about whether the tool modifies state.

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 concise sentences that front-load the main action and outcomes. Every sentence adds necessary information with no redundancy or filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Despite having 4 parameters and no output schema, the description does not explain the return value or how results are presented. With many sibling analysis tools, the description provides insufficient guidance for the agent to distinguish when to use this tool.

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?

All four parameters are fully described in the input schema with 100% coverage. The description adds no additional semantic value beyond what the schema already provides, so baseline score of 3 is appropriate.

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?

Description explicitly states the tool analyzes error handling patterns and exception propagation flows, which is a specific verb-resource combination. It is distinct from sibling analysis tools like 'analyze_architecture' or 'analyze_call_patterns', but does not explicitly differentiate itself.

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?

No guidance on when to use this tool versus alternatives like 'predict_errors' or other analysis tools. No context about prerequisites or appropriate 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/nerfels/mind-map'

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