set_market_alert
Subscribe to movement alerts for a DCPI market (FREE with a key) — get notified when its Excess-Power / Constraint score moves. On the free tier, email alerts are delivered to the email your human bound via bind_email (call bind_email first; the destination is forced to that address). Set channel...
This record as markdown: /tools/cloud-dchub-mcp-server/set-market-alert.md
What set_market_alert does on Mcp Server
AI agents use set_market_alert to create or update resources in Mcp Server, usually the action step of a workflow, after the agent has gathered context. Every call changes real data in your Mcp Server environment.
| Parameter | Type | Required | Description |
|---|---|---|---|
market | string | — | Market slug (metro) to watch, e.g. northern-virginia — valid slugs come from rank_markets / get_market_dcpi_rank |
channel | string | — | Delivery channel: "email" (free, sent to your bound email) or "webhook" (Pro) |
destination | string | — | For channel="webhook", the https URL to POST alerts to (Pro); ignored for email (forced to bound address) |
Parameters from the server's own tool schema.
Why set_market_alert is rated Medium
This tool creates new alert subscriptions and modifies notification settings, which are reversible write operations. While it enables ongoing monitoring through webhooks or email, the core action is creating/updating alert configurations in the service's database.
From the tool's definition Tool 'set_market_alert' performs a subscription action that creates or modifies alert configurations. Key phrases: 'Subscribe to movement alerts', 'email alerts are delivered', 'Set channel=', and 'Lets an agent MONITOR markets' indicate state-changing…
Risk signalsAccepts file system path (destination)
Attacks that exploit this kind of access
The rule that runs set_market_alert safely
PolicyLayer is an MCP gateway: it sits between your AI agents and Mcp Server, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For set_market_alert, this is the rule to start with:
set_market_alert stays usable, but capped: an agent stuck in a loop can't make hundreds of changes a minute. Everything else on the server is denied unless you say otherwise.
The button opens the PolicyLayer dashboard: create your workspace, connect Mcp Server, apply this rule, and every set_market_alert call is checked against it from then on.
Questions about set_market_alert
Subscribe to movement alerts for a DCPI market (FREE with a key) — get notified when its Excess-Power / Constraint score moves. On the free tier, email alerts are delivered to the email your human bound via bind_email (call bind_email first; the destination is forced to that address). Set channel="email". Webhook delivery (channel="webhook" + destination=<https URL>) is Pro. Lets an agent MONITOR markets, not just query them. 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. It is categorised as a Write tool in the Mcp Server MCP Server, which means it can create or modify data. Consider rate limits to prevent runaway writes.
set_market_alert accepts 3 parameters: market, channel, destination. The full parameter table on this page comes from the server's own tool schema.
Register the Mcp Server MCP server in PolicyLayer and add a rule for set_market_alert: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Mcp Server. Nothing to install.
set_market_alert is a Write tool with medium risk. Write tools should be rate-limited to prevent accidental bulk modifications.
Yes. Add a rate_limit block to the set_market_alert rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for set_market_alert. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
set_market_alert is provided by the Mcp Server MCP server (https://dchub.cloud/mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on Mcp Server, and thousands of servers like it.
This server
Across the catalogue