Skip to main content
Glama

GridHub Electricity Market Data

Zone brief (current state in context)

get_zone_brief
Read-onlyIdempotent

Composite, interpretation-ready snapshot of one zone: current price / demand / carbon intensity where published (strictly at-or-before now), each ranked against that zone's own last ~30 days (percentile, vs-median %, min/max, sample count and the actual data window), a 24h trend per metric, the generation mix where published (GB, US-CAISO), and a one-sentence plain-English summary. Best tool for questions like 'is electricity cheap/clean in X right now' or 'is this a good time to run a flexible workload'. A raw price means little without this context. Authentication: send 'Authorization: Bearer ' on the MCP connection (free key, 500 requests/day, instant email signup at https://grid-hub.app/developers), or pay per call with x402 (USDC on Base) via the X-PAYMENT header. With no credentials, data tools run in free sample mode: real, current data but truncated (history capped at 50 rows; brief returns one context block). Sample results are clearly marked.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
zoneYesZone id. US ISOs: US-CAISO, US-ERCOT, US-PJM, US-MISO, US-NYISO, US-ISONE, US-SPP. Europe: DE-LU, FR, ES, IT-NO, NL, BE, PL, SE-3, NO-2, DK-1, AT, CH. Great Britain: GB. Australia (NEM): AU-NSW, AU-QLD, AU-VIC, AU-SA, AU-TAS. Call list_zones for names, sources, currencies and licences.
api_keyNoOptional GridHub API key (ghk_...). Prefer sending it as an 'Authorization: Bearer <key>' HTTP header on the MCP connection; use this argument only if your client cannot set headers. Without a key the tool runs in free sample mode (truncated output).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
zoneNo
as_ofNo
contextNo
currentNo
licenseNo
summaryNo
zone_nameNo
attributionNo
coverage_noteNo
context_window_requested_daysNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "as_of": {
      +      "type": [
      +        "number",
      +        "null"
      +      ]
      +    },
      +    "attribution": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "context": {
      +      "additionalProperties": {
      +        "properties": {
      +          "max": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "median": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "min": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "percentile": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "sample_count": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "unit": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "vs_median_pct": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "window_days_actual": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          }
      +        },
      +        "type": [
      +          "object",
      +          "null"
      +        ]
      +      },
      +      "type": [
      +        "object",
      +        "null"
      +      ]
      +    },
      +    "context_window_requested_days": {
      +      "type": [
      +        "number",
      +        "null"
      +      ]
      +    },
      +    "coverage_note": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "current": {
      +      "additionalProperties": {
      +        "properties": {
      +          "ts": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "unit": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "value": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          }
      +        },
      +        "type": [
      +          "object",
      +          "null"
      +        ]
      +      },
      +      "type": [
      +        "object",
      +        "null"
      +      ]
      +    },
      +    "license": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "summary": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "zone": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "zone_name": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    }
      +  },
      +  "type": "object"
      +}
  2. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already cover the safety profile (readOnly, idempotent, openWorld, non-destructive), and the description adds real behavioral context beyond that: strict at-or-before-now freshness, the ~30-day comparison window, generation-mix coverage limits, and full auth/rate-limit/sample-mode disclosure (500 req/day, truncated history at 50 rows, one context block in sample mode, clearly marked).

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?

Front-loads the purpose and contents in the opening sentence, then usage, then auth/sample mode. Dense and mostly free of waste, though the auth/sample-mode passage is lengthy and somewhat secondary to tool selection.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With a 2-parameter schema at full coverage and an output schema present, the description needn't explain return values; it still covers freshness, coverage limits, auth, and sample-mode behavior. Nothing an agent needs to call this correctly is missing.

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 zone enum and api_key are already fully documented in the schema; the description adds little parameter-level detail beyond reinforcing the header-vs-argument preference for the key. Baseline 3 is appropriate when the schema does the heavy lifting.

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+resource ('composite, interpretation-ready snapshot of one zone') and enumerates exactly what the snapshot contains (price/demand/carbon percentile-vs-own-history, 24h trend, generation mix, one-line summary). This clearly distinguishes it from siblings like get_latest and get_history, which return raw single points or series without context.

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?

Gives explicit triggering questions ('is electricity cheap/clean in X right now', 'good time to run a flexible workload') and argues against the raw alternative ('A raw price means little without this context'). It does not name a specific sibling to use instead nor state when NOT to use it, so it falls short of 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.