Skip to main content
Glama

Change ad group budget

change_group_budget
Idempotent

Set an ad group's budget to a specified amount in rubles, replacing the current value. Works only for manual bid management groups.

Instructions

Sets one ad group's budget to the given amount in rubles (at least 1). The value replaces the current budget rather than adding to it, so repeating the call is safe. Only groups on manual bid management accept it; the API rejects the rest. Returns the API's acknowledgement plus apiPointBalance. It cannot change the campaign budget, the bid (use change_group_price), or the group's status — this API cannot pause, resume or delete a group at all. Read the current budget with list_groups first.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
budgetYesNew budget in rubles, at least 1. Replaces the current value.
groupIdYesId of the ad group to change, from list_groups.
Behavior5/5

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

Beyond the idempotentHint annotation, the description explains that the budget value replaces the current budget rather than adding to it, making repeat calls safe. It also discloses that the API rejects non-manual groups, returns acknowledgement plus apiPointBalance, and cannot pause/resume/delete a group—providing valuable 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?

The description is well-structured and front-loaded with the primary action. Each sentence adds necessary information—purpose, replacement behavior, constraints, limitations, and prerequisites—without redundancy or excessive length.

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 moderate complexity, the description fully covers return values (acknowledgement plus apiPointBalance), prerequisites (read list_groups first), and edge cases (manual bid only). With no output schema, this return value disclosure is essential and provided. The description is complete for agent decision-making.

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 descriptions for both parameters, so the baseline is 3. The description adds extra meaning by specifying the groupId comes from list_groups, reinforcing the budget unit (rubles) and minimum, and noting the manual bid constraint. This goes beyond the schema, justifying a 4.

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 sets one ad group's budget to a given amount in rubles, with a specific verb, resource, and scope. It explicitly distinguishes itself from sibling tools by stating it cannot change campaign budget, bid, or group status, and points to change_group_price for bids.

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?

The description provides explicit when-to-use guidance: only for ad groups on manual bid management, and directs users to read the current budget with list_groups first. It also clearly excludes alternative uses (campaign budget, bid, status changes) and names the alternative tool for bid changes.

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/A1-x-Tech/mcp-avito-ads'

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