Skip to main content
Glama

LLM Pricing

register_price_alert

Register a webhook URL to receive notifications when a model's price changes by more than a specified percentage. Optionally scope the alert to a specific provider or model. Returns the alert ID.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesWebhook URL to POST when the alert fires
providerNoLimit to a specific provider (e.g. 'openai'). Omit for all.
model_nameNoLimit to a specific model name. Omit for all models.
threshold_pctNoMinimum absolute % price change to trigger the alert (default: 5.0)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It does disclose meaningful traits: the alert fires a POST to the given URL, the threshold is an absolute percentage change (default 5), scoping is optional, and it returns an alert ID. It omits auth/permission requirements, webhook retry or failure behavior, whether registration is idempotent, and the alert's lifecycle (removed via delete_price_alert), which matter for a mutation that triggers external callbacks.

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?

Three tight sentences, zero filler, with the core action and trigger condition front-loaded before the optional scoping. The final sentence about the alert ID is short but earns its place only because no output schema exists. It could drop the redundant repetition of 'notifications' detail but is broadly efficient.

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

Completeness4/5

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

No output schema exists, and the description compensates by stating the return value (alert ID). For a simple registration tool it covers the trigger condition, optional filtering, and result. The remaining gaps (auth needs, alert lifecycle, failure handling) are real but modest given the tool's simplicity and the absence of a nested schema.

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 all four parameters are already documented in the schema, including the default threshold and the 'omit for all' scoping semantics. The description restates the scoping and threshold behavior without adding syntax, ranges, or format detail beyond what the schema provides, so the baseline of 3 applies.

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 gives a specific verb (register) plus resource (price alert) and states the trigger semantics precisely: a webhook URL notified when a model's price moves beyond a percentage threshold, with optional provider/model scoping. This clearly separates it from delete_price_alert and list_price_alerts, though it never explicitly names the analogous sibling register_budget_alert to disambiguate the 'price vs budget' distinction.

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?

Usage is implied — you call this when you want push notifications on price changes — but there is no explicit when-to-use statement, no exclusions, and no pointer to the sibling tools for listing or removing existing alerts. An agent can infer the context but is not routed to alternatives.

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.