Skip to main content
Glama

Renewable Vision energy data

Count and add up projects

aggregate_projects
Read-only

Count projects, add up their stated capacity or their disclosed investment, grouped by country, place, stage, technology, sector, developer, year (of commercial operation) or source (tracker), optionally split by stage, technology, sector or country, over any filter find_projects takes. Computed by the same engine as the site’s assistant, so the figures equal the ones /assistant gives for the same question. The units rule: capacity is added within one family only, MW, MWp and MWac as each source states them, or one other unit alone (MWh, t/yr, m3/day); MWh is never added to MW and heat (MWth) never to electricity. Every answer says how many matching projects were not counted and why (no figure in the unit, a figure its source says must not be added up, no stated year), the method in words, the trackers it rests on with their pages, and the date the newest row was read. Answers anyone: these are aggregates, as the tracker pages print them; the rows themselves are find_projects.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "aggregate_projects"
  }
}

Input Schema

NameRequiredDescriptionDefault
codNoCommercial operation date or range, e.g. 2027 or 2026..2028
textNoFree text: a project, place or company name (q=)
placeNoPlace slugs, comma-separated: a country (saudi-arabia, uae, oman, qatar, kuwait, bahrain, egypt, morocco, india …), a group (gcc, mena) or a province. A group matches every place within it.
stageNoA stage or a range on the lifecycle ladder, e.g. construction or tendered..operational
unitsNocapacity: the units to add, e.g. ["MW"] or ["MWh"]; default the sector’s own
filterNoThe /data/projects query string, as the site and its assistant take it, e.g. "place=gcc&tech=solar&stage=construction..operational&cod=2026..2028". The named fields below are added to it.
localeNoLanguage of labels and method; default en
sectorNorenewables, storage, data-centres, hydrogen, ccus, water
groupByNoThe categories; default country
measureNocount (default), capacity (stated, in one unit family) or investment (disclosed, USD bn)
splitByNoOne value per category per split (a stacked chart)
trackerNoOnly the rows of one tracker: saudi-renewables, saudi-captive-solar, gcc-renewables, regional-renewables, world-renewables, saudi-storage, saudi-data-centres, gcc-data-centres, regional-data-centres, world-data-centres, global-ccus, iea-hydrogen, saudi-water-register, saudi-ai-register, saudi-dedicated-systems
developerNoA developer’s company slug, e.g. acwa-power, masdar
technologyNosolar, wind, csp, battery-storage, electrolysis … (tech=)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / tracker / description
      Previous value: -"Only the rows of one tracker: saudi-renewables, saudi-captive-solar, gcc-renewables, regional-renewables, saudi-storage, saudi-data-centres, gcc-data-centres, regional-data-centres, global-ccus, iea-hydrogen, saudi-water-register, saudi-ai-register, saudi-dedicated-systems"New value: +"Only the rows of one tracker: saudi-renewables, saudi-captive-solar, gcc-renewables, regional-renewables, world-renewables, saudi-storage, saudi-data-centres, gcc-data-centres, regional-data-centres, world-data-centres, global-ccus, iea-hydrogen, saudi-water-register, saudi-ai-register, saudi-dedicated-systems"
    • changedInput schema / properties / tracker / enum
      Previous value: -[
      -  "saudi-renewables",
      -  "saudi-captive-solar",
      -  "gcc-renewables",
      -  "regional-renewables",
      -  "saudi-storage",
      -  "saudi-data-centres",
      -  "gcc-data-centres",
      -  "regional-data-centres",
      -  "global-ccus",
      -  "iea-hydrogen",
      -  "saudi-water-register",
      -  "saudi-ai-register",
      -  "saudi-dedicated-systems"
      -]New value: +[
      +  "saudi-renewables",
      +  "saudi-captive-solar",
      +  "gcc-renewables",
      +  "regional-renewables",
      +  "world-renewables",
      +  "saudi-storage",
      +  "saudi-data-centres",
      +  "gcc-data-centres",
      +  "regional-data-centres",
      +  "world-data-centres",
      +  "global-ccus",
      +  "iea-hydrogen",
      +  "saudi-water-register",
      +  "saudi-ai-register",
      +  "saudi-dedicated-systems"
      +]
  2. Added

TDQS

A4.5/5.0
Behavior5/5

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

Annotations only declare read-only, non-destructive, closed-world, so the description carries the real disclosure burden and does so: it states the unit-addition rule (capacity within one family only, MWh never added to MW, MWth never to electricity), that every answer reports uncounted projects and why, the method in words, contributing trackers with pages, and the newest-row read date. It also asserts parity with the /assistant engine, which sets expectations about the numbers returned.

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?

It is front-loaded with the action and grouping dimensions, and most clauses carry real information (units rule, exclusions, provenance). It is nevertheless a dense single block with long comma-chained clauses that take effort to parse, and phrases like "Answers anyone" are compressed to the point of obscurity.

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 a 14-parameter, no-output-schema aggregate tool, the definition covers the hard parts: unit safety, what gets excluded from totals, and what metadata accompanies the result. It does not mention result-size limits, defaults for groupBy/measure beyond passing references, or the shape of the returned rows, which leaves a modest gap.

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 the baseline is 3, but the description adds genuine meaning: the filter string is described as taking anything find_projects takes, measure is explained as stated capacity in one unit family or disclosed investment in USD bn, and the units parameter's per-sector default is clarified. The split/group interaction is only loosely implied as "a stacked chart", so it is not a full 5.

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?

The description opens with a specific verb pair and resource ("Count projects, add up their stated capacity or their disclosed investment") and enumerates the grouping dimensions an agent can choose. The final clause explicitly demarcates it from find_projects ("the rows themselves are find_projects"), so the aggregate-vs-row distinction is unambiguous.

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?

It gives a clear context of use — aggregated figures as the tracker pages print them — and routes row-level needs to find_projects, which is the natural sibling. It stops short of an explicit "use this when X, not Y" rule or stating prerequisites/limits on call size, so it earns a 4 rather than a 5.

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