Skip to main content
Both /mcp and /mcp/directory expose the same 43 tools. /mcp accepts OAuth or a workspace API key; /mcp/directory accepts OAuth only. Calls are scoped to one connected workspace. Use list_connected_workspaces and pass workspace_id when several workspaces are connected. Write tools: edit_campaign_question, update_people_group, submit_feedback, create_campaign, update_campaign, start_campaign, pause_campaign, resume_campaign, add_contacts, create_project, and update_project. OAuth members and admins have read/write capabilities. API keys follow their configured scopes; read-only keys cannot call write tools. Starting, resuming, rescheduling or adding contacts to an active campaign can send invitations. Failures report an error, and where available a stable code and recovery hint. rate_limited means the connection’s per-minute tool-call budget is exhausted. Most tools return a failure as a normal result whose text is that error object. The process map tools publish an output schema and follow the MCP specification instead: a failure is a result with isError: true whose text is the same error object.

Workspace and permissions

get_profile

Returns the workspace represented by this OAuth connection: an opaque, stable id, workspace name, and nickname containing the name and configured region. It does not return an email address. ChatGPT can use this read-only profile to distinguish several workspace connections belonging to the same person and recognize them after reconnecting. The tool accepts no workspace selector and cannot switch or expand the connection’s access. API keys do not represent a human OAuth profile.

get_my_permissions

Returns the authenticated principal’s workspace, authentication type, role, and MCP capabilities: read, write, and manage_campaigns. Use it after connecting to confirm the selected workspace and whether the current connection has write capability. Individual tools still enforce their operation-specific rules, such as whether a campaign can be started or a transcript is available. This is not a list of general Ontora administration permissions; people, sources, and webhook management are not exposed by this MCP catalog. The response contains no access-token or API-key material.

list_connected_workspaces

Lists the workspace IDs, names and regions explicitly connected through OAuth, or the workspace bound to the API key. Does not expand access. Regional connections remain separate.

submit_feedback

Sends a bug report, feature request or question to Ontora. Requires write access. The client publishes the complete input schema through MCP tools/list.

Company Brain

These read tools use the same Company Brain as Ontora Insights Chat. They return {"result": ..., "citations": {...}}. Preserve citation keys, fact status and evidence quotations. Organization records are not proof that every employee or document has been indexed. An unavailable or provisioning index returns knowledge_layer_unavailable, not an empty answer. Organization types: Department, Person, Role, Process, ProcessStep, Tool, Product, Customer, Decision, Organization. Direct retrieval of internal evidence record types is not exposed through these tools. Use campaign evidence tools for transcripts.

Campaigns

list_campaigns

Lists campaigns in the workspace, most recently updated first. Returns: {"campaigns": [...], "limit", "offset", "has_more"} — each campaign summary carries id, name, status, channel, language, schedule (timeframe_start, response_deadline, timezone, invitations_scheduled_for), contact counts, and completion_threshold_percent.

get_campaign

Fetches a single campaign by id: full config, schedule, topics with typed questions (type, options, component_config), contacts (with invitation_sent_at), and progress counts.

Participant group tools

  • edit_campaign_question updates question text by ID and can change the audience of its topic. All sibling questions share that audience. Pass an empty list to ask everyone.
  • update_people_group renames a workspace People group and adds or removes directory members by person ID.
  • get_group_report accepts a campaign and group ID. Supply compare_group_id for a second column or version_id for a specific ready report. Each question returns assigned counts, answered counts and answers. A null cell indicates the question was not assigned to that group.

create_campaign

Pass group names in participant_groups to create or reuse People groups. Each topic can specify its audience by name in asked_of. All questions in that topic go to that audience. Creates a new campaign in draft status. Call start_campaign to launch it. Topic shape: {name, goal, priority, success_threshold, sub_topics, questions}. Question shape: {text, required, type, options, component_config} with types open_ended (default), single_choice, multiple_choice, likert_scale, ranking, statement, range_slider, matrix. Ranking/matrix/range_slider questions need a component_config (e.g. ranking {items: [{id, label}]}, matrix {rows, columns}, range_slider {min, max, step}).

update_campaign

Partially updates a campaign — only the fields you pass change. Works on draft, active, and paused campaigns (completed ones are read-only; the channel is locked after launch). Schedule changes on an active campaign retarget the pending invitation send; already-sent invitations are never re-sent. Takes interview_id and optional configuration fields. On a draft, participant_groups adds or reuses workspace People groups, and add_topics appends topics with questions. For example, a topic with "asked_of": ["Legal"] reaches Legal participants. Omit asked_of for a shared topic.

