Skip to main content
Glama
DC Hub: Data Center and Energy Intelligence

DC Hub: Data Center and Energy Intelligence

Get API Key

get_api_key

Mint a DC Hub API key to unlock more data center and energy data than keyless access, optionally tying it to an email for recovery and weekly lookup summaries.

Instructions

Use this when the user wants more DC Hub data center data than keyless allows, or asks for a key; no key is needed to start. DATA USE: the optional email, used to make the key recoverable and send its weekly lookup summary. 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 email with them first. Mints a key and returns it plus connect_url, a connector URL with the key embedded (the only thing hosted chat clients keep). WHAT AN EMAIL KEEPS: the key, with its saved shortlists, alerts and tracked changes (get_changes), for the next chat; fuller grid, queue and market answers; a weekly summary of what your key looked up (unsubscribe anytime); and recovery (recover_my_key re-sends a lost key to that inbox). Ask the user for an email first; pass it only if they typed it. Save and reuse the key (lost one: recover_my_key); don't re-mint. Then ask the real question (execute_plan for multi-step). If a call was answered with a sign-in challenge (401 WWW-Authenticate), prefer signing in: that identity persists, but a human must finish it in a browser. For multi-step data center or energy questions, start with execute_plan.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_api_key"
  }
}

Input Schema

NameRequiredDescriptionDefault
emailNoOptional owner email to make the key recoverable across sessions; use only an address your human explicitly gave and confirmed. DC Hub keeps it and never sells or shares it
marketNoOptional market slug to follow with the email, e.g. northern-virginia: the same call follows its daily changes
client_nameNoYour agent/app name for attribution, e.g. "Claude Desktop" or "acme-siting-bot"

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.12.61

TDQS

A4.4/5.0
Behavior4/5

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

Annotations only say readOnly=false, idempotent=false, destructive=false; the description adds real behavioral context: it is non-idempotent by warning not to re-mint, it discloses email retention and the weekly summary, and it explains that connect_url is the only artifact hosted chat clients keep. It loses a point because the privacy/data-use paragraph is partly promotional boilerplate rather than operationally useful detail (e.g. no mention of key scope or expiry).

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The trigger is correctly front-loaded, but the body is dense and repetitive: the confirm-the-email rule appears twice ("confirm the email with them first" and "pass it only if they typed it"), and the WHAT AN EMAIL KEEPS block restates the email field description. The all-caps section labels help scanning but several sentences do not earn their place.

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?

For a minting tool with privacy implications and follow-on flows, the description covers when to call, what is created, what persists across sessions, and which sibling to use next; the output schema covers return shape, though connect_url is still explained. Slightly over-complete on marketing copy and silent on key lifetime/limits.

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, but the description adds meaning: email is only to be passed if the human typed and confirmed it, and market ties the follow to a market's daily changes. It goes beyond the field descriptions and instructs how to collect the value rather than just what it is.

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?

Mints a key and returns it plus connect_url" names a specific verb, the resource, and the primary return value, and it explicitly contrasts with recover_my_key ("lost one: recover_my_key; don't re-mint"), so the agent can separate minting from recovery without opening either 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?

States the trigger ("when the user wants more DC Hub data than keyless allows, or asks for a key"), the negative case ("no key is needed to start"), a permission gate ("Run only when your human asks"), and named alternatives (recover_my_key, execute_plan, browser sign-in for 401 challenges). Almost nothing is left to inference.

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

Deploy Server

Other Tools