update_portal_page
Оновити HTML або назву сторінки порталу. Також дозволяє встановити її як default. Перед зміною HTML — завжди get_portal_page і передай checksum + site_id з SURFACE CONTEXT. ВАЖЛИВО: якщо сторінка містить форми або таблиці з даними — краще використовуй generate_ai_site, а не цей тул напряму. Якщо ...
This record as markdown: /tools/com-quintadb-mcp/update-portal-page.md
What update_portal_page does on QuintaDB
AI agents use update_portal_page to create or update resources in QuintaDB, usually the action step of a workflow, after the agent has gathered context. Every call changes real data in your QuintaDB environment.
| Parameter | Type | Required | Description |
|---|---|---|---|
html | string | — | Новий HTML контент сторінки |
name | string | — | Нова назва сторінки |
app_id | string | Yes | Project ID (from list_projects) |
page_id | string | Yes | Portal page ID (from list_portal_pages) |
site_id | string | — | site_id з SURFACE CONTEXT — dual-write у правильний Site. |
portal_id | string | Yes | Portal ID (from list_portals or describe_project) |
page_checksum | string | — | SHA256 поточного HTML з get_portal_page.checksum. ОБОВ'ЯЗКОВО при оновленні html — виклик без checksum буде відхилено. |
set_as_default | boolean | — | Зробити цю сторінку головною |
Parameters from the server's own tool schema.
Why update_portal_page is rated Medium
The tool creates or modifies portal page content (HTML, names, default settings) reversibly. While it could theoretically enable malicious content injection via HTML manipulation, the effects are reversible (pages can be edited again or reverted). This is Write rather than Execute because it modifies data/configuration, not runs arbitrary code execution.
From the tool's definition Tool description states it updates ('Оновити') HTML or portal page name and allows setting as default. Key phrases: 'update HTML', 'встановити як default' (set as default), 'вставляєш iframe' (insert iframe). These are modification operations.
Risk signalsAccepts raw HTML/template content (html)
Attacks that exploit this kind of access
The rule that runs update_portal_page safely
PolicyLayer is an MCP gateway: it sits between your AI agents and QuintaDB, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For update_portal_page, this is the rule to start with:
update_portal_page stays usable, but capped: an agent stuck in a loop can't make hundreds of changes a minute. Everything else on the server is denied unless you say otherwise.
The button opens the PolicyLayer dashboard: create your workspace, connect QuintaDB, apply this rule, and every update_portal_page call is checked against it from then on.
Questions about update_portal_page
Оновити HTML або назву сторінки порталу. Також дозволяє встановити її як default. Перед зміною HTML — завжди get_portal_page і передай checksum + site_id з SURFACE CONTEXT. ВАЖЛИВО: якщо сторінка містить форми або таблиці з даними — краще використовуй generate_ai_site, а не цей тул напряму. Якщо все ж вставляєш iframe вручну — єдиний правильний формат: src='https://quintadb.com/widgets/APP_ID/ENTITY_ID?iframe=true'. APP_ID і ENTITY_ID беруться з describe_project. НЕ вигадуй інших URL-ів. It is categorised as a Write tool in the QuintaDB MCP Server, which means it can create or modify data. Consider rate limits to prevent runaway writes.
update_portal_page accepts 8 parameters: html, name, app_id, page_id, site_id, portal_id, page_checksum, set_as_default. Required: app_id, page_id, portal_id. The full parameter table on this page comes from the server's own tool schema.
Register the QuintaDB MCP server in PolicyLayer and add a rule for update_portal_page: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches QuintaDB. Nothing to install.
update_portal_page is a Write tool with medium risk. Write tools should be rate-limited to prevent accidental bulk modifications.
Yes. Add a rate_limit block to the update_portal_page rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for update_portal_page. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
update_portal_page is provided by the QuintaDB MCP server (https://quintadb.com/mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on QuintaDB, and thousands of servers like it.
This server
Across the catalogue