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. New reports are private; replacing a report preserves its sharing setting and updates what any existing public link shows. Only when the user explicitly requests public sharing (in their prompt or instructions for the skill), call set_report_sharing after saving. 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 report type or subject and full report date), 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 "—".
titleYesReport type or specific subject and full report date, e.g. "Competitive Landscape — Sep 17, 2026". Omit the project's website; include the subject's bare hostname only when it differs from the project website or the project has no website. Use the same title in the HTML title and h1. 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 NameIO 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.6/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, and the description corroborates rather than contradicts them by spelling out what is destroyed ("there is no version history and the old content is gone"). It adds genuinely non-obvious behavior beyond the annotations: no credits consumed, new reports default to private, and replacing preserves the sharing setting while updating any existing public link. The only gap is that it doesn't describe the shape of the success response, though an output schema exists to cover that.

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?

Dense but front-loaded: the save semantics come first, then the sharing conditional, then the duplicate-avoidance rule, then content guidance, then the reply instruction. A few clauses restate what the schema descriptions already say (specific title, summary contents, skill slug), which is mild redundancy rather than waste.

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, multi-parameter write tool this covers everything an agent needs: prerequisites (projectId from list_projects), the replace-vs-create decision, the duplicate-title refusal, the sharing side effect, and the required follow-up reply. Return values are handled by the output schema, so their absence from the description is not a 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 schema already carries the per-parameter detail and a baseline of 3 would be defensible. The description still adds workflow-level meaning the schema cannot: that reportId should be sourced from list_reports and that omitting it creates rather than replaces, plus the content contract for title and summary (verdict, top action, key numbers, skill slug).

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") and immediately distinguishes the two modes: creating a new report versus replacing an existing one via reportId. An agent can tell this apart from set_report_sharing, list_reports, and delete_report without opening any schema.

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?

Gives explicit sequencing (call list_reports first, pass the matching reportId to avoid a near-duplicate), an explicit conditional for the sibling tool (only call set_report_sharing when the user explicitly requests public sharing), and an explicit post-call behavior (reply with the returned url, verdict, and top action). It also names a failure condition — a save whose title already exists is refused — which steers the agent away from the wrong path.

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