Skip to main content
Glama

Universal Data — x402 + MPP Payment Setup

api_solar_generation_forecast

Read-onlyIdempotent

Calculate hourly forecast-based solar production from Open-Meteo predicted shortwave radiation, installed DC kWp and user derating; daily output includes source weather timestamps. One call costs 0.01 USDC on Base x402; customer-owned provider credentials use X-Provider-Key header where needed.

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": {
      "latitude": "<latitude>",
      "longitude": "<longitude>",
      "capacity_kwp": "<capacity_kwp>"
    },
    "name": "api_solar_generation_forecast"
  }
}

Input Schema

NameRequiredDescriptionDefault
latitudeYesLatitude degrees -90 to 90
longitudeYesLongitude degrees -180 to 180
capacity_kwpYesPV array nameplate kWp
performance_ratioNoSystem performance ratio 0.1 to 1; default 0.80

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Beyond the annotations (readOnly, idempotent, non-destructive, open world), the description adds genuinely useful operational facts: a per-call price of 0.01 USDC on Base x402, an X-Provider-Key auth header for bring-your-own credentials, and the granularity/shape of the result (hourly plus a daily rollup carrying source timestamps). It does not cover failure modes on payment, rate limits, or forecast horizon length.

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, everything front-loaded: what is computed first, then cost and credential mechanics. No filler, no restatement of the tool name, and every clause (data source, inputs, price, auth header) carries information an agent needs before calling.

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?

With no output schema, the description does well to sketch hourly series plus a daily rollup, but it omits essentials for a paid metered call: output units (kWh vs W), forecast horizon in days, and what a failed payment or upstream error returns. For a 4-parameter open-world paid tool these are meaningful gaps.

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 description coverage is 100%, so all four parameters are already documented with ranges and defaults. The description only echoes two of them ('installed DC kWp', 'user derating') without adding format or unit detail, so it meets but does not exceed the baseline for a fully documented schema.

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 uses a specific verb ('Calculate') with a precisely bounded resource ('hourly forecast-based solar production') and names the underlying data source (Open-Meteo predicted shortwave radiation) plus the two drivers of the result. No sibling tool in the list produces PV yield figures, so an agent can route here without ambiguity.

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?

Usage context is implied through the required inputs (DC kWp, derating) and the credential note, but there is no explicit statement of when to pick this over, say, the other weather tools or how far ahead the forecast runs. The agent must infer that this is for energy-yield planning rather than raw weather lookup.

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