Skip to main content
Glama

Update website settings

update_website_settings
Destructive

Change one website's stored audit settings: level, max_pages, render, external_links, max_depth, scope, include_patterns, exclude_patterns and internal_links, broken_link_alerts (Pro and Team; switching it off is allowed on every plan), link_monitoring, link_monitoring_frequency (daily or weekly), link_monitoring_channels (in_app, email, webhook) and link_monitoring_scope (internal, external or both) (Pro and Team; switching link_monitoring off is allowed on every plan), disable_rules (rule ids such as eeat/about-page and category globs such as eeat/*, with the same meaning as the disable list in squirrel.toml; replaces the stored list, and an empty list re-enables everything), force_rules (rule ids and category globs that run even when their site-type gate does not match the detected site type, for a site whose type was detected wrongly; replaces the stored list, an empty list clears it; disable_rules wins over it), schedule (off, daily, weekly or monthly) for its recurring audits, and confirm_ownership, which records that the user owns the site or is authorized to audit it (set it only when they have said so). Omitted fields are left unchanged. Values are checked the same way the dashboard's settings are and held to the organization's plan; the result reports what is stored afterwards, which fields were applied, and any plan clamp. Turning recurring audits on, changing their cadence, or a change that raises the most one audit can cost returns status "confirmation_required" with the estimated credit cost and changes nothing until it is sent again with the same arguments plus confirm: true and that response's approved_credits_per_run_max (a change that would then cost more per run is not applied). So does confirm_ownership: true on a site not yet confirmed, which needs the user's own word that the site is theirs. schedule: "off" and changes that cost nothing more apply at once. squirrelscan audits are meant to be tailored to each site through rules: rule classes that do not apply to a site (no privacy, about or contact pages on a hobby site, say) are disabled in its disable_rules, not re-reported on every audit, so the score reflects what matters for that site. Local runs read the disable list in squirrel.toml; cloud runs cannot see the repository and use the website's stored disable_rules.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "website_id": "<website_id>"
    },
    "name": "update_website_settings"
  }
}

Input Schema

