Skip to main content
Glama

Why a core issue has its attention

explain_issue_attention
Read-onlyIdempotent

Answer "why does this Drupal core issue have this attention or this rank". For a list of issues, call list_core_issues. For what to review, call review_queue.

  • attention: from 0 to 100, the order a review queue lists issues in. It comes from the last nightly build, and reach from the last weekly one.

  • attention_parts: the numbers behind it. Percentiles, points, demand, mix and share run from 0 to 100. Points are rounded, so a sum can differ from its total by a tenth or two.

  • points: one entry per term, mix, priority and type. attention is the sum of their points. share is the most points a term can give.

  • signals: participants, recent_commenters, short_comments, duplicates and related. Each has count, percentile, weight and points.

  • participants counts the people who follow the issue or commented on it, bot accounts left out.

  • duplicates counts the closed duplicates linked to the issue. related counts its other linked issues and its child issues.

  • A percentile is the share of ranked issues with a lower count, with ties counted half.

  • A signal's points are its percentile times its weight, divided by the sum of the weights.

  • demand is the sum of the signal points. max_words bounds short_comments.

  • recent_commenters adds up the commenters. Each weighs 0.5 to the power of (days since their last comment, divided by half_life_days).

  • reach: projects_per_file counts the contrib projects per file of the issue's open merge requests. Its percentile ranks it among the issues that have one.

  • reach points are bonus times percentile times (100 minus demand), divided by 100. A null projects_per_file gives 0 points.

  • mix is demand plus reach points. Its term points are share times mix, divided by 100.

  • priority and type: value out of max, base before tags, and drupal, the drupal.org code. Their term points are share times (value minus 1), divided by (max minus 1).

  • Priority base: critical 4, major 3, normal 2, minor 1. The first matching rule then raises value to its level, never below base.

  • A blocker or stable blocker tag gives 6 on a critical issue, 5 on a major one and 4 on the rest.

  • An Accessibility, screenreader, Performance, Media Initiative or Out of the Box Initiative tag gives 4.

  • A Usability tag gives 3.

  • Type: bug 5, task 4, feature request 4, support request 2, plan 1. A Documentation tag sets 4.

  • set_by: the tag that changed value. Only the Documentation tag can lower one, a bug's type. It is null when no tag changed value.

  • rank: 1 plus the issues with a higher attention. tied: the other issues with the same attention. ranked: every issue with an attention.

  • unranked: why the issue has none, and null when it has one. attention, attention_parts, rank and tied are then null.

  • The reasons, first match wins: not_found, not_core, moved, closed, committed, no_version, drupal_8_or_earlier, not_in_snapshot.

  • facets: what the issue asks for, its subsystems and its topics, each with axis, value and source.

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": {
      "nid": "<nid>"
    },
    "name": "explain_issue_attention"
  }
}

Input Schema

NameRequiredDescriptionDefault
nidYesThe core issue's drupal.org node id: the id of a list_core_issues row or a review_queue head.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior5/5

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

Annotations only declare it read-only, idempotent, closed-world, and non-destructive; the description adds substantial behavior beyond that — data freshness (nightly for attention, weekly for reach), rounding tolerances, and the full first-match list of unranked reasons with the explicit nulling of attention, attention_parts, rank and tied. This tells the agent how to interpret a degraded result, which no annotation conveys.

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

Conciseness3/5

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

The purpose and sibling routing are front-loaded, but roughly thirty subsequent lines expand every returned field and scoring rule, with dashes doing the work of bullets in flat prose. Much of it earns its place given no output schema, yet the density and mixed inline code formatting make it slower to scan than it needs to be for a one-parameter lookup.

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

Completeness5/5

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

With no output schema and only one input parameter, the description carries the full burden of explaining the return shape, and it does so thoroughly: attention vs. attention_parts, points/share per term, signal scoring formulas, reach, mix, priority/type bases and tag overrides, rank/tied, unranked reasons, and facets. An agent can interpret any returned structure without guessing.

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?

There is a single parameter and schema description coverage is 100%, with the schema already explaining that nid is a drupal.org node id from a list_core_issues row or review_queue head. The description adds nothing about nid itself, so it sits at the baseline for fully documented schemas.

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 question it answers ('why does this Drupal core issue have this attention or this rank'), naming both the resource (core issue) and the two computed values returned. It also differentiates itself from siblings list_core_issues and review_queue by name, so an agent can pick it without opening the schema.

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?

Explicitly routes two adjacent needs elsewhere ('For a list of issues, call list_core_issues. For what to review, call review_queue'), which is exactly the when-to-use guidance an agent needs. It stops short of stating preconditions for the call itself (e.g., that a non-core or closed nid still returns a structured explanation rather than an error), leaving a small gap.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources