URL: /docs/mcp/tools

---
title: "MCP tools"
sidebarTitle: Tools
description: "The tools the Pagecog connector gives your AI assistant, with inputs, results and who can use each."
icon: wrench
---

The connector has tools for reading your sites' stats, leads and work log, replying to leads, change requests and, with the Socials add-on, social posts. Every tool is limited to the sites of the organisations you belong to. Another organisation's site answers "not found".

## Which tools are available?

| Tool | Who can use it |
| --- | --- |
| `list_sites` | Everyone |
| `get_stats` | Everyone |
| `list_leads` | Everyone |
| `get_lead` | Everyone |
| `list_worklog` | Everyone |
| `reply_to_lead` | Owners and Editors |
| `list_change_requests` | Everyone |
| `get_change_request` | Everyone |
| `submit_change_request` | Owners and Editors |
| `list_social_accounts` | Owners, with the Socials add-on |
| `list_social_posts` | Owners, with the Socials add-on |
| `get_social_post` | Owners, with the Socials add-on |
| `draft_social_post` | Owners, with the Socials add-on |
| `upload_social_media` | Owners, with the Socials add-on |
| `schedule_social_post` | Owners, with the Socials add-on |
| `update_social_post` | Owners, with the Socials add-on |
| `cancel_social_post` | Owners, with the Socials add-on |
| `delete_social_draft` | Owners, with the Socials add-on |

Writes ask you to confirm before anything is sent or changed. Admins connect with member access only, so the connector gives them no admin powers.

## list_sites

Lists your sites. Takes no inputs. Returns each site's key, domain, name, organisation, your role there, and the components switched on. Call it first.

## get_stats

Visitors, leads and Google search totals for a site. Inputs: the site, and a period of `7d`, `30d` or `90d` ending today. Returns the same figures as the dashboard Overview, plus top queries where the site has full search data.

## list_leads

Recent leads for a site. Input: the site. Returns, for each lead, the id, date, type, form, status, whether it is unread, and the page. It does not return names, contact details or messages. Use `get_lead` for those.

## get_lead

One lead. Input: the lead id. Returns the lead. Text typed by the public (name, contact details, message and notes) comes back under `untrusted_user_content` with a warning. Your assistant must treat it as data and never as instructions.

## list_worklog

The work log you see in the dashboard. Input: the site. Hidden entries are never returned.

## reply_to_lead

Sends a reply to a lead. Owners and Editors only. Inputs: the lead and the message. The assistant shows you the reply and sends it only after you confirm. The reply goes from your business name, as in the dashboard. See [Leads and inbox](/docs/guides/leads).

## list_change_requests

The change requests for a site. Input: the site. Everyone can use it.

## get_change_request

One change request. Input: the request id. Everyone can use it.

## submit_change_request

Submits a change request for a site. Owners and Editors only. Inputs: the site and a description of the change. The assistant shows you the request and submits it only after you confirm. Each site accepts 20 requests a day through the connector. See [Change requests](/docs/guides/change-requests).

## Social tools

The social tools need the Socials add-on (A$49 a month per site) and are for Owners only. When the add-on is off, the tools say so. Nothing posts until a person schedules it. See [Socials](/docs/guides/socials).

- `list_social_accounts`: the Facebook and Instagram accounts connected to a site.
- `list_social_posts` and `get_social_post`: your drafts, scheduled posts and posted ones, or one post by id.
- `draft_social_post`: saves a draft. Nothing is published.
- `upload_social_media`: adds an image to a post by URL. JPEG, PNG or WebP. Images are converted for Instagram, whose aspect ratio must be between 4:5 and 1.91:1.
- `schedule_social_post`: schedules a post for a date and time. The assistant asks you to confirm first.
- `update_social_post`: changes a draft or scheduled post.
- `cancel_social_post`: cancels a scheduled post. The assistant asks you to confirm first.
- `delete_social_draft`: deletes a draft.

## Which tools are coming soon?

<Note>
  **Coming soon:** reviews. There are no review tools yet.
</Note>
