Skip to main content
Glama
scholar-search

scholar-search

by hui-xu-ai

snapshot

Save the page the user has open as MHTML — one file with its images and CSS.

Instructions

Save the page the user has open as MHTML — one file with its images and CSS.

This is the "read this paper" entry point for pages outside the two channels: the user opens the article in the browser, snapshot writes wensu-pages/<title> [<host>] <time>.mhtml into the download folder, and tools/page2md.py turns that file into Markdown an agent can read.

It issues no request of its own — it reads the tab that is already open — so it spends no quota and is not limited to the channel domains. status still reports bridge_ready; a false value means the extension is not connected.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "snapshot"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.14.2

TDQS

A4.6/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and does so: it discloses that no network request is issued, that no quota is consumed, that it is not restricted to channel domains, the exact output filename pattern and location, and the dependency on a connected extension. That is materially more than a restatement of behavior.

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 the verb and artifact, then the routing context, then the constraints. The markdown bolding and inline script path add some visual noise, but each sentence contributes distinct information and none is redundant.

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 zero-argument tool with an output schema, the description covers everything an agent needs: trigger condition, side effect (file written where), quota implications, and the failure signal via `status`. Return-value detail is correctly left to the output schema.

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?

The tool takes zero parameters, so there is nothing to disambiguate and the baseline is 4. The description correctly implies no input is needed, though it never explicitly says the tool operates on whatever tab is currently active.

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?

Names a concrete action and artifact: saves the already-open page as a single MHTML file with images and CSS. It positions itself against siblings by scoping to 'pages outside the two channels' and by describing the downstream page2md.py conversion, so an agent can tell what this does that export/page_read presumably do not.

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?

Gives a clear use case ('read this paper' for pages outside the two channels) and a prerequisite check (`status` must report bridge_ready). It stops short of naming the channel-specific alternative tools, so the routing decision against those siblings is implied rather than explicit.

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

Deploy Server

Other Tools