Skip to main content
Glama

AfriRate

Watch a rate across conversations

watch_rate

Remember a rate the user cares about and a condition on it — above a level, below a level, or a move of some percent — so a later conversation can ask what changed. Returns a watchlist id: give it to the user and keep it, because check_watches needs it and it is the only key to the list. Pass an existing watchlist to add to it; omit it to start a new one. The rate is resolved the same way as convert (direct, inverse, cross through USD). There is no push notification: a watch fires when check_watches is called and finds the condition holds. To set several watches, set one first and pass its watchlist id to the rest: calls made in parallel without an id each start a separate list.

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": {
      "from": "<from>",
      "to": "<to>",
      "condition": "<condition>",
      "value": "<value>"
    },
    "name": "watch_rate"
  }
}

Input Schema

NameRequiredDescriptionDefault
toYesQuote currency, e.g. ZWG
fromYesBase currency, e.g. USD
valueYesThe level (for above/below) or the percent (for moves_pct)
countryNoOnly use sources from this country, e.g. ZW
conditionYesabove: fire when the rate rises above value. below: when it falls below value. moves_pct: when it moves at least value percent either way from today.
watchlistNoWatchlist id from an earlier watch_rate, e.g. wl_k3x9p2m7qa. Holding the id is what grants access.

Output Schema

NameRequiredDescriptionDefault
rateYes
as_ofYes
watchYes
age_daysYes
watchlistYes
watch_countYes
already_holdsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only say this is a non-read-only, non-idempotent, open-world write; the description goes well beyond them by disclosing that nothing is pushed proactively, that the watch only evaluates when check_watches runs, that the returned watchlist id is the sole access key, and that parallel calls without an id each spawn a distinct list. These are exactly the non-obvious behavioral traits an agent needs and none are recoverable from the structured fields.

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?

Purpose and the returned-id contract are front-loaded, and every sentence carries load-bearing operational detail. It is dense in a single block with several independent concerns (id contract, watchlist chaining, rate resolution, polling model, concurrency) packed together, which costs a little scannability.

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?

For a stateful, non-idempotent write tool with six parameters, the description covers creation, id ownership, append semantics, concurrency hazards, and evaluation timing. An output schema exists, yet the extra prose about the returned id is still warranted because the id's role as the access key is not inferable from the shape alone.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3, but the description adds genuine meaning on top: the `watchlist` parameter's add-vs-create semantics and the rule that the rate is resolved 'the same way as convert (direct, inverse, cross through USD)'. It does not restate `condition`/`value` semantics, correctly leaving those to the enum and field descriptions.

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 opens with a specific verb and resource ('Remember a rate the user cares about and a condition on it') and enumerates the three condition flavors, which lets an agent distinguish it immediately from check_watches and convert. The stated purpose also names the downstream payoff ('a later conversation can ask what changed'), so intent is unambiguous.

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 says explicitly when this tool's result is consumed (check_watches, not a push) and how to chain calls ('pass its watchlist id to the rest'), plus the parallel-call pitfall of accidentally creating separate lists. It stops short of naming check_watches as the preferred alternative for reading state in a dedicated routing sentence, but the guidance present is concrete and actionable.

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.