Skip to main content
Glama
Aster Search MCP
by yustein

parse_book_metadata

Read-onlyIdempotent

Parse supplied Amazon HTML to extract book metadata and preserve source URL context without claiming live retrieval or verification.

Instructions

Parse supplied Amazon HTML without claiming it was retrieved or verified live.

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": "parse_book_metadata"
  }
}

Input Schema

NameRequiredDescriptionDefault
htmlYes
source_urlYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

B3.3/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, and closed-world, so the safety profile is covered. The description adds a genuine behavioral constraint beyond that: the output carries no provenance guarantee and must not be presented as live-retrieved or verified. It does not say what happens when the HTML does not parse or how failures surface.

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 constraint follows the action rather than burying it. Brevity is close to the edge of under-specification given the undocumented `source_url`, but nothing present is wasteful.

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

Completeness2/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 values need not be explained, but with zero schema descriptions and two required parameters the definition is thin: `source_url` is unaddressed and no input-format or failure behavior is given. For a parsing tool whose correctness hinges on input shape, this leaves material gaps.

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%, so the description must carry the full burden for both required parameters. It gestures at `html` as supplied Amazon markup but says nothing about expected format or the 200000-character cap, and it never mentions `source_url` at all, even though that parameter is required and presumably records provenance.

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?

The description names a specific verb ("parse") and a specific resource ("supplied Amazon HTML"), so an agent can tell this is an offline HTML-to-metadata extraction step rather than a fetch. It does not explicitly contrast itself with siblings like get_book_metadata or extract_content, so differentiation is left to inference.

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 "supplied ... HTML" plus "without claiming it was retrieved or verified live" implies the tool is for HTML the caller already holds, as opposed to live-fetch tools such as fetch_page or render_page. That contrast is only implied; there is no explicit when-to-use/when-not-to-use statement or named alternative.

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