Skip to main content
Glama

Weekly Site Audits

project_site_audit_schedule
Destructive

Reads, turns on (or changes) and turns off a project's weekly site audits, the dashboard's Site audits "Weekly audit" panel. action get (the default) answers the schedule: next_run_at, the settings, and the last run (last_audit_id, or last_error saying why it did not start, for example not enough credits). action on saves it with seed_url (the page the audit starts from; default the project's main site's home page), max_pages (default 100) and check_external_links (also check up to 100 links to other sites, no extra credits); the first run is a week after the project's latest audit, or straight away when there was none in the last week, then every 7 days. Saving again replaces the settings. action off stops it: nothing more runs or is charged, and audits already made are kept. action now starts one audit straight away (the dashboard's "Start audit"), with the same seed_url, max_pages and check_external_links, whether or not weekly audits are on; the answer carries audit (status started with audit_id) and the schedule. A refused start (for example not enough credits) is an error and costs nothing. Once an audit is started the answer is never an error: if the schedule cannot be read just then, weekly_audits and schedule are null; if the audit service does not answer the start, audit status is unconfirmed (it may have started): check project_site_audits_list before starting another. Free to read and to turn on or off: turning it on spends nothing at once; each weekly run, and an audit action now starts, costs 1 credit per page audited, up to max_pages, and a run that cannot be paid for is not started and says so on the schedule. Needs a workspace editor to change it. Read the audits it makes with project_site_audits_list and project_site_audit_get.

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": {
      "project_id": "<project_id>"
    },
    "name": "project_site_audit_schedule"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionNoget reads the schedule, on turns weekly audits on (or changes them), off turns them off, now starts one audit straight away.get
seed_urlNoOptional, action on or now: the http(s) page the audit starts from. Default: the home page of the project's main site.
max_pagesNoOptional, action on or now: the most pages each audit reads, and so the most credits it costs.
verbosityNoconcise: short summary of the answer; full: the whole answer. Only shapes the output.
project_idYesProject ID, as listed by projects_list; it must belong to the authenticated organization.
idempotency_keyNoOptional and ignored: a key does not make a repeated call safe. get, on and off never charge; each action now call starts, and charges for, a new audit, so check project_site_audits_list before repeating one.
check_external_linksNoOptional, action on or now: also check up to 100 links to other sites and list the broken ones. No extra credits.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • changedInput schema / properties / action / description
      Previous value: -"get reads the schedule, on turns weekly audits on (or changes them), off turns them off."New value: +"get reads the schedule, on turns weekly audits on (or changes them), off turns them off, now starts one audit straight away."
    • changedInput schema / properties / action / enum
      Previous value: -[
      -  "get",
      -  "on",
      -  "off"
      -]New value: +[
      +  "get",
      +  "on",
      +  "off",
      +  "now"
      +]
    • changedInput schema / properties / check_external_links / description
      Previous value: -"Optional, action on: also check up to 100 links to other sites and list the broken ones. No extra credits."New value: +"Optional, action on or now: also check up to 100 links to other sites and list the broken ones. No extra credits."
    • changedInput schema / properties / idempotency_key / description
      Previous value: -"Optional and ignored: this call never charges, and a key does not make a repeated call safe."New value: +"Optional and ignored: a key does not make a repeated call safe. get, on and off never charge; each action now call starts, and charges for, a new audit, so check project_site_audits_list before repeating one."
    • changedInput schema / properties / max_pages / description
      Previous value: -"Optional, action on: the most pages each weekly audit reads, and so the most credits it costs a week."New value: +"Optional, action on or now: the most pages each audit reads, and so the most credits it costs."
    • changedInput schema / properties / seed_url / description
      Previous value: -"Optional, action on: the http(s) page the weekly audit starts from. Default: the home page of the project's main site."New value: +"Optional, action on or now: the http(s) page the audit starts from. Default: the home page of the project's main site."
  2. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Beyond the annotations (readOnlyHint=false, destructiveHint=true, idempotentHint=false), the description discloses the cost model (1 credit per page up to max_pages; reads and toggles are free), the auth requirement (workspace editor), the failure surfaces (refused start is an error and costs nothing; unconfirmed audit status when the audit service does not answer), and what off preserves (existing audits kept). The explicit statement that idempotency_key is ignored adds material context the schema alone would not convey safely.

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

Conciseness4/5

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

The lead sentence front-loads the resource and action set, and nearly every clause earns its place (costs, defaults, error paths). The remaining weakness is form: one very long paragraph with nested parentheses makes the operational rules harder to scan than a per-action breakdown would.

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?

There is no output schema, and the description compensates fully by naming the answer fields per action: next_run_at, settings, last_audit_id or last_error, and audit status started with audit_id, plus the null-schedule degradation case. For a 7-parameter mutation tool with branching actions, an agent has everything needed to call it and interpret replies.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3, but the prose adds genuine meaning: max_pages is framed as the cost ceiling, seed_url's default is tied to the project's main site home page, and the idempotency_key caveat is spelled out. The only shortfall is that these details mostly restate the schema descriptions rather than introducing new semantics.

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 description opens with a specific verb set and resource: reads / turns on / turns off a project's weekly site audits, and explicitly maps that to the dashboard's 'Weekly audit' panel. It then enumerates the four actions and what each does, so an agent can distinguish this tool from project_site_audits_list and project_site_audit_get without opening a schema.

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

Usage Guidelines5/5

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

Each action carries an explicit when-to-use: get to read the schedule, on/off to toggle, now to start an immediate audit 'whether or not weekly audits are on'. It names the alternatives for reading results (project_site_audits_list, project_site_audit_get) and gives an explicit guard against misuse: check project_site_audits_list before repeating an action now call.

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.

Resources