Skip to main content
Glama

CULT+MATH Decision Briefs

Are regulators moving on this?

run_regulatory_trend
Read-onlyIdempotent

Use when the user asks whether rules are coming on a topic, or how much federal rule-making mentions it, optionally for one agency. Returns, year by year, the share of U.S. federal final and proposed rules that mention the phrase, from the Federal Register, against every final and proposed rule that year, with a null control that must read 0. 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. For deadlines and comment windows, use run_regulatory_clock. Dimensions (vary these inputs to cut the answer; each call is its own run): over time: built in: share by year; segment: agency narrows to one regulator. 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. A real sample of this run, free: https://cultmath.com/agent/samples/regulatory-trend.json

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": {
      "phrase": "<phrase>"
    },
    "name": "run_regulatory_trend"
  }
}

Input Schema

NameRequiredDescriptionDefault
endNoLast year, not in the future. Default: this year. At most 10 years per run.
startNoFirst year (1994 onward). Default: four years ago.
agencyNoOptional: count only this agency's rules.
phraseYesThe phrase to count, without quote marks, e.g. "front-of-package" or "PFAS".

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. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations only declare read-only, idempotent, open-world and non-destructive; the description adds substantially more. It discloses that a call returns a quote rather than data, that execution requires POSTing to payment_url, that a control failure refuses there with nothing charged, the two price tiers and payment rails, and the null-control invariant ('must read 0'). This is exactly the kind of beyond-schema behavior an agent needs before spending money.

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 trigger is correctly front-loaded and the pricing/failure mechanics are necessary, but the 'Dimensions' fragment ('over time: built in: share by year; segment: agency narrows to one regulator') is garbled and costs more parsing effort than it returns. The sample URL and dual-rail pricing detail are useful but make the block dense for a four-parameter tool.

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?

An output schema exists, so return shape needn't be spelled out, and the description covers the one thing the schema cannot: that the immediate return is a quote plus payment_url, not the result. Pricing, failure semantics, the null control, and the sibling alternative are all present, leaving nothing an agent needs missing.

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 meaning the schema does not: agency 'narrows to one regulator', each call is its own separately billed run, and the dimensions framing implies varying start/end/agency changes the cut of the answer. The awkward 'over time: built in: share by year' phrasing limits it slightly.

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 names a specific measurement (share of U.S. federal final and proposed rules mentioning a phrase, year by year, from the Federal Register) and a concrete decision it answers ('are rules coming on this topic'). It also distinguishes itself from run_regulatory_clock by scope, so an agent can route correctly 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?

It gives an explicit trigger ('when the user asks whether rules are coming on a topic, or how much federal rule-making mentions it, optionally for one agency') and an explicit exclusion with the alternative named: deadlines and comment windows belong to run_regulatory_clock. It also notes that varying inputs cuts the answer, which tells the agent how to use it iteratively.

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