Skip to main content
Glama

CULT+MATH Decision Briefs

What will this US series do over the next 12 months?

run_series_forecast
Read-onlyIdempotent

Use when the user is setting a plan, budget or inventory for the next year and needs where US retail sales, prices (CPI), employment and wages, industrial production, housing or vehicle sales are heading. Returns a 12-month forecast with an 80% band, next to "same month last year", from a model backtested on the series' own last three years. Refuses before you are charged when last year's same month forecast it better, and says by how much. Every result carries a run id, a date and a citation line. Calling this tool returns a quote, not the result: what the run measures, its price and a payment_url. The run happens only when you POST to payment_url, and a run that fails its controls refuses there with nothing charged. Dimensions (vary these inputs to cut the answer; each call is its own run): over time: built in: 12-month forecast with three years of backtest; segment: series. Price: $0.05 per run over x402 (USDC on Base, no account needed), or $0.50 over MPP (a Stripe shared payment token); charged only when the run comes back sound. For the probability of crossing one line, use run_threshold_odds.

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": {
      "series": "<series>"
    },
    "name": "run_series_forecast"
  }
}

Input Schema

NameRequiredDescriptionDefault
seriesYesThe FRED series ID, e.g. RSXFSN (retail sales) or CPIAUCNS (CPI, all items). Not seasonally adjusted.

Output Schema

NameRequiredDescriptionDefault
noteNoWhy the run is unavailable, when it is.
errorNoWhy the inputs were refused, with the expected usage. Nothing is charged.
limitsNoWhat the run cannot tell you, stated before you pay.
recipeNoThe run, e.g. "filing-trend".
availableNofalse when the run is switched off; then nothing can be charged.
next_stepNoWhat to tell the user before paying.
price_usdNoPrice over MPP (Stripe shared payment token).
payment_urlNoPOST here to run and pay. Not a checkout page.
instructionsNoHow to pay over MPP and x402, and how to ask for publication.
what_you_getNoWhat the paid result will contain for these inputs.
x402_price_usdNoPrice over x402 (USDC on Base), when offered.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": true,
      +  "properties": {
      +    "available": {
      +      "description": "false when the run is switched off; then nothing can be charged.",
      +      "type": "boolean"
      +    },
      +    "error": {
      +      "description": "Why the inputs were refused, with the expected usage. Nothing is charged.",
      +      "type": "string"
      +    },
      +    "instructions": {
      +      "description": "How to pay over MPP and x402, and how to ask for publication.",
      +      "type": "object"
      +    },
      +    "limits": {
      +      "description": "What the run cannot tell you, stated before you pay."
      +    },
      +    "next_step": {
      +      "description": "What to tell the user before paying.",
      +      "type": "string"
      +    },
      +    "note": {
      +      "description": "Why the run is unavailable, when it is.",
      +      "type": "string"
      +    },
      +    "payment_url": {
      +      "description": "POST here to run and pay. Not a checkout page.",
      +      "type": "string"
      +    },
      +    "price_usd": {
      +      "description": "Price over MPP (Stripe shared payment token).",
      +      "type": "number"
      +    },
      +    "recipe": {
      +      "description": "The run, e.g. \"filing-trend\".",
      +      "type": "string"
      +    },
      +    "what_you_get": {
      +      "description": "What the paid result will contain for these inputs.",
      +      "type": "string"
      +    },
      +    "x402_price_usd": {
      +      "description": "Price over x402 (USDC on Base), when offered.",
      +      "type": "number"
      +    }
      +  },
      +  "type": "object"
      +}
  2. Added

TDQS

A4.5/5.0
Behavior4/5

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

Goes well beyond the annotations: it discloses that the call returns a quote with price and payment_url rather than a result, that the run only executes on a POST to that URL, that failed controls refuse with nothing charged, and that every result carries a run id, date and citation line. The only gap is that the readOnlyHint/paid-run combination is never reconciled – an agent could misread "read-only" as free, when calls carry monetary consequences.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The when-to-use and refusal framing are well front-loaded, but the tail is a dense run-on mixing pricing tiers, x402/MPP payment mechanics and a cryptic "Dimensions" fragment. Billing is restated across three separate sentences, and the colon-chained phrasing makes it harder to scan than its content warrants.

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?

Covers everything an agent needs despite the unusual quote-then-pay flow: cost per run, payment rails, refund/no-charge behavior, output contract, and the sibling alternative. With an output schema present, no further return-value documentation is owed.

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% with a single enum-backed parameter, so the baseline would be 3. The description adds real meaning: it frames series as the "segment" dimension and warns that each call is its own billed run, which is a cost implication the schema cannot express.

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 – a 12-month forecast on a named US series – and enumerates the covered domains (retail sales, CPI, employment/wages, industrial production, housing, vehicle sales) plus the output shape (80% band next to same-month-last-year). An agent can distinguish it from a threshold-probability tool without opening either schema.

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

Usage Guidelines5/5

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

Opens with an explicit trigger ("Use when the user is setting a plan, budget or inventory for the next year") and names the alternative with the condition that selects it ("For the probability of crossing one line, use run_threshold_odds"). It also states a refusal condition, which is guidance about when this tool will not deliver.

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