Skip to main content
Glama

DC Hub: Data Center, Energy & Power Grid Intelligence

Set Market Alert

set_market_alert

Use this when the user wants alerts on a data center market's Data Center Power Index (DCPI) score: subscribes to movement alerts (needs a key) when its Excess-Power / Constraint score moves. DATA USE: channel="email" takes your human's email, to send these alerts; it is bound to the key as with bind_email. DC Hub keeps it and never sells it or shares it for anyone else’s use (https://dchub.cloud/privacy). Run only when your human asks; confirm the address with them first. Without a full-access key, email alerts go only to the key's bound email. One call: pass email (an address your human typed here) with channel="email" and DC Hub binds it to this key first (minting a key if this session has none), then arms the watch; no separate get_api_key or bind_email. Alerts send when the market’s verdict flips or its scores move past the threshold, so a quiet market sends nothing. Webhook delivery (channel="webhook" + destination=) needs a full-access key. Answers "tell me when this market moves". Try: set_market_alert market=northern-virginia channel=webhook destination=https://hooks.example.com/dc. Do NOT use to read a market right now (use get_market_dcpi_rank); this SUBSCRIBES to future movement. For multi-step data center or energy questions, start with execute_plan.

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": {
      "market": "<market>",
      "channel": "<channel>"
    },
    "name": "set_market_alert"
  }
}

Input Schema

