Skip to main content
Glama

CULT+MATH Decision Briefs

Which tariff actions touch this product, and what dates are coming?

run_tariff_clock
Read-onlyIdempotent

Use when the user is timing a sourcing, pricing or comment decision around US tariffs: "is anything new on Section 301 for Vietnam?", "when do the chip tariffs take effect?", "can we still comment on the excess-capacity investigation?". Returns recent tariff actions from USTR, Commerce (ITA and BIS), CBP and presidential proclamations that mention the phrase, what is open for comment and for how long, and what takes effect next, each with its Federal Register document number. Refuses before you are charged if its controls show the search or the agency filter is not working. 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: recent actions over since_days, and dates ahead; segment: agency. 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 duty actually paid on a product since those actions, use run_effective_duty.

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_tariff_clock"
  }
}

Input Schema

NameRequiredDescriptionDefault
agencyNoOptional: one agency only (ustr, ita, bis, cbp, president).
phraseYesA product, an HTS heading (e.g. "8542"), a country, or an action such as "Section 301".
since_daysNoHow far back to list recent actions, in days. Default 180.

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. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive/open-world, but the description adds what they cannot: the call returns a quote (not the answer), the run only executes on POST to payment_url, prices ($0.05 x402 over USDC on Base, $0.50 MPP via Stripe token), and that a failed control check refuses with nothing charged. That is material commercial and failure-mode context absent from structured fields. Minor deduction because the two-phase flow is stated twice in slightly different words rather than crisply, and the annotations' readOnly/idempotent profile sits in mild tension with a tool that provisions and bills a run — not a direct contradiction, but worth flagging to an agent.

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?

It is front-loaded well — use case and examples come first, pricing and mechanics later — but the body is a dense block mixing examples, dimensions, pricing, and payment protocol details in one paragraph. The control-failure behavior is stated twice ("Refuses before you are charged..." and "a run that fails its controls refuses there with nothing charged"), and the payment rails detail is heavier than most callers need before deciding.

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?

Given an output schema exists, return-value explanation is optional, yet the description still characterizes results (recent actions, comment windows, upcoming effective dates, each with a Federal Register document number, run id, date and citation line), the quote-vs-run payment gate, and the alternative sibling. What remains thin is what the "controls" actually check and what happens if payment is made but the run returns nothing — edge cases an agent might need to explain to a user.

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 coverage is 100%, so phrase, agency, and since_days are already fully documented including enum values and the 30-365 day bounds; baseline is 3. The description contributes the framing that these are answering dimensions you vary to cut the answer, and that agency segments the result and since_days sets the recent-actions window. That is a modest semantic addition over the schema, not new syntax or format detail.

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 concrete verb and resource: it returns recent tariff actions from USTR, Commerce (ITA/BIS), CBP and presidential proclamations that mention the phrase, plus open comment windows and upcoming effective dates. It also explicitly distinguishes itself from the sibling run_effective_duty, which covers duty actually paid. The title reinforces the same two questions (which actions touch this product, what dates are coming).

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 opens with an explicit use condition ("Use when the user is timing a sourcing, pricing or comment decision around US tariffs") backed by three realistic example questions, which pins the intent precisely. It also names the exclusion boundary: for the duty actually paid on a product, use run_effective_duty instead. Nothing is left to inference about when this tool is the right pick.

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