Skip to main content
Glama

shelfsignal_fetch_product

Fetch or parse a public product URL or local HTML fixture and convert it into standardized ShelfSignal JSON for consistent product data processing.

Instructions

Fetch or parse a public product URL or local HTML fixture into standardized ShelfSignal JSON.

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": {
      "target": "<target>"
    },
    "name": "shelfsignal_fetch_product"
  }
}

Input Schema

NameRequiredDescriptionDefault
htmlNoOptional raw HTML string to parse directly.
targetYesPublic HTTP(S) URL or local HTML file path.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.3.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description must carry the behavioral burden. It does disclose that the URL must be public and HTTP(S) and that a local file path or raw HTML string is also accepted, which hints at network I/O. It says nothing about failure modes, fetch restrictions, or authentication, which is a real gap for a no-annotation tool.

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?

A single front-loaded sentence with no filler; both input modes and the output shape are packed into one clause without redundancy.

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

Completeness4/5

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

For a simple two-parameter ingestion tool with full schema coverage and no output schema, the description covers the input modes and the output type adequately. The only shortfall is that 'standardized ShelfSignal JSON' stays vague about the returned structure, which matters given there is no output schema.

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?

Schema coverage is 100% with only two parameters, both already documented in the schema. The description restates the same distinction (URL vs. local HTML fixture) without adding format or precedence rules, e.g. what happens if both target and html are supplied. Baseline 3 applies.

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 concrete verb pair (fetch/parse) and a concrete resource (public product URL or local HTML fixture), plus the output form (standardized ShelfSignal JSON). It is clearly the ingestion entry point, though it never explicitly contrasts itself with siblings such as shelfsignal_match_products or shelfsignal_diff_products.

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?

Usage is only implied: an agent can infer it should call this when it has a URL or raw HTML to turn into JSON. There is no statement of when NOT to use it, no prerequisites, and no named alternative for cases where the product is already parsed.

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