NameRequiredDescriptionDefault
emailNoOptional, channel="email" only: your human's email, typed by them here and confirmed. Binds it to the key (a key is minted if this session has none) and arms the watch in one call. DC Hub keeps it and never sells or shares it
marketYesMarket slug (metro) to watch, e.g. northern-virginia — valid slugs come from rank_markets / get_market_dcpi_rank
channelYesDelivery channel: "email" (sent to your bound email) or "webhook" (full-access key)
destinationNoFor channel="webhook", the https URL to POST alerts to (full-access key); ignored for email (forced to bound address)

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / channel / description
      Previous value: -"Delivery channel: \"email\" (free, sent to your bound email) or \"webhook\" (full-access key)"New value: +"Delivery channel: \"email\" (sent to your bound email) or \"webhook\" (full-access key)"
    • changedInput schema / properties / email / description
      Previous value: -"Optional, channel=\"email\" only: your human's email, typed by them here. Binds it to the key (a free key is minted if this session has none) and arms the watch in one call"New value: +"Optional, channel=\"email\" only: your human's email, typed by them here and confirmed. Binds it to the key (a key is minted if this session has none) and arms the watch in one call. DC Hub keeps it and never sells or shares it"
  2. Changed2 schema fields changed
    • changedInput schema / properties / channel / description
      Previous value: -"Delivery channel: \"email\" (free, sent to your bound email) or \"webhook\" (paid plan)"New value: +"Delivery channel: \"email\" (free, sent to your bound email) or \"webhook\" (full-access key)"
    • changedInput schema / properties / destination / description
      Previous value: -"For channel=\"webhook\", the https URL to POST alerts to (paid plan); ignored for email (forced to bound address)"New value: +"For channel=\"webhook\", the https URL to POST alerts to (full-access key); ignored for email (forced to bound address)"
  3. Changed1 schema field changed
    • addedInput schema / properties / email
      Added value: +{
      +  "description": "Optional, channel=\"email\" only: your human's email, typed by them here. Binds it to the key (a free key is minted if this session has none) and arms the watch in one call",
      +  "type": "string"
      +}
  4. Changed7 schema fields changed
    • removedOutput schema / properties / _entity
      Removed value: -{
      -  "type": "string"
      -}
    • removedOutput schema / properties / _front_door
      Removed value: -{
      -  "type": "object"
      -}
    • removedOutput schema / properties / _return_loop
      Removed value: -{
      -  "type": "object"
      -}
    • removedOutput schema / properties / citation
      Removed value: -{}
    • removedOutput schema / properties / provenance
      Removed value: -{
      -  "type": "object"
      -}
    • removedOutput schema / properties / quota
      Removed value: -{
      -  "type": "object"
      -}
    • removedOutput schema / properties / site_evaluation_handoff
      Removed value: -{}
  5. Changed19 schema fields changed
    • changedOutput schema / additionalProperties
      Previous value: -{}New value: +true
    • removedOutput schema / description
      Removed value: -"DC Hub envelope: tool data fields ride at the top level beside these keys."
    • removedOutput schema / properties / _entity / description
      Removed value: -"Payload class (facility|market|iso_grid|queue_results|deal|report|response); branch on it."
    • removedOutput schema / properties / _front_door / additionalProperties
      Removed value: -{}
    • removedOutput schema / properties / _front_door / description
      Removed value: -"First-tool hint: plan_query(intent) returns the ordered plan."
    • removedOutput schema / properties / _front_door / properties
      Removed value: -{}
    • removedOutput schema / properties / _return_loop / additionalProperties
      Removed value: -{}
    • removedOutput schema / properties / _return_loop / description
      Removed value: -"Next-session delta call (get_changes)."
    • removedOutput schema / properties / _return_loop / properties
      Removed value: -{}
    • removedOutput schema / properties / citation / anyOf
      Removed value: -[
      -  {
      -    "additionalProperties": {},
      -    "properties": {},
      -    "type": "object"
      -  },
      -  {
      -    "type": "string"
      -  }
      -]
    • removedOutput schema / properties / citation / description
      Removed value: -"How to attribute DC Hub: {source, url, license, cite_as, retrieved_at}, or the attribution line as a string."
    • removedOutput schema / properties / provenance / additionalProperties
      Removed value: -{}
    • removedOutput schema / properties / provenance / description
      Removed value: -"Source, method, as_of, verification_counts, license, cite_as; quote it when citing."
    • removedOutput schema / properties / provenance / properties
      Removed value: -{}
    • removedOutput schema / properties / quota / additionalProperties
      Removed value: -{}
    • removedOutput schema / properties / quota / description
      Removed value: -"Caller quota state (remaining calls, tier)."
    • removedOutput schema / properties / quota / properties
      Removed value: -{}
    • removedOutput schema / properties / site_evaluation_handoff / anyOf
      Removed value: -[
      -  {
      -    "items": {
      -      "additionalProperties": {},
      -      "properties": {},
      -      "type": "object"
      -    },
      -    "type": "array"
      -  },
      -  {
      -    "additionalProperties": {},
      -    "properties": {},
      -    "type": "object"
      -  }
      -]
    • removedOutput schema / properties / site_evaluation_handoff / description
      Removed value: -"Follow-up calls [{tool, parameters, why}] when the payload carries coordinates."
  6. Changed2 schema fields changed
    • changedInput schema / properties / channel / description
      Previous value: -"Delivery channel: \"email\" (free, sent to your bound email) or \"webhook\" (Pro)"New value: +"Delivery channel: \"email\" (free, sent to your bound email) or \"webhook\" (paid plan)"
    • changedInput schema / properties / destination / description
      Previous value: -"For channel=\"webhook\", the https URL to POST alerts to (Pro); ignored for email (forced to bound address)"New value: +"For channel=\"webhook\", the https URL to POST alerts to (paid plan); ignored for email (forced to bound address)"
  7. Added
  8. Removed
  9. Changed1 schema field changed
    • addedInput schema / required
      Added value: +[
      +  "market",
      +  "channel"
      +]
  10. Changed2 schema fields changed
    • removedInput schema / $schema
      Removed value: -"http://json-schema.org/draft-07/schema#"
    • removedOutput schema / $schema
      Removed value: -"http://json-schema.org/draft-07/schema#"
  11. Changed5 schema fields changed
    • removedOutput schema / properties / citation / additionalProperties
      Removed value: -{}
    • addedOutput schema / properties / citation / anyOf
      Added value: +[
      +  {
      +    "additionalProperties": {},
      +    "properties": {},
      +    "type": "object"
      +  },
      +  {
      +    "type": "string"
      +  }
      +]
    • changedOutput schema / properties / citation / description
      Previous value: -"Machine-readable citation: how to attribute DC Hub (dchub.cloud) for this payload."New value: +"Machine-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."
    • removedOutput schema / properties / citation / properties
      Removed value: -{}
    • removedOutput schema / properties / citation / type
      Removed value: -"object"
  12. Changed1 schema field changed
    • addedOutput schema / properties / _front_door
      Added value: +{
      +  "additionalProperties": {},
      +  "description": "In-band front-door hint (first workflow-entry tool of a session): call plan_query(intent) first for the ordered multi-step plan.",
      +  "properties": {},
      +  "type": "object"
      +}
  13. Changed5 schema fields changed
    • removedOutput schema / properties / site_evaluation_handoff / additionalProperties
      Removed value: -{}
    • addedOutput schema / properties / site_evaluation_handoff / anyOf
      Added value: +[
      +  {
      +    "items": {
      +      "additionalProperties": {},
      +      "properties": {},
      +      "type": "object"
      +    },
      +    "type": "array"
      +  },
      +  {
      +    "additionalProperties": {},
      +    "properties": {},
      +    "type": "object"
      +  }
      +]
    • changedOutput schema / properties / site_evaluation_handoff / description
      Previous value: -"Pre-built follow-up call (analyze_site / get_water_risk args) when the payload carries coordinates."New value: +"Pre-built follow-up calls (analyze_site / get_water_risk args) when the payload carries coordinates — an array of {tool, parameters, why} entries."
    • removedOutput schema / properties / site_evaluation_handoff / properties
      Removed value: -{}
    • removedOutput schema / properties / site_evaluation_handoff / type
      Removed value: -"object"
  14. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": {},
      +  "description": "DC Hub envelope: structuredContent mirrors the JSON payload in content[0].text — tool-specific data fields ride at the top level alongside these envelope keys.",
      +  "properties": {
      +    "_entity": {
      +      "description": "Payload class discriminator (e.g. facility|market|iso_grid|queue_results|deal|report|response) — branch on this before parsing the rest.",
      +      "type": "string"
      +    },
      +    "_return_loop": {
      +      "additionalProperties": {},
      +      "description": "Suggested next-session delta call (get_changes since=24h) so you pull only what changed.",
      +      "properties": {},
      +      "type": "object"
      +    },
      +    "citation": {
      +      "additionalProperties": {},
      +      "description": "Machine-readable citation: how to attribute DC Hub (dchub.cloud) for this payload.",
      +      "properties": {},
      +      "type": "object"
      +    },
      +    "provenance": {
      +      "additionalProperties": {},
      +      "description": "Collection-level provenance block: {source, method, as_of, verification_counts, cite_url_template, license, cite_as}. Quote the verification level when citing.",
      +      "properties": {},
      +      "type": "object"
      +    },
      +    "quota": {
      +      "additionalProperties": {},
      +      "description": "Caller quota state (remaining calls, tier) when available.",
      +      "properties": {},
      +      "type": "object"
      +    },
      +    "site_evaluation_handoff": {
      +      "additionalProperties": {},
      +      "description": "Pre-built follow-up call (analyze_site / get_water_risk args) when the payload carries coordinates.",
      +      "properties": {},
      +      "type": "object"
      +    }
      +  },
      +  "type": "object"
      +}
  15. Changed3 schema fields changed
    • addedInput schema / properties / channel / description
      Added value: +"Delivery channel: \"email\" (free, sent to your bound email) or \"webhook\" (Pro)"
    • addedInput schema / properties / destination / description
      Added value: +"For channel=\"webhook\", the https URL to POST alerts to (Pro); ignored for email (forced to bound address)"
    • addedInput schema / properties / market / description
      Added value: +"Market slug (metro) to watch, e.g. northern-virginia — valid slugs come from rank_markets / get_market_dcpi_rank"
  16. Added

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only say it is a non-read-only, non-destructive, non-idempotent call; the description goes far beyond by disclosing the key model (full-access key required for webhook, non-full-access keys force email to the bound address), the one-call side effect (binds email and may mint a key), delivery semantics ("a quiet market sends nothing"), and a data-use/privacy policy with a link. The one soft tension is webhook POSTs to an arbitrary https URL while openWorldHint=false, but the description itself discloses the external delivery rather than contradicting it.

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?

