Skip to main content
Glama

Delete site audit

delete_site_audit
Destructive

Permanently deletes one site audit and its crawled pages, issues, and Lighthouse results, freeing audit capacity. Uses the same workflow-stop and cleanup behavior as the dashboard. Uses no credits. Requires an owner or admin, like deletion in the dashboard. Saved reports and project context are kept.

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 NameIO 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. First observed

TDQS

A4/5.0
Behavior5/5

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

Beyond the destructiveHint annotation, the description discloses exactly what is removed (crawled pages, issues, Lighthouse results), what is preserved (saved reports, project context), that audit capacity is freed, that no credits are used, and that workflow-stop and cleanup behavior matches the dashboard. The owner/admin authorization requirement is also explicit. This is unusually rich behavioral context for a destructive tool.

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 description is front-loaded with the destructive action and its scope, followed by concise operational details. Each sentence contributes relevant information, though the repeated "like deletion in the dashboard" phrasing in two separate sentences is slightly redundant. It remains efficient and easy to scan.

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?

The tool has annotations, a complete input schema, and an output schema, and the description still supplies the important behavioral details an agent needs: destruction scope, retention of saved reports, capacity impact, credit usage, and authorization requirements. Nothing material appears missing for safe invocation.

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%, and the schema already explains that auditId is the exact ID from list_site_audits or run_site_audit and never defaults to the latest audit. The description adds no further meaning about parameter formats or constraints. Baseline 3 is appropriate because the schema carries the full parameter burden.

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

Purpose4/5

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

The description uses a precise verb and resource: "Permanently deletes one site audit and its crawled pages, issues, and Lighthouse results." This clearly distinguishes deleting an audit from reading audit data. It does not explicitly contrast with sibling deletion tools such as delete_report or delete_report_template, so it stops short of full sibling differentiation.

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

Usage Guidelines3/5

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

Usage is implied by the destructive verb and the stated prerequisites: an owner or admin should use this to remove an audit and free capacity. The description does not state when to prefer this over alternatives, nor does it explicitly exclude related deletion paths. The permission requirement provides useful context but not selection guidance.

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