Skip to main content
Glama

reviewers

Read-onlyIdempotent

Identify who should review changes to a code symbol by returning the git blame authors of its current lines, sorted by line count and share.

Instructions

Who should review a change to symbol: the authors of its current lines (git blame at HEAD). Returns {symbol, reviewers: [{author, email, lines, share, last_date}]} sorted by lines desc; share is the fraction (0..1) of the function's lines, last_date the author's latest commit on it.

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": {
      "symbol": "<symbol>"
    },
    "name": "reviewers"
  }
}

Input Schema

NameRequiredDescriptionDefault
symbolYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so the description is not burdened with safety disclosure. It still adds real behavioral context beyond that: the data comes from git blame at HEAD (so working-tree changes are not reflected), share is a 0..1 fraction of the function's lines, and results are sorted by lines descending. Minor gaps remain (behavior on symbols with no blame data, whether commits are deduplicated per author), but it is well above the annotation baseline.

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 compact sentences: the first answers the core question and names the data source, the second fully specifies the return shape and sort order. No filler, and the key purpose is front-loaded.

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?

With no output schema, the description carries the return contract itself and does so precisely (object with symbol and a reviewers array of author/email/lines/share/last_date, sorted by lines desc). Combined with annotations covering safety, the definition is nearly self-sufficient; only the expected format/scope of the `symbol` argument is left unspecified.

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 0% and there is a single required `symbol` parameter, which the description references but never characterizes. It doesn't say whether `symbol` is a fully qualified name, a bare name, or a path-qualified identifier, nor whether the symbol must exist in the graph. Some meaning is added by tying the symbol to 'its current lines' and 'the function's lines', but format expectations are left to inference.

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?

States a specific verb-like question and resource: 'Who should review a change to `symbol`', qualified by the data source (authors of its current lines via git blame at HEAD). This is unmistakably distinct from siblings like find_symbol, impact, or dead_code, which resolve symbols or analyze dependencies rather than compute reviewers.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied by the framing 'a change to `symbol`', so the agent can infer this is for reviewer suggestion before/with a change. However, there is no explicit statement of when to prefer this over, say, impact (for affected-code analysis) or how it relates to any review workflow, and no exclusions or prerequisites are given.

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