Well front-loaded ("Use this when...") with labeled sections (DATA USE, one-call mechanics, behavior, example, exclusion), so an agent can skim. It is on the long side for a 4-parameter tool, and the email-binding/privacy points are restated across the DATA USE block, the one-call paragraph, and the schema descriptions, which costs it a point.

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?

Given an output schema, full annotation coverage, and 100% schema description coverage, the description supplies everything left: trigger conditions, consent and confirmation requirements, key/permission tiers, side effects, and what silence means. Nothing an agent needs to invoke this correctly is missing.

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 the baseline is 3, and the schema already documents email binding, market slug sourcing, and channel values. The description still adds workflow meaning the schema does not: "no separate get_api_key or bind_email," the full-access requirement for webhook, and that destination is ignored for email because it is forced to the bound address.

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?

"Subscribes to movement alerts ... when its Excess-Power / Constraint score moves" names a specific verb (subscribe) and resource (a market's DCPI score), and explicitly frames the distinction from the read path: "Do NOT use to read a market right now (use get_market_dcpi_rank); this SUBSCRIBES to future movement." An agent can classify the call without opening the schema.

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?

Gives an explicit trigger ("when the user wants alerts on a data center market's DCPI score"), an explicit exclusion with the named alternative (get_market_dcpi_rank for reading now), and a routing hint for broader questions ("For multi-step data center or energy questions, start with execute_plan"). It also states a consent precondition: "Run only when your human asks; confirm the address with them first."

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