Skip to main content
Glama
jalcodev

gridhub-mcp

Zone brief (current state in context)

get_zone_brief
Read-onlyIdempotent

Get a snapshot: price, demand, and carbon intensity ranked against 30-day history, with 24h trends, generation mix, and a plain-English summary to assess if electricity is cheap or clean now.

Instructions

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).

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, so the safety profile is covered and the description carries a lower burden. It adds useful non-obvious behavior: data is 'strictly at-or-before now', the context window is the zone's own last ~30 days, and crucially, the free sample-mode behavior (truncated history at 50 rows, brief returning one context block, results clearly marked). Auth requirements (Bearer header vs X-PAYMENT) are also disclosed. No contradiction with annotations.

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?

The description is long but every sentence earns its place: purpose is front-loaded, then usage guidance, then auth/sample-mode details. The auth portion is dense and could arguably be split out, but it is actionable and not redundant. For the complexity of the tool it is appropriately sized and not padded.

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?

With no output schema, the description carries the return-value burden, and it does so in solid detail: it names the metrics, the ranking statistics (percentile, vs-median %, min/max, sample count, data window), the per-metric 24h trend, the generation mix (scoped to where published), and the summary sentence. The sample-mode truncation is explained. Minor gaps — the phrase 'brief returns one context block' is vague about what a truncated brief looks like — but coverage is strong for a composite read tool.

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 the schema already documents both parameters thoroughly — zone's enum with regional groupings and api_key's purpose. The description adds marginal value by weaving the api_key story into the broader auth section (header vs argument vs sample mode), but it does not substantially enrich parameter semantics beyond what the schema states. Baseline 3 is appropriate.

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, weighted verb-noun pair — 'Composite, interpretation-ready snapshot of one zone' — and enumerates the exact contents (price/demand/carbon intensity ranked against the zone's last ~30 days, 24h trend, generation mix, one-sentence summary). This clearly distinguishes it from siblings like get_latest (raw values) and get_history (historical series), and the title 'current state in context' reinforces the differentiation.

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 description gives explicit, quotable use cases: 'Best tool for questions like "is electricity cheap/clean in X right now" or "is this a good time to run a flexible workload"', which tells an agent when to reach for this tool. It also implies contrast with raw-data paths ('A raw price means little without this context'), implying get_latest for bare values. It does not name sibling alternatives explicitly or spell out when-not-to-use, but the context is clear enough for routing.

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

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/jalcodev/gridhub-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server