Skip to main content
Glama

⚠️ Apply VAS package

items_put_item_vas_package_v2
Destructive

Applies a pre-assembled VAS package to a listing. Check price via items_post_vas_prices before use. Charges balance irreversibly; response shows charged amount.

Instructions

Applies a PACKAGE of promotion services (VAS) to a listing (put_item_vas_package_v2). ⚠️ MONEY: charges money from the balance; irreversible. The response contains the charged amount. Unlike items_put_item_vas (a single service by slug) and items_apply_vas (an arbitrary set of services/stickers), this method purchases a pre-assembled package by its package_id. DEPRECATED, the recommended replacement is items_apply_vas (v2). First check the price via items_post_vas_prices and confirm with the user. An error does not guarantee the package was not purchased — check again in a few minutes.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
item_idYesID of the listing the service package is applied to.
package_idYesIdentifier of the VAS service package (available packages are in the items_post_vas_prices response).
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?

Discloses monetary impact ('charges money from the balance; irreversible'), response content, and error handling nuance ('error does not guarantee package was not purchased - check again'). No contradiction with annotations (destructiveHint=true).

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?

Concise, no fluff: defines purpose, differentiates from siblings, warns about money, mentions deprecation, gives prerequisites, and error behavior. Front-loaded with main action. Every sentence earns its place.

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?

Covers why/when, prerequisites (check price), behavioral caveats (irreversible, error handling), and response content (charged amount). No output schema, but description adequately explains return value. Complete for a 5-param tool with rich annotations.

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 covers all 5 parameters (100% coverage). Description adds context: package_id source, dryRun preview, idempotencyKey duplicate protection. While schema is thorough, description enriches with usage-specific hints.

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?

Description clearly states 'Applies a PACKAGE of promotion services (VAS) to a listing' and distinguishes from siblings (put_item_vas for single service, apply_vas for arbitrary set). It also notes deprecation and replacement.

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?

Explicitly says when to use (pre-assembled package by package_id), when not (compared to alternatives), and prerequisite steps (check price via items_post_vas_prices, confirm with user). Also warns about deprecation and recommends alternative.

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