Skip to main content
Glama

Verify Compared Offer

compare_verify_offer
Read-onlyIdempotent

Verify a compared offer's actual price, stock, and seller directly from the source marketplace card, preserving native fields for accurate confirmation.

Instructions

Verify one compared offer through its marketplace card tool.

This is the cheap compare-server follow-up: it lets an agent confirm the raw search price, stock and seller without enabling the 36-tool unified mount. The returned card is source-native and therefore keeps fields the comparison intentionally normalises away.

Return Format

JSON object: {source, product_id_or_url, card}. card is the native source response, preserving price, availability, seller, and source-specific fields when the marketplace exposes them.

Error Format

Raises BadRequestError when the source is unknown, not installed, or the identifier cannot be validated; native card errors are returned as tool errors with their source-specific taxonomy.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sourceYesMarketplace source name from compare_prices, e.g. wildberries or ozon.
product_id_or_urlYesproduct_id or direct product URL from the compared offer
expected_price_rubNoPrice returned by compare_prices; used to report a live card delta.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.1.0

TDQS

A4.3/5.0
Behavior5/5

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

Although annotations already declare the tool read-only, idempotent, and non-destructive, the description adds substantial behavioral context: it returns a source card that preserves fields which comparison normalises away, it reports live deltas, and it specifies both the error taxonomy (BadRequestError for invalid source/ID and native source errors). This goes meaningfully beyond the structured annotations.

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?

The description is front-loaded with a concise single purpose sentence and then fleshed out with clearly separated Return Format and Error Format sections. Each sentence adds useful context; slightly more verbose than strictly necessary, but all content is substantive.

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?

With an output schema present, the description reasonably limits itself to Return Format and Error Format, which together give a full overview of what the tool returns and what fails. It is a little thin on how expected_price_rub affects behaviour, but the schema fill that gap, and overall it is sufficient for an agent to call the tool correctly.

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 description coverage is 100%, so the baseline is 3. The description reinforces that source and product_id come from a compared offer and that expected_price_rub is used for a delta, but it mostly repeats what the schema already states. No direct parameter-level elaboration is added in the description text.

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 ('verify'), a specific resource ('a parsed offer'), and the mechanism ('through its marketplace card tool'). It also distinguishes the tool from richer siblings by positioning it as the cheap follow-up that avoids the 36-tool unified mount, making its role clear even without inspecting sibling schemas.

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

Usage Guidelines4/5

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

The description gives a clear context for use ('following compare_prices', 'without enabling the 36-tool unified mount'), indicating this is a lightweight verification step. It does not explicitly list alternative tools or state when not to use it, but the context is strong enough for an agent to route himself.

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