Skip to main content
Glama

export_audit_report

Destructive

Render findings — from a prospect audit OR a normal site audit — into the same branded, Deloitte-style document real XeoRank audits use, saved as a Google Doc in YOUR OWN Drive (not the prospect's), and get back a shareable link — open it, download as PDF from Google Docs' own File > Download menu, or share it directly. Requires your own account to have Google connected with Drive permission; if not, this returns a clear one-line fix rather than a raw error. Pass report_data as a JSON object built from what get_prospect_audit (or the site audit tools) returned, PLUS your own writing: set report_data.executive_narrative to the client-facing prose you wrote (personalize it — match style_reference if one was given), and optionally report_data.agency_appendix for internal-only delivery notes that never show up in a client-facing export (omit it for the client version, include it for the agency's own copy — same data, two calls, two links). Costs one doc-export credit.

Input Schema

NameRequiredDescriptionDefault
urlYesThe audited URL/domain, shown on the report cover
site_idNoOptional — the prospect audit's site_id, to file this export against it
report_dataYesJSON object: {domain, scores:{seo,aeo,geo}, cwv, aeo_signals, geo_signals, recommendations, executive_narrative, agency_appendix?, ...}. Unknown/omitted keys degrade to "N/A" in the rendered sections rather than erroring.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior5/5

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

Adds substantial context beyond the annotations: costs one doc-export credit, saves to YOUR OWN Drive rather than the prospect's, degrades unknown keys to "N/A" instead of erroring, returns a one-line fix instead of a raw error when Google isn't connected, and explains that agency_appendix never surfaces in client-facing exports. This is exactly the behavioral detail annotations can't convey.

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 purpose and output medium are front-loaded, and the dense run-on sentence still carries mostly load-bearing detail (credit cost, Drive ownership, degradation behavior, two-version workflow). It is longer than ideal for a single paragraph but wastes little.

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

Completeness4/5

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

For a tool with no output schema and an open-world write, the description covers prerequisites, cost, failure handling, and the returned shareable link. The one unexplained element is the destructiveHint=true annotation, since creating a new doc is not described as overwriting anything, leaving a small behavioral gap.

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, and the description genuinely adds meaning: it explains that report_data must be built from prior audit output plus the agent's own writing, specifies executive_narrative as client-facing prose to personalize against style_reference, and defines the opt-in nature of agency_appendix. That is real semantic value beyond the schema text.

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?

States a specific verb and artifact: render findings into a branded Deloitte-style document saved as a Google Doc in your own Drive, returning a shareable link. It names the source tools (get_prospect_audit / site audit tools), but does not differentiate from nearby siblings like generate_report, download_report, or get_audit_report, so an agent must infer the split.

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?

Explains context clearly: usable for either a prospect audit or a normal site audit, requires Google connected with Drive permission, and calls out the two-call pattern (client version with appendix omitted vs agency copy with it included). No explicit when-not or direct routing against the report-generating siblings.

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