Skip to main content
Glama

Profile spendings

items_post_account_spendings
Read-onlyIdempotent

Retrieve a spending report for your Avito account by category (all, promotion, presence, commission, rest) over a date range, grouped by day, week, or month. Read-only, shows already incurred costs.

Instructions

Returns a REPORT of the profile's spendings over a period by Avito spending category: all, promotion, presence, commission, or rest. Read-only, spends no money (only shows already incurred spending). Period dateFrom..dateTo (YYYY-MM-DD). Note: grouping here is a STRING "day"|"week"|"month" (NOT an object, unlike items_post_item_analytics). Data depth no more than 270 days, no more than 1 request per minute. Required: dateFrom, dateTo, spendingTypes, grouping.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dateToYesEnd of the period, inclusive (YYYY-MM-DD).
filterNoOptional selection filters: categoryIDs — category IDs, itemIDs — listing IDs, locationIDs — location IDs. employeeIDs is NOT supported here. Without the filter — spendings of the entire profile.
user_idNoID of the owner user. Defaults to Profile_id from .env.
dateFromYesStart of the period, inclusive (YYYY-MM-DD); no more than 270 days back.
groupingYesGroup spendings by period — a string (required): day (by day), week (by week), month (by month).
spendingTypesYesSpending categories from the Avito contract (at least 1): all, promotion, presence, commission, rest.
Behavior4/5

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

Description adds beyond annotations: specifies data depth limit, rate limit, and that grouping is a string format. Annotations already cover safety (readOnlyHint=true, destructiveHint=false), so description's additional constraints are useful but not critical.

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 concise, front-loaded with main purpose, and packs relevant details efficiently. Could be better structured with bullet points but remains dense and informative.

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

Completeness3/5

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

Despite high schema coverage and annotations, the tool lacks an output schema. Description does not detail the returned report structure or fields, leaving the agent without full context on what to expect.

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% and descriptions in schema are detailed. Description reiterates required parameters and format but adds little new meaning beyond what is in 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?

Clearly states it returns a REPORT of profile's spendings over a period by Avito spending category, with specific verb and resource. Notes difference from sibling tool items_post_item_analytics regarding grouping format, aiding differentiation.

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?

Explicitly states when to use (read-only, no money spent), provides period format, data depth limit (270 days), rate limit (1 per minute), and required parameters. Also clarifies exclusions like employeeIDs not supported in filter.

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