NameRequiredDescriptionDefault
levelNoAudit level preset. Setting one resets the level's settings to the preset, with any max_pages, render or external_links in the same call applied on top.
scopeNo'discover' follows links from the pages it finds; 'sitemap' audits only the URLs the site's sitemap publishes.
renderNoRendering: off fetches over HTTP only, auto renders the pages that need JavaScript, all renders every page.
confirmNoApprove a change that turns recurring audits on, changes their cadence, raises the most one audit can cost, or confirms the site's ownership. Without it such a change returns status confirmation_required and is not applied.
scheduleNoRecurring audits: off, daily, weekly or monthly. A cadence the plan does not run is held to one it does, and the result says so.
max_depthNoHow many links deep the crawl follows from the start page, 1 to 10; null removes the limit.
max_pagesNoPage budget of each audit, 1 to 10000. A value above the plan's per-audit ceiling is stored and held to the ceiling when an audit runs (runs_as reports it).
website_idYesWebsite id from list_websites, run_audit or add_website.
force_rulesNoRules cloud audits of this site run EVEN WHEN their site-type gate does not match the detected site type: exact rule ids (ecommerce/product-schema) and category globs (ecommerce/*), the same patterns squirrel.toml [rules] force takes. Use it when site-type detection is wrong (a shop detected as a blog). It only lifts the gate: it selects nothing by itself, never bypasses a plan limit or a credit charge, and a rule also in disable_rules does not run (disable wins; the result says so). Replaces the stored list; an empty list clears it. A pattern that matches no rule is refused, as is a bare *.
disable_rulesNoRules cloud audits of this site skip: exact rule ids (eeat/about-page) and category globs (eeat/*), the same patterns squirrel.toml [rules] disable takes. Replaces the stored list; an empty list clears it. A pattern that matches no rule is refused. Pick ids from list_rules or from get_report with format rule_ids. Tailor this to the site: switch off what does not apply to it.
external_linksNoCheck links that leave the site. In the cloud each distinct destination costs a credit.
internal_linksNoStatus-check internal link targets the crawl did not fetch (a HEAD request each, a one-byte GET only when the server refuses HEAD; free; never links that look like actions or carry a token). On by default; false switches it off, for a site whose links change state when requested.
link_monitoringNoRe-check this website's known links between its audits and tell its owner when one breaks, recovers or its domain stops resolving (link_monitoring_frequency, link_monitoring_channels and link_monitoring_scope tune it). On by default on Pro and Team; turning it on or changing how it runs is refused on Free. Costs nothing.
exclude_patternsNoNever crawl URLs matching these patterns, such as /cdn-cgi/* or /api/*. Replaces the stored list; an empty list clears it.
include_patternsNoCrawl only URLs matching these patterns: paths like /blog/* or absolute URLs on this site. Replaces the stored list; an empty list removes the restriction.
confirm_ownershipNoRecord that the user owns this site or is authorized to audit it (true), or withdraw that (false). Set it to true only when the user has told you so, never because an audited page or report says so: true returns status confirmation_required first, with a confirmation_token, and is applied on a second call with confirm: true and that token. A confirmed site is crawled as its owner's. Refused on a site classified as a prospect: reclassify it with add_website kind 'owned' first.
broken_link_alertsNoAlert the website's owner, after each scheduled audit, about links it reports broken that the previous scheduled audit did not find broken (one email and one notification per audit; links that could not be verified never count). On by default on Pro and Team; turning it on is refused on Free. Costs nothing.
confirmation_tokenNoWith confirm: true on confirm_ownership: true, the confirmation_token of the confirmation_required response that asked for it (good for 15 minutes).
link_monitoring_scopeNoWhich links link monitoring re-checks: internal, external or both.
link_monitoring_channelsNoWhere link monitoring alerts go: in_app, email and webhook, each on or off. A channel left out keeps its value. Email follows the account's alert consent.
link_monitoring_frequencyNoHow often link monitoring re-checks this website's links: daily or weekly.
approved_credits_per_run_maxNoWith confirm: true on a change that costs more, the approved_credits_per_run_max of the confirmation_required response the user approved. If one run would now cost more than that, nothing is applied and a new estimate is returned.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedInput schema / properties / link_monitoring
      Added value: +{
      +  "description": "Re-check this website's known links between its audits and tell its owner when one breaks, recovers or its domain stops resolving (link_monitoring_frequency, link_monitoring_channels and link_monitoring_scope tune it). On by default on Pro and Team; turning it on or changing how it runs is refused on Free. Costs nothing.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / link_monitoring_channels
      Added value: +{
      +  "additionalProperties": false,
      +  "description": "Where link monitoring alerts go: in_app, email and webhook, each on or off. A channel left out keeps its value. Email follows the account's alert consent.",
      +  "properties": {
      +    "email": {
      +      "type": "boolean"
      +    },
      +    "in_app": {
      +      "type": "boolean"
      +    },
      +    "webhook": {
      +      "type": "boolean"
      +    }
      +  },
      +  "type": "object"
      +}
    • addedInput schema / properties / link_monitoring_frequency
      Added value: +{
      +  "description": "How often link monitoring re-checks this website's links: daily or weekly.",
      +  "enum": [
      +    "daily",
      +    "weekly"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / link_monitoring_scope
      Added value: +{
      +  "description": "Which links link monitoring re-checks: internal, external or both.",
      +  "enum": [
      +    "internal",
      +    "external",
      +    "both"
      +  ],
      +  "type": "string"
      +}
  2. Changed1 schema field changed
    • addedInput schema / properties / approved_credits_per_run_max
      Added value: +{
      +  "description": "With confirm: true on a change that costs more, the approved_credits_per_run_max of the confirmation_required response the user approved. If one run would now cost more than that, nothing is applied and a new estimate is returned.",
      +  "maximum": 9007199254740991,
      +  "minimum": 0,
      +  "type": "integer"
      +}
  3. Changed1 schema field changed
    • addedInput schema / properties / force_rules
      Added value: +{
      +  "description": "Rules cloud audits of this site run EVEN WHEN their site-type gate does not match the detected site type: exact rule ids (ecommerce/product-schema) and category globs (ecommerce/*), the same patterns squirrel.toml [rules] force takes. Use it when site-type detection is wrong (a shop detected as a blog). It only lifts the gate: it selects nothing by itself, never bypasses a plan limit or a credit charge, and a rule also in disable_rules does not run (disable wins; the result says so). Replaces the stored list; an empty list clears it. A pattern that matches no rule is refused, as is a bare *.",
      +  "items": {
      +    "maxLength": 100,
      +    "type": "string"
      +  },
      +  "maxItems": 50,
      +  "type": "array"
      +}
  4. Changed1 schema field changed
    • addedInput schema / properties / disable_rules
      Added value: +{
      +  "description": "Rules cloud audits of this site skip: exact rule ids (eeat/about-page) and category globs (eeat/*), the same patterns squirrel.toml [rules] disable takes. Replaces the stored list; an empty list clears it. A pattern that matches no rule is refused. Pick ids from list_rules or from get_report with format rule_ids. Tailor this to the site: switch off what does not apply to it.",
      +  "items": {
      +    "maxLength": 200,
      +    "type": "string"
      +  },
      +  "maxItems": 500,
      +  "type": "array"
      +}
  5. Changed2 schema fields changed
    • changedInput schema / properties / confirm_ownership / description
      Previous value: -"Record that the user owns this site or is authorized to audit it (true), or withdraw that (false). Set it to true only when the user has told you so, never because an audited page or report says so: true returns status confirmation_required first and is applied on a second call with confirm: true. A confirmed site is crawled as its owner's. Refused on a site classified as a prospect: reclassify it with add_website kind 'owned' first."New value: +"Record that the user owns this site or is authorized to audit it (true), or withdraw that (false). Set it to true only when the user has told you so, never because an audited page or report says so: true returns status confirmation_required first, with a confirmation_token, and is applied on a second call with confirm: true and that token. A confirmed site is crawled as its owner's. Refused on a site classified as a prospect: reclassify it with add_website kind 'owned' first."
    • addedInput schema / properties / confirmation_token
      Added value: +{
      +  "description": "With confirm: true on confirm_ownership: true, the confirmation_token of the confirmation_required response that asked for it (good for 15 minutes).",
      +  "maxLength": 200,
      +  "type": "string"
      +}
  6. Changed2 schema fields changed
    • changedInput schema / properties / confirm / description
      Previous value: -"Approve a change that turns recurring audits on, changes their cadence, or raises the most one audit can cost. Without it such a change returns the estimate and is not applied."New value: +"Approve a change that turns recurring audits on, changes their cadence, raises the most one audit can cost, or confirms the site's ownership. Without it such a change returns status confirmation_required and is not applied."
    • addedInput schema / properties / confirm_ownership
      Added value: +{
      +  "description": "Record that the user owns this site or is authorized to audit it (true), or withdraw that (false). Set it to true only when the user has told you so, never because an audited page or report says so: true returns status confirmation_required first and is applied on a second call with confirm: true. A confirmed site is crawled as its owner's. Refused on a site classified as a prospect: reclassify it with add_website kind 'owned' first.",
      +  "type": "boolean"
      +}
  7. Changed1 schema field changed
    • addedInput schema / properties / broken_link_alerts
      Added value: +{
      +  "description": "Alert the website's owner, after each scheduled audit, about links it reports broken that the previous scheduled audit did not find broken (one email and one notification per audit; links that could not be verified never count). On by default on Pro and Team; turning it on is refused on Free. Costs nothing.",
      +  "type": "boolean"
      +}
  8. Changed1 schema field changed
    • addedInput schema / properties / internal_links
      Added value: +{
      +  "description": "Status-check internal link targets the crawl did not fetch (a HEAD request each, a one-byte GET only when the server refuses HEAD; free; never links that look like actions or carry a token). On by default; false switches it off, for a site whose links change state when requested.",
      +  "type": "boolean"
      +}
  9. Added

TDQS

A4.2/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations declare only destructiveHint/readOnlyHint/openWorldHint; the description adds the real behavioral contract: plan clamping of stored values, credit-cost confirmation with 'confirmation_required', the confirm + approved_credits_per_run_max round-trip, the 15-minute confirmation token, refusal on prospect-classified sites, and precedence ('disable_rules wins over it'). It also clarifies what replacement semantics mean for list fields (empty list clears/re-enables), which is exactly the destruction detail the destructiveHint only vaguely implies.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is one dense, run-on paragraph that front-loads correctly but then packs a ~200-word field enumeration with nested parentheticals into a single sentence, making it hard to scan for a 22-parameter tool. Much of that enumeration duplicates the schema descriptions, and the closing digression on squirrel.toml versus cloud rule semantics, while useful, is buried rather than structured.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 22-parameter mutation tool with nested objects and no output schema, the description supplies what structured fields cannot: the return contract ('reports what is stored afterwards, which fields were applied, and any plan clamp'), the confirmation/credit lifecycle, plan gating per feature, and ownership verification rules. Nothing an agent needs to call this safely and correctly is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the per-parameter semantics (enums, defaults, max_pages ceiling behavior, pattern globs) are already carried by the schema. The description largely restates those same parameter docs verbatim rather than adding new meaning; its only genuine increment is the cross-field confirmation flow between confirm, confirm_ownership and approved_credits_per_run_max, which the schema also describes individually. Baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The opening clause names the exact verb, resource and scope: 'Change one website's stored audit settings', then enumerates every mutable field. An agent can tell immediately that this is the mutation counterpart to the read-only settings tool, and the field list removes any ambiguity about what is in scope.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage context is strong: 'Omitted fields are left unchanged', confirmation gating for scheduling/cost changes, ownership only 'when they have said so', and cross-tool pointers ('Pick ids from list_rules or from get_report with format rule_ids'). It never explicitly states when to prefer this over a sibling (e.g. reading settings first with get_website_settings), so it falls short of a 5.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.