start_campaign

Launches a campaign: validates, marks it active, and sends the invitations on the campaign’s channel — or, when the campaign has a future start date, schedules them (invitations_scheduled_for in the response tells you when). Validation failures leave the campaign in draft and say what to fix.

pause_campaign / resume_campaign

Lifecycle controls. Each takes interview_id and returns the new status.

add_contacts

Bulk-adds contacts. On an active campaign the new contacts are invited right away — unless the campaign’s start date is still in the future, in which case their invitations are held with everyone else’s. Returns {created, invitations_sent, invitations_scheduled_for, message}.

get_progress

Returns per-status contact counts, completion percent vs. completion_threshold_percent, the soft response_deadline, and invitations_scheduled_for when the send is still pending.

Projects

A project belongs to its members and has a lead. The project tools therefore act as the signed-in user of an OAuth connection: they reach the projects that user is a member of and nothing else. A workspace API key represents no user; every project tool answers person_required for it.

list_projects

Lists the signed-in user’s projects in the workspace that are not archived, most recently changed first: {"projects": [{"project_id", "title", "description"}], "more_projects"}.

get_project

Reads one project: title, description, goals (goal_id, title, origin, done), scope (in, out, later; each item with item_id and text), topics, steps, and the project’s url in Ontora.

create_project

Creates a project with its description, goals and scope. The signed-in user becomes its first member and lead. The project and its lists are stored together or not at all. Returns the stored project in the shape of get_project without steps.

update_project

Changes a project the signed-in user is a member of. Omitted fields stay as they are; all changes are stored together or not at all. The tool cannot delete or archive a project, remove a goal or scope item, or change members. Errors: person_required (API key), not_found (no project the user is a member of, or an unknown goal or scope item), forbidden (no workspace membership), invalid_project (a value the project does not accept, or no change named).

Process maps

A project’s process maps are drawn from its sources. These tools let a member of the project read them; they never change a map. Like the project tools they act as the signed-in user of an OAuth connection and answer person_required for a workspace API key. A project the user is not a member of, or one of another workspace, is not_found. Each tool returns structured content that matches its published output schema, and a plain text form for hosts that show text only. An answer holds as much as fits in 40,000 characters, text and data together (under 25,000 tokens); what does not fit comes on the next page: pass next_cursor as cursor. Nothing is cut to fit, so two things can take an answer over that size. A page holds at least one whole element, open point, reason or passage, and one that is larger than 40,000 characters by itself comes alone on a page of its own size. And the head of a map or of the list (its name, revision, sources and totals) is repeated on every page and is not split. Everything is returned as stored: an order is marked stated, assumed or confirmed, an open point keeps its kind and its text, and every element names the sources it rests on.

list_process_maps

Lists the maps of a project, its end-to-end flows and the outline of its processes. state is not_built until a run has built the maps. Each map has an id for get_process_map; each flow and outline entry carries an evidence.ref for get_process_evidence.

get_process_map

Reads one map: its elements in the stored order (with Lane, type and order basis in the text) and its open points (gaps), each with an evidence.ref. The answer holds no BPMN file. With part, the answer holds that part alone: part in the structured content names its elements and, in goes_on, every flow that leaves or enters the part, and the text says which map it is a part of. pointers come back as given and are not stored; they change nothing in the map. A pointer at an element that stands on the diagram below a step is refused on the whole map (pointer_not_shown); the hint names the part that shows it, {"below": id}. An id the map does not hold is refused by name (unknown_element), as is a part that holds no step, Event or Gateway (nothing_in_part) or stands on more than one diagram (part_on_two_diagrams).

get_process_map_bpmn

Returns the BPMN 2.0 file of one map, unchanged, as the second text block of the result. The structured content names the map, its revision and the file’s characters. A file too large for one answer is not returned: left_out is ["bpmn"] and the text links to the map in Ontora. A map that is not drawn has no file; withheld says why.

get_process_evidence

Reads what one part of a map rests on: the recorded changes with their reasons and the passages they quote, newest first. A passage marked anonymous comes from an anonymous conversation; attribute it to the conversation, never to a person. The structured content also names the sources: entries holds one entry for each source a passage of the page comes from, and a passage’s entry_id is the id of its entry. An entry says what the source is called in the project’s Roadmap: its title (or the title of the appointment linked to it, event), its kind, the day it took place (took_place_on, else the day of at), how it took place (added_as, else channel) and its campaign. The entry of an anonymous conversation has anonymous: true and no title: it is named by its campaign and its day, never by a person. A source that is no longer in the project has no entry. The text says the same for an assistant that reads the text only: under its first line, one line for each source of the page, with the entry’s id, its kind, its title or campaign and when it took place. A passage names its source by that id.

