amber_current_price
Get the current electricity price for an Amber site.
This record as markdown: /tools/creativelead-unclick/amber-current-price.md
What amber_current_price does on UnClick
AI agents call amber_current_price to retrieve information from UnClick without modifying anything. It is typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.
| Parameter | Type | Required | Description |
|---|---|---|---|
api_key | string | — | |
site_id | string | — |
Parameters from the server's own tool schema.
Why amber_current_price is rated Low
This tool queries and retrieves current electricity pricing information without creating, modifying, deleting, or executing any operations. It is a straightforward read-only data fetch operation with minimal risk if misused by an AI agent—at worst, an agent could retrieve prices repeatedly or for many sites, but this causes no harm to data or systems.
From the tool's definition Tool name 'amber_current_price' and description 'Get the current electricity price for an Amber site' indicate a data retrieval operation with no modification or side effects.
Risk signalsHandles credentials or secrets (api_key)
Attacks that exploit this kind of access
The rule that runs amber_current_price safely
PolicyLayer is an MCP gateway: it sits between your AI agents and UnClick, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For amber_current_price, this is the rule to start with:
amber_current_price is read-only, so it stays allowed. Everything else on the server is denied unless you say otherwise.
The button opens the PolicyLayer dashboard: create your workspace, connect UnClick, apply this rule, and every amber_current_price call is checked against it from then on.
Questions about amber_current_price
Get the current electricity price for an Amber site. It is categorised as a Read tool in the UnClick MCP Server, which means it retrieves data without modifying state.
amber_current_price accepts 2 parameters: api_key, site_id. The full parameter table on this page comes from the server's own tool schema.
Register the UnClick MCP server in PolicyLayer and add a rule for amber_current_price: 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 UnClick. Nothing to install.
amber_current_price is a Read tool with low risk. Read-only tools are generally safe to allow by default.
Yes. Add a rate_limit block to the amber_current_price 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 amber_current_price. 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.
amber_current_price is provided by the UnClick MCP server (creativelead/unclick). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on UnClick, and thousands of servers like it.
This server
Across the catalogue