Skip to main content
Glama

avito_count_ads

Read-onlyIdempotent

Count public Avito.ma listings matching specified filters without login to gauge search result volume before browsing.

Instructions

Compter les annonces publiques correspondant aux filtres, sans connexion. Utiliser isPremium:false pour compter le flux principal de avito_search_ads.

Input Schema

NameRequiredDescriptionDefault
textNo
priceNo
adTypeNo
paramsNoFiltres de catégorie : noms et valeurs issus d'Avito; aucun catalogue exhaustif n'est déduit de l'APK.
isStoreNo
hasImageNo
hasPriceNo
isUrgentNo
locationNoIdentifiants numériques Avito, notamment renvoyés par l'autocomplétion.
isHotDealNo
isPremiumNoFiltre optionnel du compteur; false compte le flux principal de avito_search_ads.
categoryIdNoID de catégorie Avito, notamment renvoyé par avito_autocomplete_search.
isImmoneufNo
isEcommerceNo
offersShippingNo
isVerifiedSellerNo
offersShippingWithinCityNo
includeNewConstructionAdsNo
extendPublishedAdsSearchIfNeededNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare the operation as read-only, idempotent, open-world, and non-destructive. The description adds that it works 'sans connexion' (without login), which is useful context, but it does not describe return format, pagination, or rate limits.

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?

Two short sentences front-load the core action and include a specific usage tip. Every sentence earns its place with no filler.

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

Completeness2/5

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

For a tool with 19 parameters, low schema coverage, nested objects, and no output schema, the description is too sparse. It covers the high-level purpose and one parameter tip but leaves most filter semantics and expected output unexplained.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 21% across 19 parameters, so the description carries a heavy burden. It only repeats the isPremium guidance already present in the schema and says 'filtres' generically, failing to compensate for the many undocumented parameters.

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?

States a specific verb ('Compter') and resource ('annonces publiques') with the scope of filters and no login needed. It also names the sibling avito_search_ads and clarifies the relationship via isPremium:false, though it does not fully distinguish all counting scenarios from search.

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?

Provides a concrete instruction for one parameter: 'Utiliser isPremium:false pour compter le flux principal de avito_search_ads.' This implies the tool is for counting rather than listing, but does not explicitly state when to use it versus avito_search_ads or other alternatives.

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