Skip to main content
Glama

⚠️ BBIP: buy promotion

promotion_create_bbip_order_for_items_v1
Destructive

Creates a paid promotion order for up to 100 listings, charging the budget from your account balance. Requires prior cost estimates from suggestion and forecast tools.

Instructions

⚠️ PAID ACTION (money): creates a BBIP order to enable promotion for listings and CHARGES the budget from the account balance. The order is created only if there are no errors across all listings; if funds are insufficient — 402. FIRST estimate the cost and return for free: promotion_get_bbip_suggests_by_items_v1 (budget options) → promotion_get_bbip_forecasts_by_items_v1 (forecast). Then for each listing pass an option from suggests as {itemId, duration, oldPrice, price} (oldPrice/price — kopecks/day, duration — days; full budget = price × duration). Returns orderId (UUID) — check its status via promotion_get_order_status_v1.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
itemsYes1 to 100 listings for paid promotion. Each element is {itemId, duration, oldPrice, price} from promotion_get_bbip_suggests_by_items_v1. The whole order is rejected if any listing has an error.
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?

Annotations already mark it as non-read-only, destructive, but the description adds critical details: 'PAID ACTION (money)','CHARGES the budget', 'if funds are insufficient — 402', atomicity (order rejected if any listing error), and dry-run mode for safe preview. 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.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Concise yet highly informative. Uses warnings (⚠️), orders steps logically, and front-loads critical information (paid action, failure conditions). Every sentence earns its place with no redundancy.

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 prerequisites, estimation flow, parameter sources, error scenarios (402, atomic rejection), dry-run for safety, idempotency, and post-creation status check (returns orderId, references promotion_get_order_status_v1). Despite no output schema, the description provides sufficient context for correct invocation.

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 has 100% coverage, so baseline is 3. Description adds value by explaining the source of item fields (from promotion_get_bbip_suggests_by_items_v1), the atomicity of the items array (rejected if any error), and the purpose of dryRun and idempotencyKey parameters beyond their schema descriptions.

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?

Clearly states 'creates a BBIP order to enable promotion for listings and CHARGES the budget from the account balance', specifying the verb and resource. Distinguishes from siblings by referencing prerequisite estimation tools (promotion_get_bbip_suggests_by_items_v1, promotion_get_bbip_forecasts_by_items_v1) and the status check tool (promotion_get_order_status_v1).

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 flow: 'FIRST estimate the cost... then for each listing pass an option from suggests'. Warns about error conditions (all listings must succeed, insufficient funds → 402). Clearly states when not to use (must estimate first) and points to alternatives.

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