Skip to main content
Glama

Target action: prices by listing

cpa_target_get_promotions_by_item_ids
Read-onlyIdempotent

Retrieve current target-action bids and budgets for up to 200 Avito listings in one request. Bulk-check promotion settings without altering spending.

Instructions

Returns current target-action bids and budgets (in kopecks) for MULTIPLE listings at once (batch, up to 200 per request): for each listing — actionTypeID and the active manual or auto strategy with its price/limit/budget. Read-only — does not change spending. Use it to bulk-check current settings; for a single listing with full min/max/recommendations and a forecast, use cpa_target_get_bids. Limit: 400 requests/min.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
itemIDsYesList of Avito listing IDs (1 to 200 items) for which current bids and budgets are requested.
Behavior4/5

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

Description states 'Read-only — does not change spending' which aligns with annotations (readOnlyHint: true). It adds batch limit of 200 items per request, which is not in annotations. No contradictions; adds useful behavioral context beyond 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?

Two concise sentences: first explains what it does and returns, second provides usage guidance and sibling reference. No redundant or extraneous content. Efficient and well-structured.

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

Completeness4/5

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

Given the single parameter and no output schema, the description adequately covers return details (actionTypeID, strategy, price/limit/budget) and batch capability. It includes rate limit and sibling distinction. Minor omission: no mention of error handling for invalid items, but acceptable for a bulk read operation.

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 coverage is 100% with a clear description of itemIDs. The description adds the batch limit of up to 200 items, which is not in schema constraints, and clarifies it's for multiple listings. This adds meaningful context beyond the 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 returns target-action bids and budgets for multiple listings in batch, specifying verb 'returns' and resource 'bids and budgets'. It distinguishes from sibling tool cpa_target_get_bids by noting this is for bulk check vs single listing with forecast.

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?

Description explicitly says 'Use it to bulk-check current settings' and provides direct alternative: 'for a single listing with full min/max/recommendations and a forecast, use cpa_target_get_bids'. Also includes a rate limit of 400 requests/min.

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