Skip to main content
Glama

Avito Item Card

avito_card
Read-onlyIdempotent

Fetch Avito listing details by item ID, slug, or URL—including price, seller, location, date, and views—using JSON-LD first with DOM fallback.

Instructions

Read an Avito item over CDP: Product JSON-LD first, item-view DOM fallback.

Full avito.ru URLs need an item-page path (/1234567890, /slug_1234567890 or /city/category/slug_1234567890); bare ids and slug paths use /{id}. price_rub is None when absent or non-RUB — never 0. Deal terms, seller checks, city/stations, date and views come from the same page; address and coords for companies only; availability from service signals only.

Full field list and error codes: guide://avito/avito_card.

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": {
      "item_id_or_url": "<item_id_or_url>"
    },
    "name": "avito_card"
  }
}

Input Schema

NameRequiredDescriptionDefault
photosNoOpt-in, costly in tokens: attach up to N listing photos (active ads only). Photos belong to the seller; do not describe faces, documents or plates in them. 0 = off. Details: guide://avito/avito_card
item_id_or_urlYesItem id, slug path or full avito.ru URL

Output Schema

NameRequiredDescriptionDefault
urlNo
_metaNo
metroNo
titleNo
viewsNo
coordsNo
imagesNo
paramsNo
photosNo
sellerNo
statusNo
addressNo
bargainNo
item_idNo
locationNo
conditionNo
posted_atNo
price_rubNo
safe_dealNo
tier_usedNo
descriptionNo
item_badgesNo
today_viewsNo
availabilityNo
old_price_rubNo
photos_statusNo
discount_percentNo
delivery_servicesNo
delivery_availableNo
payment_on_deliveryNo
price_offer_enabledNo
availability_evidenceNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed20 schema fields changedv2.9.1
    • addedInput schema / properties / photos
      Added value: +{
      +  "default": 0,
      +  "description": "Opt-in, costly in tokens: attach up to N listing photos (active ads only). Photos belong to the seller; do not describe faces, documents or plates in them. 0 = off. Details: guide://avito/avito_card",
      +  "maximum": 3,
      +  "minimum": 0,
      +  "type": "integer"
      +}
    • addedOutput schema / properties / address
      Added value: +{}
    • addedOutput schema / properties / availability
      Added value: +{}
    • addedOutput schema / properties / availability_evidence
      Added value: +{}
    • addedOutput schema / properties / bargain
      Added value: +{}
    • addedOutput schema / properties / condition
      Added value: +{}
    • addedOutput schema / properties / coords
      Added value: +{}
    • addedOutput schema / properties / delivery_available
      Added value: +{}
    • addedOutput schema / properties / delivery_services
      Added value: +{}
    • addedOutput schema / properties / discount_percent
      Added value: +{}
    • addedOutput schema / properties / item_badges
      Added value: +{}
    • addedOutput schema / properties / metro
      Added value: +{}
    • addedOutput schema / properties / old_price_rub
      Added value: +{}
    • addedOutput schema / properties / params
      Added value: +{}
    • addedOutput schema / properties / payment_on_delivery
      Added value: +{}
    • addedOutput schema / properties / photos
      Added value: +{}
    • addedOutput schema / properties / photos_status
      Added value: +{}
    • addedOutput schema / properties / price_offer_enabled
      Added value: +{}
    • addedOutput schema / properties / safe_deal
      Added value: +{}
    • addedOutput schema / properties / today_views
      Added value: +{}
  2. First observedv1.5.1

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive/open-world, so the description's job is to add nuance, and it does: JSON-LD-first with DOM fallback, price_rub=None rather than 0 when absent or non-RUB, address/coords only for companies, and availability derived from service signals only. Error codes and the full field list are deferred to guide://avito/avito_card, which is the one remaining gap.

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?

Front-loaded with the core purpose and mechanism, and every clause carries information. The middle section is a dense run-on of semicolon-joined field-provenance facts, which is efficient but slightly hard to parse on first read.

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

Completeness5/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 enumerated, and the description instead covers what the schema cannot: source priority, null semantics, and conditional field availability. Unbounded detail (full field list, error codes) is pointed at a specific guide resource rather than omitted.

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 coverage is 100%, so the baseline is 3; the description earns above that by specifying the accepted URL path forms and the /{id} fallback for bare ids, which is not in the schema's one-line parameter text. It also flags the return-field semantics of price_rub, though that is a return value rather than an input.

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?

States a specific verb and resource ('Read an Avito item') plus the extraction strategy (Product JSON-LD first, item-view DOM fallback), which lets an agent distinguish it from avito_search or avito_seller without opening any schema. The required item-page path shape further confirms this is a single-item detail tool.

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 description gives input-shape guidance ('full avito.ru URLs need an item-page path... bare ids and slug paths use /{id}') but never says when to choose this tool over avito_search/avito_seller or what prerequisites exist. Usage is implied by the name and URL requirement rather than stated.

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