Skip to main content
Glama

lilbrain_pr_review

Generate PR review context by analyzing code changes, blast radius, cross-subsystem edges, complexity delta, and risk.

Instructions

Auto-generate PR review context: changes, blast radius, new cross-subsystem edges, complexity delta, risk.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
base_branchNoBase branch to compare against (default "main")
Install Server

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations, the description carries the behavioral burden. It discloses what the tool computes (changes, blast radius, complexity delta, risk), but does not explicitly state whether it is read-only, whether it performs network calls, or whether it has side effects. The word 'auto-generate' implies non-destructive analysis, but this is not confirmed.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single efficient sentence that front-loads the action and then lists key outputs. It earns its place without fluff, though the term 'context' is slightly vague and could be more precise.

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?

For a tool with one optional parameter and no output schema, the description covers the main outputs but omits details like how the base branch interacts with the result, what the return format looks like, and how this differs from closely related siblings. It is adequate but leaves some gaps for an agent to resolve.

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% because the single parameter base_branch has a description. The tool description itself adds no parameter-level detail, but the schema adequately documents the default value and purpose, so the 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?

Description states a specific verb ('Auto-generate') and resource ('PR review context') and enumerates concrete outputs (changes, blast radius, new cross-subsystem edges, complexity delta, risk). It is clear about what the tool produces, though it does not explicitly differentiate it from siblings like lilbrain_diff or lilbrain_impact.

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 guidance on when to use this tool versus the many sibling tools. It implies use for PR review, but does not state exclusions or alternatives, leaving the agent to infer when lilbrain_diff, lilbrain_impact, or lilbrain_complexity would be more appropriate.

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

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/MangoByteLabs/LiLBrain'

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