Skip to main content
Glama

price_alert

Read-onlyIdempotent

Webhook when a Base token crosses your target — Pay once to register a price-threshold alert on any Base token. Supply target price, direction (above/below), and an https webhook URL. A polling cron (daily by default; configurable to ~minutes) checks DexScreener and POSTs your webhook when it crosses. Expires after 30 days. Or omit the webhook and poll with check=: the verdict is THRESHOLD_MET, ok, FIRED, or unknown when the price feed could not be read. Required inputs: token, threshold, direction. Priced $0.05 per call over x402 on Base; send a prepaid x-credit-token header for unlimited calls, or get 1 free call/day per tool. No wallet or API key required.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
checkNoOr: alert id to poll its status
tokenYesToken address
webhookNoWebhook URL (optional — omit to poll)
directionYesDirection (above/below)
thresholdYesPrice threshold (USD)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataNoThe result payload. Shape is service-specific; every field is documented in the tool description.
serviceNoThe service id that answered.
checkedAtNoISO-8601 timestamp of when the underlying reads were taken.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / properties / data / description
      Previous value: -"The result payload. Shape is service-specific; every field is documented in the service description above."New value: +"The result payload. Shape is service-specific; every field is documented in the tool description."
  2. Changed1 schema field changed
    • removedOutput schema / required
      Removed value: -[
      -  "data"
      -]
  3. Added

TDQS

A3.6/5.0
Behavior1/5

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

The description describes registering persistent alerts, POSTing to webhooks, charging $0.05 per call, and expiring after 30 days, all of which imply side effects on the environment. The annotations declare readOnlyHint=true, which indicates the tool does not modify state or resources. This is a direct contradiction and would mislead an agent about the tool's side-effect profile.

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?

The description is a single dense paragraph but every sentence earns its place: purpose, mechanics, expiry, alternate polling mode, verdicts, pricing, and auth requirements. It is front-loaded with the core purpose. Slightly heavy formatting and pricing details could be organized better, but nothing is wasted.

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

Completeness5/5

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

The description covers both operational modes, required and optional parameters, expected verdicts, expiration behavior, pricing, and authentication requirements. Even with an output schema present, the description provides enough context for an agent to correctly invoke the tool in either register or poll mode. No critical usage detail is missing.

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 description coverage is 100%, so the parameters are already well documented. The description adds useful nuances like 'USD' for threshold, 'https' for webhook, and the check=<id> polling pattern, but it mostly restates what the schema already provides. A baseline 3 is appropriate because the schema carries most of the weight.

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?

The description states a specific action and resource: registering a price-threshold alert on a Base token and firing a webhook when the price crosses the target. It clearly distinguishes this from passive price tools by outlining both registration and polling modes. The verb+resource structure makes the tool's purpose immediately evident.

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?

It gives clear usage context: supply token, threshold, direction, and an HTTPS webhook, or omit webhook and poll with check=<id>. It also lists required inputs and notes that no wallet or API key is needed. It does not explicitly compare against sibling tools like token_price or multi_price, so the when-not-to-use boundary is left implicit.

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.

Resources