Skip to main content
Glama
azmartone67

DC Hub — Data Center & Energy Intelligence

Set Site Alert

set_site_alert

Get email alerts for a saved site when its DCPI score, grid capacity, or nearby facilities change, so you don't have to keep re-checking.

Instructions

Arm an email watch on a site you already saved (FREE with a key) — DC Hub emails you when that site’s DCPI score, grid capacity, or nearby facilities move, so you don’t have to keep re-checking. On the free tier the alert is delivered to your human’s bound email (call bind_email first; notify_email is forced to that address). Pro can send to any address. The "monitor my shortlist for me" loop: call save_site first (it returns a saved_site_id), then set_site_alert on that id. Params: saved_site_id (required integer, from save_site or list_saved_sites), trigger_type ("dcpi_change" | "capacity_change" | "new_facility_nearby", default "dcpi_change"), threshold (number — the points/MW move that fires it, default 5), notify_email (required — the address the alert is sent to). Try: set_site_alert saved_site_id=12 trigger_type=dcpi_change threshold=5 notify_email=you@firm.com. Returns {ok, alert_id, message}. Do NOT use to watch a whole MARKET (use set_market_alert) or to save a new site (use save_site); this arms a monitor on ONE already-saved site.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
thresholdNoThe points/MW move that fires the alert (default 5)
notify_emailNoEmail address the alert is sent to (required); on free tier forced to your human's bound email
trigger_typeNoWhat movement fires the alert: "dcpi_change" (default), "capacity_change", or "new_facility_nearby"
saved_site_idNoThe saved_site_id returned by save_site or list_saved_sites (required)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
quotaNoCaller quota state (remaining calls, tier) when available.
_entityNoPayload class discriminator (e.g. facility|market|iso_grid|queue_results|deal|report|response) — branch on this before parsing the rest.
citationNoMachine-readable citation: how to attribute DC Hub (dchub.cloud) for this payload. Normally an OBJECT {source, url, license, cite_as, retrieved_at}; a bare string is accepted and carries the attribution line itself.
provenanceNoCollection-level provenance block: {source, method, as_of, verification_counts, cite_url_template, license, cite_as}. Quote the verification level when citing.
_front_doorNoIn-band front-door hint (first workflow-entry tool of a session): call plan_query(intent) first for the ordered multi-step plan.
_return_loopNoSuggested next-session delta call (get_changes since=24h) so you pull only what changed.
site_evaluation_handoffNoPre-built follow-up calls (analyze_site / get_water_risk args) when the payload carries coordinates — an array of {tool, parameters, why} entries.
Behavior4/5

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

With all annotations set to false, the description carries the burden and does well: it discloses the side effect ('DC Hub emails you'), forced email behavior on free tier, and the required prior calls (bind_email, save_site). It lacks some details like whether alerts are recurring or how to cancel, but the core behavioral traits are transparent.

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 well-structured: purpose, free-tier note, workflow, params, example, returns, and exclusions. It is front-loaded with the main verb. Some redundancy exists (e.g., repeating schema parameter details), but each section earns its place given the tool's complexity.

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?

The description covers all essential context: prerequisites, step-by-step workflow, parameter semantics, return value, and explicit alternative tools. With an output schema present and rich sibling context, this description is fully sufficient for an agent to select and invoke the tool correctly.

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 coverage is 100%, so baseline is 3. The description adds value by giving a concrete example ('set_site_alert saved_site_id=12...'), clarifying requiredness (saved_site_id and notify_email) and the relationship between parameters (saved_site_id from save_site/list_saved_sites). These are not fully captured in the schema alone.

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 clearly states the tool's purpose: 'Arm an email watch on a site you already saved' and specifies the trigger mechanisms (DCPI score, grid capacity, nearby facilities). It immediately distinguishes from siblings by noting 'Do NOT use to watch a whole MARKET (use set_market_alert) or to save a new site (use save_site).'

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Provides explicit when-to-use guidance, including the prerequisite workflow ('call save_site first... then set_site_alert') and the free-tier requirement to 'call bind_email first.' It also explicitly names alternatives: set_market_alert for markets and save_site for saving new sites, making the choice clear.

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

Install Server

Other Tools

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/azmartone67/dchub-mcp-server'

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