Skip to main content
Glama

plan_search_audit

Read-onlyDestructive

Turn a target client domain into a scoped Five-Layer Search Audit action plan in ONE call: infers the business profile (P1 local / P2 SMB / P3 mid-market / P4 enterprise) from a real crawl on file when you pass site_id, picks the module set for the chosen tier (core/deep/autonomous), and returns each module's one-line why + the exact Xyle tools to call for real data (deduped into suggested_tool_call_order) — NOT the full 295-check list, to keep this call cheap. Call get_audit_framework separately for one module's full checklist once you're actually working it, or for the 17-part client deliverable structure when it's time to write the report. Flags business-intelligence inputs (deal value, margin, named competitors, capacity) that need a real client conversation — never guess those. IMPORTANT: everything this returns — module IDs, tier names, profile codes — is YOUR internal working vocabulary for deciding what to check. Never surface it in the client-facing report (no 'Module G2', no 'Core tier', no 'P2 SMB profile', no naming 'the framework'); translate every finding into plain language instead. This is the recommended starting point for a Client Pro SEO Audit or any 'write me a pro-grade audit' request — prefer the search_audit PROMPT over calling this tool cold, it carries the full plan → farm → write recipe. See also start_prospect_audit for a domain that hasn't connected anything.

Input Schema

NameRequiredDescriptionDefault
tierNocore (default) | deep | autonomous
domainYesThe target client's domain, e.g. acme.com
profileNoOverride the inferred profile: P1 (local) | P2 (SMB) | P3 (mid-market) | P4 (enterprise)
site_idNoIf this domain is already a Xyle site, pass its id (list_sites) to infer the profile from a real crawl instead of guessing

Schema Changelog

Changes observed during successful MCP inspections.

  1. 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, it discloses that the call is deliberately cheap, that it does NOT return the full 295-check list, what it does return (module why-lines + deduped suggested_tool_call_order), and warns that BI inputs must come from a client conversation. It also flags internal vocabulary that must never surface in the client report. Annotations (readOnly/openWorld/idempotent=false) are not contradicted by the description.

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?

Purpose is front-loaded in the first clause, and the dense paragraph is justified by the tool's complexity (returns, downstream routing, vocabulary warning). It runs long with many parenthetical asides, which slightly hurts scanability, but each sentence carries distinct guidance.

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 complex, output-schema-less planning tool, the description fully covers what it returns, what it withholds, the follow-up tools, and the client-facing constraint. Annotations plus description leave no critical gap for correct invocation.

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 already 100%, but the description adds real meaning: tier selects the module set (core/deep/autonomous), profile overrides the inferred P1-P4 tier, and site_id triggers profile inference from a real crawl rather than guessing. That goes beyond the schema's terse enum-ish notes.

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 states a specific verb (plan), a specific resource (Five-Layer Search Audit action plan), and its scope (tier module set, why-lines, tool call order) in one call. It explicitly distinguishes itself from get_audit_framework and start_prospect_audit, so an agent can route correctly without opening schemas.

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?

It names when to use this tool (starting point for a Pro SEO Audit), when to use alternatives (get_audit_framework for one module's checklist or the 17-part deliverable), and even points to the search_audit PROMPT over calling cold. It also routes unconnected domains to start_prospect_audit. Nothing is left to inference.

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