set_terms_of_service
Create or update the terms of service for a given country/language pair. If terms already exist for that pair they are replaced, otherwise new terms are created. Use get_terms_of_service to discover valid country/language codes; an invalid code returns an error (HTTP 417). Requires the configured...
This record as markdown: /tools/aiquila-nextcloud-mcp-server/set-terms-of-service.md
What set_terms_of_service does on AIquila — Nextcloud MCP Server
AI agents use set_terms_of_service to create or update resources in AIquila — Nextcloud MCP Server, usually the action step of a workflow, after the agent has gathered context. Every call changes real data in your AIquila — Nextcloud MCP Server environment.
| Parameter | Type | Required | Description |
|---|---|---|---|
body | string | Yes | The terms text (markdown: headers, formatting, lists, links) |
countryCode | string | — | 2-letter region code, or "--" for global (default) |
languageCode | string | Yes | 2-letter language code (e.g. "en") |
Parameters from the server's own tool schema.
Why set_terms_of_service is rated Medium
The tool creates or updates terms of service, which modifies organizational policy documents. While reversible (existing terms can be replaced with new ones), the impact is high because: (1) it requires admin privileges, (2) it affects legal/policy terms visible to all users, and (3) misuse could replace legitimate terms with malicious or fraudulent content affecting the entire organization.
From the tool's definition Tool description states: 'Create or update the terms of service' and 'If terms already exist for that pair they are replaced, otherwise new terms are created.' This is clearly a write operation that modifies configuration data.
Risk signalsAccepts raw HTML/template content (body) · Admin/system-level operation
Attacks that exploit this kind of access
The rule that runs set_terms_of_service safely
PolicyLayer is an MCP gateway: it sits between your AI agents and AIquila — Nextcloud MCP Server, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For set_terms_of_service, this is the rule to start with:
set_terms_of_service 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 AIquila — Nextcloud MCP Server, apply this rule, and every set_terms_of_service call is checked against it from then on.
Questions about set_terms_of_service
Create or update the terms of service for a given country/language pair. If terms already exist for that pair they are replaced, otherwise new terms are created. Use get_terms_of_service to discover valid country/language codes; an invalid code returns an error (HTTP 417). Requires the configured Nextcloud user to be an admin. It is categorised as a Write tool in the AIquila — Nextcloud MCP Server MCP Server, which means it can create or modify data. Consider rate limits to prevent runaway writes.
set_terms_of_service accepts 3 parameters: body, countryCode, languageCode. Required: body, languageCode. The full parameter table on this page comes from the server's own tool schema.
Register the AIquila — Nextcloud MCP Server MCP server in PolicyLayer and add a rule for set_terms_of_service: 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 AIquila — Nextcloud MCP Server. Nothing to install.
set_terms_of_service 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 set_terms_of_service 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 set_terms_of_service. 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.
set_terms_of_service is provided by the AIquila — Nextcloud MCP Server MCP server (elgorro/aiquila). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on AIquila — Nextcloud MCP Server, and thousands of servers like it.
This server
Across the catalogue