Skip to main content
Glama

RoB 2 traffic-light plot

rob_traffic_light

Generate RoB 2 traffic-light and summary bar plots (SVG) from per-domain study judgements, with overall ratings following RoB 2 rules or manual overrides.

Instructions

Draw a robvis-style RoB 2 traffic-light plot (SVG) from per-domain judgements, plus the summary bar plot (SVG). The overall judgement follows the RoB 2 rule unless overridden per study. Studies with 'some concerns' in 2+ domains are flagged † (RoB 2 allows considering an overall High there; never applied silently).

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": {
      "studies": "<studies>"
    },
    "name": "rob_traffic_light"
  }
}

Input Schema

NameRequiredDescriptionDefault
studiesYes
weightedNoWeight the summary plot by sample size N (default false)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations at all, the description carries the full burden and does substantial work: it discloses the output artifacts (two SVGs), the default overall-judgement rule, the per-study override path, and the † flagging behavior including the caveat that RoB 2 'allows considering an overall High there; never applied silently'. What is not disclosed is whether the SVGs are written to files or returned inline, and how input errors are handled.

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?

Three tight sentences, front-loaded with the primary output, then the default rule, then the non-obvious flagging caveat. Every sentence conveys distinct information; no filler.

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 no output schema, describing the produced artifacts is essential and mostly done (two SVGs), but the destination of those SVGs — returned payload versus file path — is unstated, which is the single most important missing fact for correct invocation. The nested studies array is adequately covered, though the weighted/`n` interplay is not.

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 50%, so the description needs to compensate somewhat. It clarifies that judgements are per-domain and that 'overall' is an override of a default rule, but the schema already states the worst-domain-wins default and the 'n'/weighted semantics are left to the schema alone; the description never explains how sample size feeds the weighted summary.

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 and resource — 'Draw a robvis-style RoB 2 traffic-light plot (SVG)' — plus the additional 'summary bar plot (SVG)'. It is unmistakably distinct from the sibling tools (forest_plot, prisma_diagram, sample_size) without needing to name them.

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?

The RoB 2 framing implies the usage context (you have per-domain risk-of-bias judgements), but there is no explicit 'use this when' clause, no prerequisites, and no comparison against the sibling plotting tools. Guidance is present only by implication.

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