Skip to main content
Glama

⚠️ Apply VAS

items_put_item_vas
Destructive

Apply a single promotion service to a listing. Choose from options like highlight, XL, premium, or VIP. Charges your balance and is irreversible.

Instructions

Applies ONE additional promotion service (VAS) to a listing (put_item_vas). ⚠️ MONEY: charges money from the balance; irreversible. The response contains service data and the charged amount. DEPRECATED: for one or more services, prefer items_apply_vas (v2); for a package of services, use items_put_item_vas_package_v2. First call items_post_vas_prices for the current slug and price. Confirm with the user. Note: an error does not guarantee the service was not purchased — check again in a few minutes.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
item_idYesID of the listing the service is applied to.
vas_idYesSlug of a single VAS service, e.g. "highlight", "xl", "premium", "vip" (find available ones via items_post_vas_prices).
user_idNoID of the owner user. Defaults to Profile_id from .env.
dryRunNov0.7.0: if true — returns a preview of the HTTP request without calling the Avito API. Safe for inspecting exactly what would be done. Default: the value of AVITO_MCP_DRY_RUN_DEFAULT (usually false).
idempotencyKeyNov0.7.0: optional key for duplicate protection. A repeat call with the same key within AVITO_MCP_IDEMPOTENCY_TTL_SEC returns the cached result. The same key with different args returns a conflict error — this is safe by design.
Behavior5/5

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

The description explicitly warns about charging money and irreversibility, aligning with destructiveHint=true. It also explains the response content (service data, charged amount) and idempotency key behavior. No contradiction with 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 relatively short (6 sentences) and front-loads purpose, warnings, and alternatives. It could trim redundant phrasing but is mostly efficient and well-structured.

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?

Given the tool's complexity (5 params, no output schema), the description covers all essential aspects: purpose, money impact, deprecation, alternatives, prerequisites, error handling, and parameter clarifications. The response format is briefly described. This is complete for agent execution.

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

Parameters5/5

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

With 100% schema coverage, baseline is 3. Description adds valuable context: examples for vas_id, explanation of dryRun and idempotencyKey defaults and behavior, and the prerequisite for vas_id values. This significantly surpasses the baseline.

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 clearly states the tool applies a single VAS to a listing, with explicit verb 'Applies' and resource 'listing'. It distinguishes from siblings by noting deprecation and pointing to alternatives (items_apply_vas, items_put_item_vas_package_v2).

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

Usage Guidelines5/5

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

Provides explicit usage context: use for single VAS, but prefer alternatives for multiple services. Includes prerequisite call to items_post_vas_prices, user confirmation requirement, and post-error recheck note. This guides the agent on when and how to use.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/elchin92/avito-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server