Skip to main content
Glama

PRISMA 2020 flow diagram

prisma_diagram

Draws PRISMA 2020 flow diagrams as SVG for database and register searches, automatically calculating screening, retrieval, and inclusion counts from your review data.

Instructions

Draw a PRISMA 2020 flow diagram (SVG) for a review that searched databases and registers. Derived counts are computed for you: records screened = identified − removed before screening; reports sought = screened − excluded; reports assessed = sought − not retrieved.

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": {
      "databases": "<databases>",
      "studiesIncluded": "<studiesIncluded>"
    },
    "name": "prisma_diagram"
  }
}

Input Schema

NameRequiredDescriptionDefault
databasesYesRecords identified from databases
registersNoRecords identified from registers (default 0)
notRetrievedNoReports not retrieved (default 0)
otherRemovedNoRecords removed for other reasons (default 0)
screenExcludedNoRecords excluded at title/abstract screening (default 0)
reportsIncludedNoReports of included studies (defaults to studiesIncluded)
studiesIncludedYesStudies included in the review
exclusionReasonsNoFull-text exclusion reasons with counts, e.g. 'Wrong population (n = 24)'
fullTextExcludedNoReports excluded at full-text stage (default 0)
automationRemovedNoRecords marked ineligible by automation tools (default 0)
duplicatesRemovedNoDuplicate records removed (default 0)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior3/5

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

With no annotations present the description must carry the behavioral burden. It usefully discloses that derived counts are computed automatically (with the arithmetic spelled out) and that output is SVG, but says nothing about side effects, error handling for inconsistent totals, or how the SVG is returned. Meaningful but incomplete disclosure for an unannotated tool.

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 sentences with the primary action front-loaded and the arithmetic follow-up compact. No redundant restatement of the title or schema descriptions.

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?

For an 11-parameter, unannotated, no-output-schema tool the description covers purpose, output format, and the computation model. The main residual gap is the return mechanics (inline SVG vs. file path) and validation behavior when stage counts are internally inconsistent.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% so baseline is 3, and the description earns an increment by documenting derived relationships the schema cannot express (screened = identified − removed, sought = screened − excluded, assessed = sought − not retrieved). It still doesn't map the formulas onto the specific named parameters (duplicatesRemoved, otherRemoved, automationRemoved) that feed 'removed before screening'.

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?

Specific verb and resource ('Draw a PRISMA 2020 flow diagram (SVG)') plus a scope qualifier ('for a review that searched databases and registers'). The subject matter plainly distinguishes it from forest_plot, rob_traffic_light, and sample_size without naming 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 phrase 'for a review that searched databases and registers' implicitly scopes when this tool applies, but there is no explicit when-to-use/when-not guidance and no mention of alternatives. An agent can infer applicability from the PRISMA context but must reason about it.

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