Skip to main content
Glama

Create a sandbox account

create_sandbox_account

Create a test advertiser account in the Avito Ads sandbox and receive its accountID. Use it to set up a safe environment for testing campaigns and API interactions without affecting real data.

Instructions

SANDBOX ONLY: creates a test advertiser account and returns its accountID. This server refuses the call unless AVITO_ADS_ENVIRONMENT=sandbox, and the refusal costs no API point. contact must be a non-empty object, e.g. {"name":"Ivan Ivanov","email":"ivan@example.com","phone":"+79001234567"} — an empty one is rejected before any request goes out. Calling twice creates two accounts. It cannot edit or delete an account, and the server keeps working against AVITO_ADS_ACCOUNT_ID: the new id is not adopted, put it in the config to use it.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
innYesTaxpayer number (INN) of the test company: 10 digits for a company, 12 for a sole proprietor.
kppNoTax registration reason code (KPP). Companies (legalType ul) have one; sole proprietors do not — omit it then.
ogrnYesState registration number (OGRN for a company, OGRNIP for a sole proprietor).
contactYesContact person of the account, passed to the API as-is and must not be empty, e.g. {"name":"Ivan Ivanov","email":"ivan@example.com","phone":"+79001234567"}.
longNameYesFull legal name, e.g. "Obshchestvo s ogranichennoy otvetstvennostyu Romashka".
legalTypeNoLegal form: ul = company, ip = sole proprietor.
shortNameYesShort legal name, e.g. "OOO Romashka".
legalAddressYesRegistered legal address.
actualAddressYesActual postal address; may repeat legalAddress.
Behavior5/5

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

Beyond annotations, the description reveals critical runtime behaviors: refusal is free, empty contact is rejected before any request, non-idempotency ('Calling twice creates two accounts'), and that the server continues using AVITO_ADS_ACCOUNT_ID rather than adopting the new one. These details align with the annotations (openWorld, non-idempotent) and add significant contextual depth.

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 compact and front-loaded with the most critical constraint ('SANDBOX ONLY'). Each sentence provides distinct, non-redundant information—environment, contact validation, idempotency, and post-creation configuration—without wasted words.

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 complexity (9 params, nested object, no output schema), the description covers environment prerequisites, error/failure modes (refusal, empty contact), side effects (non-idempotent), and what to do after creation (update config). It fully equips the agent to use the tool correctly and anticipate outcomes.

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%, so the baseline is 3. The description adds emphasis on the contact object with an example and clarifies that an empty object is rejected, but this mostly repeats schema details. No additional parameter semantics are provided for the other eight parameters beyond what the schema already documents.

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 states a specific action—'creates a test advertiser account'—and names the return value ('returns its accountID'). It distinguishes itself from siblings by explicitly marking it as 'SANDBOX ONLY' and clarifying it cannot edit/delete accounts, unlike other account tools.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description clearly specifies the sandbox-only condition and explains that the call is refused outside that environment, which guides when to use it. It also states what it cannot do (edit/delete) and that the new ID must be manually placed into the config, but it does not explicitly name alternative tools for those tasks.

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