Skip to main content
Glama

check_product_price_and_stock

Retrieve live product price and stock status from a product page URL by parsing Schema.org and OpenGraph data.

Instructions

Get the real-time price and stock/inventory status of a product page (reads Schema.org and OpenGraph data).

Cost: $0.01 USDC per call.
Freshness: fetched live at request time.
Inputs: url - full http:// or https:// product page address.

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": {
      "url": "<url>"
    },
    "name": "check_product_price_and_stock"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/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 usefully discloses live fetching, a $0.01 USDC per-call cost, and reliance on Schema.org/OpenGraph data, but it omits failure behavior when pages lack structured data, rate-limit considerations, and explicit read-only safety language.

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?

The description is short and front-loaded, leading with the core action and then providing cost, freshness, and input details in compact form. Every sentence contributes useful information without repetition.

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?

An output schema already exists, so return values need not be explained. The description covers the key call prerequisites and operational traits, though it could be more complete by noting behavior when a page is not a product page or structured data is missing.

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?

Schema description coverage is 0%, so the description must clarify the sole parameter. It does so by requiring a full http:// or https:// product page address, which adds meaningful constraints beyond the schema's bare string type.

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?

The description states a specific verb and resource: retrieving real-time price and stock/inventory status for a product page. It also adds the data-source mechanism (Schema.org and OpenGraph), making the tool's purpose unambiguous relative to the unrelated sibling tools.

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 purpose and required URL input imply when the tool is appropriate, but the description gives no explicit when-to-use or when-not-to-use guidance and does not name any alternative tools. The cost and freshness notes help set expectations but do not function as usage routing.

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