OpenX MCP Server recipes
This page answers which tools to call, in which order, for the most common tasks.
Answer a question from a saved query
get_workspacewithkinds: ["WarmQueries"]to find the query that answers it.call_apiwith route""to find that query's route.call_apion the route, such as"GET /warm-queries/signups-per-hour".
Check how a part is doing
get_workspaceto find the part's kind and lookup.get_statswith that kind and lookup, andmetrics: truefor numbers over time.retrieve_inventoryfor the same lookup when the question is where it runs or whether it drifted.
Check how a workspace's licences are selling
get_statsfor the Licenses line: each licence's Stripe healthStatusand problem codes.call_apion"GET /licenses/health"when a status is notHealthy, for the checks behind it, and on"GET /licenses/events"to see which Stripe events arrived and how many were refused.call_apion"GET /licenses/stats"for the figures and on"GET /licenses/subscribers"for who holds which plan. Each needs its own right (Licenses.Stats.Read,Licenses.Manage); a refusal names the right inMissingRights. A licence that could not be read saysKnown: false: report "could not be read", never zero.
Propose a new data connection
get_workspacewithkinds: ["DataConnections"]andincludeGuides: truefor the guide, schema and examples.manage_proposalswithcheckOnly: trueand the proposal. Fix each refusal by its remedy.manage_proposalswithoutcheckOnlyto propose it. A person accepts it in the portal.
Try a draft warm query
call_apion"POST /warm-queries"with the draft andCheckOnly: trueto check it.call_apion"POST /warm-queries"with the draft to run it once without saving.manage_proposalsto propose saving it.
Find something in the docs
browse_docswithpaths: ["./"]to see the top level.browse_docswith a listed path and aqueryto search inside it.browse_docswith a hit's path to read the page.