Précis XénoBot MCP
Connection instructions
Available tools
- Who am Iwhoami
Returns the id and email address of the Clerk user the current OAuth token belongs to.
- Resolve media monitoring scoperesolve_media_monitoring_scope
Normalize a Media Summary request into the exact filter plan that should be used for NewsAPI.ai search.
- Collect media monitoring articlescollect_media_monitoring_articles
Run the media-monitoring NewsAPI/Event Registry article search inside one tool call, returning a deduplicated snippet-only evidence set and sources document metadata.
- Prepare media monitoring documentprepare_media_monitoring_document
Compile the drafted report into the report document. Use it immediately before show_media_monitoring_report and pass its `document` through unchanged.
- Show media monitoring reportshow_media_monitoring_report
Show the report to the user as an editable document with a Word download. For a new report, pass prepare_media_monitoring_document's `document`; the result returns a reportId. The sources file is delivered separately through show_word_documents. To change a delivered report, first read the latest saved version with get_media_monitoring_report, apply the change to that document, then call this with the reportId and the edited document. In hosts that render MCP Apps the card is the deliverable and the reply must not repeat the report body or any URL; the result says whether the host renders it.
- Get media monitoring reportget_media_monitoring_report
Read the latest saved version of a report shown earlier, including edits the user made in the card. Call it before changing a delivered report, apply the change to the returned document, and pass the result to show_media_monitoring_report. It shows nothing to the user.
- Show Word documentsshow_word_documents
Hand stored Word files to the user as downloads. In the report flow it delivers the sources document: call it once with that file's documentUrl after show_media_monitoring_report, so the card sits under the report. Use each file's documentUrl or resource link exactly as the earlier result gave it. In hosts that render MCP Apps the result is a card with a download button per file, and the reply must then not repeat the URLs; the result says whether the host renders it, and when it does not, give the user the links instead.
- Create media monitoring sources documentcreate_media_monitoring_sources_document
Render the collected source article set into the Sources Word .docx that accompanies the report, and return a downloadable URL. Call it once per report, before show_media_monitoring_report, passing the sourceArticleSetUrl from the collect step and a fileName of `Sources - ` plus the report filename without its .docx.
- Search media monitoring articlessearch_media_monitoring_articles
Raw coverage scan, for a caller who explicitly wants search results and no report. Never call it in the report flow, not even for a second, narrower pass after collect_media_monitoring_articles: the articles it returns are not in the sources document, so a report citing them points the reader to sources the sources document does not list, and its counts no longer match the set.