Skip to main content
Glama

shelfsignal_diff_products

Compare two product snapshots from HTML files or raw HTML and return verified ChangeEvents to identify what changed on a product page.

Instructions

Compare two product snapshots (HTML files or raw HTML) and return verified ChangeEvents.

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": {
      "before_target": "<before_target>",
      "after_target": "<after_target>"
    },
    "name": "shelfsignal_diff_products"
  }
}

Input Schema

NameRequiredDescriptionDefault
after_targetYes
before_targetYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.3.0

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden. It implies a read-only comparison and mentions 'verified' ChangeEvents, but says nothing about permissions, size or rate limits, failure behavior when a target cannot be parsed, or what 'verified' entails.

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: the verb, the two inputs, and the output are stated in order of importance. Nothing is redundant.

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?

With no annotations, no output schema, and zero parameter description coverage, the definition is minimal but sufficient to attempt a call. It leaves gaps around return structure of ChangeEvents and error handling that a tool of this complexity would benefit from documenting.

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 0%, so the description must compensate. It does add real meaning by saying each target may be either an HTML file or raw HTML, which the bare string schema does not convey. However, it does not clarify path resolution, expected format per target, or whether the two targets must be the same kind.

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 uses a specific verb (Compare) and names the resource (two product snapshots) and the return type (verified ChangeEvents). It is clear what the tool does, though it does not name a sibling such as shelfsignal_query_changes to distinguish when this diff should be preferred.

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?

It states the accepted input forms ('HTML files or raw HTML') but gives no when-to-use guidance, no conditions for choosing this over shelfsignal_query_changes or shelfsignal_match_products, and no prerequisites or exclusions.

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