Skip to main content
Glama

Call statistics

items_post_calls_stats
Read-onlyIdempotent

Retrieve daily aggregated call statistics (total, new, answered) for your listings over a specified date range. For all or selected listings.

Instructions

Returns aggregated CALL statistics for listings over a period (post_calls_stats) — total/new/answered/new answered, broken down by day. Read-only analytics, changes nothing and spends nothing. The period is set by dateFrom..dateTo (YYYY-MM-DD). Without itemIds — across all of the user's listings. For views/contacts, use items_post_item_stats_shallow.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dateToYesEnd of the period, inclusive (YYYY-MM-DD).
itemIdsNoList of listing IDs to filter by. Without it — statistics across all of the user's listings.
user_idNoID of the owner user. Defaults to Profile_id from .env.
dateFromYesStart of the period, inclusive (YYYY-MM-DD).
Behavior5/5

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

Annotations already indicate readOnly, idempotent, non-destructive. Description reinforces 'Read-only analytics, changes nothing and spends nothing', adding clarity 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?

Three sentences: first states purpose and breakdown, second confirms safety, third covers parameters and alternative. No wasted words, front-loaded.

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?

Despite no output schema, description clarifies output is aggregated call stats by day. Somewhat vague on exact response fields, but sufficient given annotations and simplicity.

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 covers all parameters (100% coverage). Description adds context on how date range defines period and that user_id defaults from .env, improving understanding 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?

Description explicitly states the tool returns aggregated call statistics (total/new/answered/new answered) broken down by day, distinguishing it from items_post_item_stats_shallow for views/contacts.

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?

Provides clear when-to-use guidance, including default behavior without itemIds and an explicit alternative for views/contacts. Lacks explicit when-not-to-use, but sufficient.

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