Skip to main content
Glama
jalcodev

gridhub-mcp

All zones right now

get_map_snapshot
Read-onlyIdempotent

Retrieve current electricity prices and demand for all 25 grid zones in one call to compare and rank regions by price or demand.

Instructions

Current headline values for all 25 zones in one call — the cheapest way to compare zones (e.g. 'which European zone has the lowest price right now', 'rank US ISOs by demand'). Rebuilt every 5 minutes. 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
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.

  1. First observedv0.1.0

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already indicate readOnly, idempotent, non-destructive behavior; the description goes well beyond this by disclosing refresh cadence ('Rebuilt every 5 minutes'), authentication options (Bearer key, x402 payment), and free sample mode behavior with truncation and marked results. This is rich behavioral context.

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 front-loaded with purpose and examples, then follows with refresh, auth, and fallback details. It is economical despite length; the only minor issue is some repetition of api_key guidance already present in the schema.

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 one optional parameter, no output schema, and readOnly annotations, the description covers all essential aspects: purpose, usage, refresh behavior, authentication, and unauthenticated fallback. It doesn't describe return shape, but that's not critical for a straightforward snapshot tool.

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 already documents api_key thoroughly with header preference and sample mode. The description adds complementary practical meaning: rate limits, x402 alternative, and the no-credential fallback, making the parameter more actionable.

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?

Description states 'Current headline values for all 25 zones in one call', giving a specific resource and scope. The examples ('which European zone has the lowest price right now', 'rank US ISOs by demand') make its comparative purpose unmistakable and distinguish it from per-zone or history siblings.

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 clear usage context with concrete examples of when to use this tool ('cheapest way to compare zones'). It does not explicitly name alternatives or state when not to use it, so it stops short of full exclusions.

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