Skip to main content
Glama

⚠️ BBIP: buy promotion

promotion_create_bbip_order_for_items_v1
Destructive

Creates a paid BBIP order to enable promotion for up to 100 listings, charging the account balance. Use per-listing parameters from budget suggestions: itemId, duration, oldPrice, price.

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. Keys are stored as bounded SHA-256 fingerprints.
Behavior4/5

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

Annotations indicate destructiveHint:true and readOnlyHint:false. Description adds important context: it is a paid action that charges money, returns orderId (UUID), errors on insufficient funds (402), and rejects whole order if any listing fails. This is good transparency, though annotations already convey destructive nature.

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?

Description is fairly long but each sentence is meaningful. Starts with a warning for the paid action, then explains the prerequisite workflow and error conditions. Could be slightly more concise, but overall well-structured and front-loaded with critical information.

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 complexity of a paid promotion tool, the description covers all essential aspects: prerequisite tools, parameter derivation, error handling, budget charging, and follow-up status check. No output schema, but return value (orderId UUID) is mentioned. Complete enough for correct usage.

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

Parameters3/5

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

Schema coverage is 100% with detailed descriptions for all parameters (items, dryRun, idempotencyKey). The description reinforces how to get item values from suggests and explains units (kopecks/day, days). As baseline for high coverage is 3, this is appropriate; description adds workflow context but not much new beyond schema.

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 creates a BBIP order to enable promotion and charges the budget. It distinguishes from sibling tools by referencing the prerequisite estimation tools (promotion_get_bbip_suggests_by_items_v1, promotion_get_bbip_forecasts_by_items_v1) and the follow-up status check (promotion_get_order_status_v1). Title '⚠️ BBIP: buy promotion' adds context.

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 workflow: first estimate cost using two prerequisite tools, then for each listing pass an option from suggests. States that order is created only if no errors and insufficient funds yield 402. Recommends checking order status via promotion_get_order_status_v1. This is strong guidance 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