Skip to content

Reference

MCP tools reference

Every tool Memrio exposes over MCP: browse, search_pages, get_page, the write tools, and Writer-only agent tools.

Updated 2026-09-20View as markdown

3 read tools are always present. 7 write tools appear only when “Can edit pages” is on. 3 agent-management tools appear only for the workspace Writer. All tools return text content; JSON results are pretty-printed JSON strings.

Read tools#

browse

List every page in the agent page set with its use-when instructions. Call this first — it is the catalog the agent picks from. No arguments.

result
{
  "pages": [
    {
      "pageId": "pg_7f3a",
      "title": "Refund policy",
      "alwaysInclude": false,
      "useWhen": ["Use whenever a customer asks about refunds, returns, or chargebacks."]
    }
  ]
}

search_pages

Keyword filter over the page set. Titles weigh more than body text. Returns up to 8 hits with a short excerpt. Prefer browse unless the set is large.

ArgumentTypeRequiredNotes
querystringyesKeywords to search for

get_page

Return the packed page: title, instructions, content, attached file text, and any pages or files its instructions say to use. Fails if the page is not in the set.

ArgumentTypeRequiredNotes
pageIdstringyesFrom browse or search_pages

Write tools#

get_page_source

Editable registry markdown for a page, including drafts, plus title, tags, status, parent, path, and whether a version is in review. Read this before update_page.

ArgumentTypeRequiredNotes
pageIdstringyes

create_page

Create a page. With parentId it becomes a subpage under that parent (use this to split a topic or add a child in the tree). Without parentId it is top-level and is added to the agent page set automatically.

ArgumentTypeRequiredNotes
titlestringyesMax 200 chars
markdownstringyesRegistry markdown body
parentIdstringnoPage id from browse — nests a subpage under that page
tagsstring[]noUp to 20
changeSummarystringnoShown to reviewers

update_page

Replace the whole body, title, or tags. Send the complete rewritten page — this is not a patch.

ArgumentTypeRequiredNotes
pageIdstringyes
changeSummarystringyesOne line
markdownstringnoComplete new body
titlestringno
tagsstring[]no

append_to_page

Add blocks to the end of a page without touching existing content. Good for logging a decision or adding an example.

ArgumentTypeRequiredNotes
pageIdstringyes
markdownstringyesBlocks to append
changeSummarystringyesOne line

prepare_file_upload

Returns a short-lived S3 PUT URL. PUT the file bytes to uploadUrl with the given Content-Type header. Do not send file contents to the MCP server.

ArgumentTypeRequiredNotes
pageIdstringyesPage that will own the file
filenamestringyes
contentTypestringyesMust match the PUT header

attach_file

Create the file record after the PUT. Pass the s3Key from prepare_file_upload. Optional extractedText is packed into the page for other agents.

ArgumentTypeRequiredNotes
pageIdstringyes
s3KeystringyesFrom prepare_file_upload
filenamestringyes
contentTypestringno
sizeBytesnumberno
extractedTextstringnoPlain text to index
changeSummarystringno

delete_file

Remove an attached file from a page in this set.

ArgumentTypeRequiredNotes
documentIdstringyesFrom get_page or attach_file
write result
{
  "pageId": "pg_7f3a",
  "title": "Refund policy",
  "versionNumber": 4,
  "status": "in_review",
  "message": "Submitted as v4 and waiting for a human to approve it."
}

Agent tools#

These appear only when the connected agent is the workspace Writer (canManageAgents). Child agents created here never receive that flag, and they cannot take the reserved writer slug.

list_agents

List agents in the workspace: name, slug, permissions, and page count. No API keys.

create_agent

Create a narrower agent and return one API key (shown once). Cannot create another Writer or grant agent-management rights.

ArgumentTypeRequiredNotes
namestringyes
productstringyesWhere it is used
descriptionstringno
pageIdsstring[]noEmpty set if omitted
allowDraftsbooleanno
canWritebooleanno
canPublishbooleannoRequires canWrite

update_agent

Change name, product, description, status, page set, or permissions. Cannot change slug or canManageAgents. Pause instead of deleting. Writer edit/publish rights cannot be removed over MCP.

ArgumentTypeRequiredNotes
agentIdstringyes
namestringno
productstringno
descriptionstringno
statusstringnoactive or paused
pageIdsstring[]noIgnored for Writer
allowDraftsbooleanno
canWritebooleanno
canPublishbooleanno