Skip to content
1 minute readNewAgent-ready

Check whether something can be priced before asking

A new free check_priceable tool tells an agent, before it calls compute_price, whether Last Price can price what it has and what is missing if not. It runs nothing and needs no API key.

An agent should know up front whether a call can work, not learn it from a failed one.

  • Send what you would send compute_price; the answer says whether it can be priced
  • It lists each built-in pricing function, whether it could answer, and what it needs
  • When nothing can answer, it names the inputs that would let it price: a unit cost, a current price or a price band
  • The same check is at /api/public/priceable for anything that is not an MCP client