Skip to main content
Glama

recommend_contextual_reviewers

Read-onlyIdempotent

Identifies optimal PR reviewers by computing code ownership concentration, knowledge entropy, silo risk, PTO blind spots, and queue-aware weighted set-cover from a Jira issue key.

Instructions

Computes HHI ownership concentration, Shannon knowledge entropy, OOO silo risk, and solves a weighted greedy set-cover for optimal PR reviewers.

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": {
      "issueKey": "<issueKey>"
    },
    "name": "recommend_contextual_reviewers"
  }
}

Input Schema

NameRequiredDescriptionDefault
issueKeyYesJira issue key to compute Herfindahl-Hirschman ownership concentration, PTO blind spots, and queue-aware greedy set-cover reviewers.
snapshotNoOptional inline Teamwork Graph release snapshot JSON containing component contribution shares, reviewer queues, and PTO statuses.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, and openWorldHint=false, so safety and repeatability are covered. The description adds that the computation factors in PTO blind spots and reviewer queues, which is useful behavioral context, but it says nothing about output shape, ranking rationale, or what happens when ownership data is sparse — the burden here is higher since no output schema exists.

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?

A single sentence with zero filler, and the outcome ('optimal PR reviewers') is placed at the end of the list of computations. Slightly dense with unexplained acronyms (HHI, OOO) but nothing is wasted.

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?

With no output schema, the description should convey what comes back — a ranked reviewer list, per-reviewer scores, silo warnings — and it only gestures at 'optimal PR reviewers'. For an analytic tool with a nested optional snapshot parameter, this leaves a real gap in what an agent needs to interpret results.

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 coverage is 100% and both parameters (issueKey, snapshot) are documented in the schema itself, so baseline 3 applies. The description adds no parameter-level meaning — it never mentions the issue key scoping or when to supply an inline snapshot versus letting the graph be derived.

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?

The description names a specific analytical action (computing HHI concentration, Shannon entropy, OOO silo risk, and a weighted greedy set-cover) whose end product is 'optimal PR reviewers', which is concrete and distinguishable from the release-gate / blast-radius / ADR siblings. It never explicitly contrasts with those siblings, but their domains are far enough apart that confusion is unlikely.

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 when-to-use or when-not-to-use guidance — nothing says to call this before assigning a PR, instead of after a review stalls, or in preference to any other reviewer-selection approach. The agent must infer the trigger condition entirely from the tool name and the algorithmic jargon.

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