Skip to main content
Glama

Save report

save_report
Destructive

Saves a finished HTML report to this project, where anyone in the workspace can read and print it. Uses no credits. Call list_reports first and pass the matching reportId to replace that report instead of creating a near-duplicate — a save whose title already exists in the project is refused. Give the report a specific title (the subject and the period), a summary carrying the verdict, the top action and the key numbers, and the skill slug you are running. Then reply with the returned url, a one-line verdict and the single top action; do not paste the report into chat.

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>",
      "title": "<title>",
      "summary": "<summary>",
      "html": "<html>"
    },
    "name": "save_report"
  }
}

Input Schema

NameRequiredDescriptionDefault
htmlYesThe complete self-contained HTML document. Inline all CSS; no external requests of any kind (no CDNs, no web fonts, no images by URL, no fetch) — they are blocked when the report renders, and scripts are blocked too. No backticks and no ${ anywhere, including inside CSS content strings: some clients (Codex) pass this argument through a JavaScript template literal and either sequence corrupts the document. It must be a whole document, ending in </html>: a save that stops mid-document is refused, because there is no version history to fall back on. Aim under 80 KB so the report can be read back whole in one call; the hard limit is 500,000 bytes. Use the seo-report skill's starter template when you have it; otherwise a plain semantic document — heading, short sections, one table — reads fine.
skillNoThe slug of the skill that produced this report — the name of the SKILL.md you are running, e.g. "seo-audit". The report list keys on it, so a save without it shows "—".
titleYesSpecific title shown in the report list, e.g. "brokenseo.dev SEO audit, Sep 2026". Never a generic label like "SEO Report". Max 120 characters.
summaryYesMarkdown, under 2,500 characters: the verdict, the single top action, and the key numbers. This is what list_reports returns and what you or another agent read instead of the HTML.
reportIdNoOmit to create a new report. Pass an id from list_reports to replace that report in place — there is no version history and the old content is gone.
projectIdYesRequired. The FastestRank project ID to scope this call to. Get one from list_projects.
templateIdNoThe id of the report template you followed, from list_report_templates or the project context. Pass it only when you actually followed that template; it is what the report list and the report page show instead of the skill slug.

Output Schema

NameRequiredDescriptionDefault
urlYes
metaNo
titleYes
createdYes
reportIdYes
htmlBytesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, so the mutation risk is covered structurally. The description adds value beyond that: 'Uses no credits' (cost profile), the duplicate-title refusal rule (a failure mode not in annotations), and the replacement semantics. It does not restate the no-version-history destruction detail that lives in the schema, which is fine since it is already documented there.

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?

Front-loaded with purpose and cost, then the dedupe rule, then the content checklist, then the reply convention — a logical order with no filler sentences. It runs long, and the content checklist overlaps the schema, but every sentence carries actionable instruction.

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 destructive 7-parameter save with an output schema, the description covers the cost, the duplicate-refusal failure mode, the replace-vs-create decision, and what the agent should do after the call. Return values need no explanation given the output schema, so nothing an agent needs is missing.

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%, so the schema already documents every parameter in depth, including the title, summary, skill and reportId semantics. The description's middle sentence largely restates that guidance (specific title with subject and period, summary with verdict/top action/key numbers) rather than adding new meaning, 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 ('saves a finished HTML report to this project') plus the visibility scope ('anyone in the workspace can read and print it'), which distinguishes it from list_reports and get_report. An agent knows immediately this is the write path for finished reports.

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?

Explicitly prescribes the alternative path: call list_reports first and pass the matching reportId to replace rather than create a near-duplicate, and warns that a save whose title already exists is refused. It also states the post-save protocol (reply with url, verdict, top action; do not paste the report into chat), leaving little 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.