Skip to main content
Glama

IRENA renewable energy statistics for one country

energy_irena_renewable_cost_db
Read-only

IRENA renewable energy statistics for one country: installed electrical capacity (MW) and electricity generation (GWh) by technology (total renewable, solar PV, onshore and offshore wind, hydropower, bioenergy, geothermal and more) for recent years, from IRENA's public IRENASTAT database. Levelised generation costs (LCOE) are not in this API and are not included. Price: $0.002 per successful call, paid with x402 (USDC on Base, Solana and 10 more networks); failed calls are not charged.

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": {
      "country": "<country>"
    },
    "name": "energy_irena_renewable_cost_db"
  }
}

Input Schema

NameRequiredDescriptionDefault
yearsNoMost recent years to return, 1 to 10 (default 3)
countryYesISO 3166 alpha-3 country code, e.g. TUR, DEU, USA (required)
technologyNoOptional words to match technologies, comma separated, e.g. solar,wind (default: total renewable, solar PV, onshore wind, renewable hydropower)

Output Schema

NameRequiredDescriptionDefault
sourceNo
countryNo
citationNo
checkedAtNo
countryNameNo
technologiesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Annotations only declare readOnlyHint and openWorldHint; the description adds materially important behavior: a $0.002 per-call price, x402 payment via USDC across multiple networks, and the fact that failed calls are not charged. It also pins the upstream source (IRENASTAT), which matters for data provenance and openWorld access assumptions.

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?

Purpose, technology coverage, source, exclusion, and pricing are front-loaded with no filler. It is a single dense paragraph, and the long technology enumeration slightly repeats the schema's default list, but nothing is wasted.

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?

Given an output schema exists, the description need not explain return values, and it covers source, units, scope, and payment model adequately. A small gap remains on how technology matching behaves (free-text substring vs. canonical names), which matters for a tool with no enums.

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%, so country codes, year counts, and technology matching are already documented in the schema. The description adds no syntax or matching nuances beyond what those field descriptions provide, so the baseline 3 applies.

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: IRENA renewable statistics for one country, broken out as installed capacity (MW) and generation (GWh) by technology, with the source database named. It also explicitly excludes LCOE, which separates it from cost-oriented siblings such as the NREL ATB benchmarks.

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?

The one-country scope and the technology/year options are made clear, and the explicit statement that LCOE is not in this API signals when to reach for a cost tool instead. However, it does not name a concrete alternative or state exclusions such as non-IRENA countries or non-electricity data.

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