Skip to main content
Glama
Crypsis MCP
by mtnba4

crypsis_save_html_document

Saves the current webpage's HTML markup to a specified file path on disk, letting AI agents capture and store page source for scraping, debugging, or offline analysis.

Instructions

Save the current webpage HTML markup to a document file on disk

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": {
      "filepath": "<filepath>"
    },
    "name": "crypsis_save_html_document"
  }
}

Input Schema

NameRequiredDescriptionDefault
filepathYesPath or filename to save HTML markup to

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden. It implies a filesystem write but doesn't say whether existing files are overwritten, whether directories are created, whether rendered DOM or raw source is captured, or what the call returns.

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?

A single front-loaded sentence with no filler; the action and target are stated immediately. It is efficient, if minimal.

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

Completeness3/5

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

For a one-parameter save tool with no output schema or annotations, the core action is conveyed. Missing are the details an agent would need to call it confidently: overwrite behavior, directory creation, and the nature of the saved markup.

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?

Only one parameter exists and schema coverage is 100%, so the schema already documents 'filepath'. The description adds no format, extension, or relative-vs-absolute path detail beyond it, which is the baseline case.

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 resource: 'Save the current webpage HTML markup to a document file on disk'. This is clearly distinct from siblings like crypsis_pdf_save or crypsis_get_content, though it never names those alternatives explicitly.

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

Usage Guidelines2/5

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

No when-to-use guidance beyond the bare action. It doesn't say when to prefer this over crypsis_get_content or crypsis_pdf_save, nor any prerequisite such as a page being loaded first.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.