Skip to main content
Glama

OilPriceAPI hosted energy data

Manage Price Watches

energy_manage_watches
Destructive

List persistent agent price watches or poll cursor-based watch events (energy:read), or create/delete watches (requires energy:write scope). Account entitlement is enforced by OilPriceAPI.

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": {
      "action": "<action>",
      "limit": "<limit>"
    },
    "name": "energy_manage_watches"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNo
codesNo
limitYes
sinceNo
actionYes
intervalNo
subscription_idNo

Output Schema

NameRequiredDescriptionDefault
accessNo
datasetNo
messageNo
outcomeNo
handoff_urlYes
upgrade_urlNo
website_urlYes
availabilityNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.4/5.0
Behavior4/5

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

The annotations already declare destructiveHint=true, openWorldHint=true, idempotentHint=false and readOnlyHint=false, so the safety profile is largely covered. The description adds information the annotations cannot convey: the OAuth scopes required per action and that account entitlement is enforced upstream by OilPriceAPI. It stops short of saying which action is destructive (create/delete) or what a delete removes, leaving the agent to infer that from the annotations plus the verb.

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?

A single sentence that front-loads the read actions and appends the write actions with their scope in parentheses. Nothing is wasted, though the nested parenthetical/scope structure takes a second read to parse.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return values need no explanation, and the scope/entitlement notes cover the authorization story. But for a seven-parameter, action-discriminated tool with zero schema descriptions, the definition leaves the agent unable to tell which fields each action needs or what interval, since, and subscription_id mean.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% across seven parameters, so the description carries the full explanatory burden and mostly fails it. It tells the agent nothing about name, codes, limit, since, interval, or subscription_id, nor why both action and limit are required. The only mapping it supplies is implicit: the verbs list/poll_events/create/delete correspond to the action enum values.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names the resource (price watches) and enumerates the four distinct operations: list, poll events, create, delete. It clearly separates the read path from the write path. It does not differentiate this tool from the sibling energy_manage_alerts, which an agent may plausibly confuse with watch management.

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

Usage Guidelines3/5

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

It gives a workable split between read actions (list/poll_events) and write actions (create/delete) with the scope each requires, which is genuine routing guidance. However, it never states when an agent should choose this over energy_manage_alerts or energy_get_latest, and no exclusions are offered.

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.