Skip to main content
Glama

Delete site audit

delete_site_audit
Destructive

Permanently delete one site audit with its crawled pages, issues, and Lighthouse results, freeing audit capacity. A running audit is stopped first. Saved reports and project context are kept. Requires an owner or admin. Uses no credits. Call list_site_audits to find the auditId.

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": {
      "projectId": "<projectId>",
      "auditId": "<auditId>"
    },
    "name": "delete_site_audit"
  }
}

Input Schema

NameRequiredDescriptionDefault
auditIdYesExact audit ID from list_site_audits or run_site_audit. Required; never defaults to the latest audit.
projectIdYesRequired. The FastestRank project ID to scope this call to. Get one from list_projects.

Output Schema

NameRequiredDescriptionDefault
metaNo
auditIdYes
deletedYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior5/5

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

Goes well beyond the destructiveHint annotation by naming exactly what is destroyed (crawled pages, issues, Lighthouse results), what survives (saved reports, project context), the side effect of stopping a running audit first, the permission requirement, and the credit cost. That is the full behavioral profile an agent needs before an irreversible call.

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

Conciseness5/5

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

Six short sentences, front-loaded with the irreversible action and its blast radius, then consequences, permissions, cost, and the ID lookup hint. No filler and nothing buried.

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 two-parameter destructive tool with annotations and an output schema, everything an agent needs is present: destruction scope, preservation guarantees, in-flight behavior, authorization, and how to source the ID. Return values are correctly left to the output schema.

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 coverage is 100% and both parameters are already documented, including that auditId comes from list_site_audits or run_site_audit. The description restates the auditId source without adding format or edge-case detail beyond the schema, so 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?

States a specific verb and resource ('Permanently delete one site audit') with scope narrowed to a single audit and its dependent data. The word 'site' plus the enumerated artifacts (crawled pages, issues, Lighthouse results) clearly separate it from sibling deletions like delete_report or delete_report_template.

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?

Explicitly routes the agent to list_site_audits to obtain the auditId, and states prerequisites (owner or admin) plus the cost implication (uses no credits). It stops short of naming when not to use it — e.g. delete_report for saved reports — so an exclusion statement is the only missing piece.

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.