Skip to main content
Glama
Aster Search MCP
by yustein

extract_content

Read-onlyIdempotent

Converts caller-supplied HTML to Markdown or plain text without fetching a page; accepts a source URL and configurable character limit.

Instructions

Convert caller-supplied HTML without a network request. This does not verify its origin.

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": {
      "html": "<html>",
      "source_url": "<source_url>"
    },
    "name": "extract_content"
  }
}

Input Schema

NameRequiredDescriptionDefault
htmlYes
max_charsNo
source_urlYes
output_formatNomarkdown

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already declare readOnly, openWorldHint=false, idempotent and non-destructive, so the bar is lower; the description still adds real value by asserting no network request is made and that origin is unverified, which tells the agent the output inherits the trust level of the input HTML. It omits truncation behavior around max_chars, which would have made it a 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two short sentences, front-loaded with the capability and immediately followed by the trust caveat. Nothing is wasted.

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?

An output schema exists, so return-value explanation is rightly omitted, and the core conversion contract is clear. However, with 4 undocumented parameters and a required-but-unexplained source_url alongside a no-network guarantee, an agent still lacks enough to call this confidently with correct arguments.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% with 4 parameters, so the description carries the full burden and largely fails it: html, max_chars and output_format are never mentioned. The required source_url is especially puzzling — the description insists no network request occurs, yet a required URL parameter goes entirely unexplained, leaving the agent to guess whether it is metadata only.

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?

"Convert caller-supplied HTML" names a specific verb (convert) and resource (HTML), and "without a network request" pins the scope so an agent can tell it apart from network-fetching siblings like fetch_page or render_page. It does not name those siblings explicitly, so it stops just short of a 5.

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

Usage Guidelines3/5

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

The phrase "caller-supplied HTML" implies the precondition (you already hold the HTML), and the second sentence warns that provenance is not checked. But there is no explicit when-to-use/when-not or pointer to a fetching tool for the case where HTML must first be retrieved.

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