Skip to main content
Every tool is scoped to the authenticated user’s projects. All require a valid OAuth session and operate with the same permissions as the web UI. Each tool is annotated read-only or write: read-only tools run without a per-call confirmation; tools that modify or delete data prompt before running.
The in-app Agent uses a private MCP surface at /api/agent/mcp and adds agent-only tools such as create_document. Those private tools are not available through the public OAuth /mcp server.

Async status

Async run and audit tools return one lifecycle status on the existing payload object. The agent-facing status values are queued, running, completed, failed, canceling, canceled, stale, unknown, and none for empty prompt-run responses. MCP does not expose partial as a status; incomplete output remains visible through existing fields such as platform response counts, content-audit progress, results_truncated, and page/result counts. stale is derived at read/list time from running or interrupted records and feature-specific stale thresholds; it is not a stored database status.

Connection

Project & client setup

Brands

Platforms

Topics

Prompts

Prompt attributes

Prompt runs

To read historical analytics, call list_runs first and pass a completed run’s run_id to get_visibility, get_topic_visibility, get_attribute_breakdown, get_engine_patterns, get_prompt_performance, get_citations, or get_mentions. Omit run_id to use the latest usable run. Those tools reject runs from another project and runs that have not completed. get_prompt_results also accepts run_id and can expose an in-progress run’s partial output. Comparing citations and visibility across runs can show correlation, but it does not prove that a source caused a visibility change.

Site / Agent Readiness

AI Index Coverage

Visibility & analytics

Google integrations

Both tools read through the organization’s Google connection and the project’s assigned property, set up in the web UI (Site Readiness Performance). When setup is incomplete they return NOT_CONNECTED or NOT_CONFIGURED with the exact next step instead of failing. Read-only, both of them.

Scheduling

Content audit

Documentation

These search the OpenLens documentation itself, so an agent can answer product questions and recommend next steps without guessing. Both are read-only and return ranked doc sections, each with a deep-link URL and a snippet.