get_process_map_data

Loads the stored data of one map for the Process Map screen, as one JSON document in parts. Hosts that support MCP Apps hide it from the assistant, which reads a map with get_process_map. Errors: person_required, not_found, invalid_project_id, invalid_map_id, invalid_cursor (the maps changed since the page before; call again without a cursor), invalid_part.

Campaign questions

query_campaign

Answers a question from the workspace knowledge graph scoped to the campaign: its transcript passages, the sections of its attached documents and the verified organization facts those passages mention (the same path as POST /v1/interviews/{id}/graph/query). The campaign must be indexed (GET /v1/interviews/{id}/graph/status is ready); otherwise the tool returns {"error": "Campaign knowledge not ready (status: …)"}. Returns: {answer, patterns[], divergences[], provenance[]}; a provenance passage with a knowledge:fact: key carries its verification outcome.

Campaign evidence

These tools construct the same privacy-aware toolbox as the product’s Insights Chat: campaign anonymity levels and participant-level privacy picks are enforced identically. Every response has the shape {"result": ..., "citations": {...}}, where citations maps the citation keys inside result to privacy-sanitized source metadata.

get_campaign_coverage

Coverage statistics for campaign transcript corpora: eligible, citable, and indexed conversation counts. Use it first when a question depends on corpus size or coverage. Takes an optional interview_id — with it you get one campaign’s manifest; omit it for a workspace-wide manifest that aggregates every campaign the key can see and adds campaigns_in_scope plus a per-campaign campaigns breakdown (interview_id, name, completed_conversations, citable_conversations, aggregate_only — counts only, never conversation ids).

get_transcript_page

Reads one conversation transcript as resumable raw-turn pages with per-turn citation keys. Follow has_more/next_cursor — keep paging for complete coverage of the conversation.

search_transcript_passages

Hybrid semantic + keyword search over raw transcript turns with real-turn citations. Takes query (max 4000 characters) and an optional interview_id: pass it to search one campaign, or omit it to search every campaign the key can see in one fused pass — the result coverage then reports campaigns_searched of campaigns_in_scope, and scopes over 12 campaigns return code scope_too_broad (narrow to specific campaigns or ask a synthesis question over the campaign reports). Top-k relevance search — never sufficient for “all/every/how many” questions. Inspect question results and coverage metadata before making completeness claims. Hybrid search is available by default; in the rare case a workspace has been explicitly disabled by Ontora staff it returns code hybrid_search_disabled — use search_quotes instead.

search_quotes

Keyword search for participant quotes across campaign transcripts; works in every workspace. Top-k relevance search — its hits do not establish exhaustive coverage. Takes query and an optional interview_id (omit to search every non-draft campaign). Returns quotes plus coverage fields (conversations_matched, conversations_considered, selection_exhaustive: false).

find_participants

Finds interview participants by case-insensitive name, email, or department substring; omit query to list every visible participant. Returns participants (each with contact_id, display_name, department, campaigns — interview_id/campaign_name/conversation_id per visible conversation — and conversation_count), paginated ~25 per page; follow has_more/next_cursor. Privacy is fail-closed: participants whose identity is hidden (anonymous campaigns, participant privacy picks, aggregate-only or report-only responses) are absent entirely — never anonymized — so absence is not evidence someone did not participate.

get_question_results

Verified per-question results from the campaign’s latest synthesis report. Takes interview_id and question_id (from get_interview_guide). The report records the available results; check its coverage before making population claims.

get_report_outline

Manifest of the campaign’s latest synthesis report: every section with kind and size. Call it before get_report_section; when no report exists it says so explicitly. Takes interview_id.

get_report_section

Reads one report section as paginated JSON fragments with verified real-turn citations. Follow has_more/next_cursor — keep paging for complete coverage of the section.

get_interview_guide

The campaign’s interview guide: sections, questions, and the question_id values that get_question_results consumes. Takes interview_id.

list_campaign_conversations

Privacy-aware conversation list with speaker labels and redacted summaries, cursor-paginated. Takes optional interview_id and cursor. Follow has_more/next_cursor — keep paging for complete coverage.

Markdown exports

Updating existing integrations

Refresh the client’s tool catalog after updating the server. Stored workflows that name removed tools need these changes: