Skip to main content
Glama

oracle.alert-generator

Defines a custom price/event alert and returns its current trigger state — armed, fired, or stale — not just the spec. Settlement proof: ProofOfSettledOutcome (kind 30120, data/proof_settled_outcomes.jsonl). Reads off oracle.volatility-monitor and oracle.price-feed; this SKU is the trigger layer, not the data layer. Refuses, with no charge, when live price + buyer threshold fields cannot be fetched. (x402: $0.02 USDC per call)

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": "oracle.alert-generator"
  }
}

Input Schema

NameRequiredDescriptionDefault
taskNoTask/query text for this SKU

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already cover safety/destructiveness, and the description adds real value beyond them: the three return states, the settlement proof artifact (kind 30120, data/proof_settled_outcomes.jsonl), the upstream dependencies, the no-charge refusal behavior, and the $0.02 USDC x402 cost. It does not explain persistence or how an existing alert is later retrieved or re-armed, which keeps it below a 5.

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?

Front-loaded with the verb and the returned states, then dependencies, refusal behavior, and price — each sentence carries distinct information. Some internal jargon ('SKU', 'kind 30120', the jsonl path) is dense but plausibly useful for settlement verification.

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?

With no output schema, the description usefully enumerates the trigger states, dependencies, and cost. However, for a tool whose whole purpose is defining an alert with a price and threshold, the only input is a generic 'task' string, and the description never explains how to express those fields — a meaningful gap for correct invocation.

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

Parameters3/5

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

Schema coverage is 100% for the single 'task' string, so the baseline is 3. The description mentions 'live price' and 'buyer threshold fields' that have no corresponding named parameters, leaving the agent to guess that these must be embedded in the free-text task; it adds context but not actionable parameter meaning.

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?

States a specific verb and resource ('Defines a custom price/event alert') plus what is returned ('its current trigger state — armed, fired, or stale'). It explicitly distinguishes itself from siblings by naming oracle.volatility-monitor and oracle.price-feed and declaring 'this SKU is the trigger layer, not the data layer.'

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

Usage Guidelines4/5

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

Clearly frames when to reach for this tool versus the data-layer siblings it reads from, and adds a concrete refusal condition ('when live price + buyer threshold fields cannot be fetched'). It stops short of an explicit when-not-to-use rule (e.g. 'use oracle.price-feed for raw quotes'), but the layer distinction covers most selection ambiguity.

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.