Skip to main content
Glama

Call statistics

items_post_calls_stats
Read-onlyIdempotent

Retrieve aggregated call statistics for listings, including total, new, answered, and new answered calls, broken down by day. Specify a date range and optionally filter by listing IDs.

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
dateFromYesStart of the period, inclusive (YYYY-MM-DD).
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.
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and idempotentHint=true. The description reinforces this with 'Read-only analytics, changes nothing and spends nothing,' adding that it is cost-free and idempotent, which is consistent and slightly extends the annotation info.

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 extremely concise: 3 sentences covering purpose, read-only nature, period and filtering, and alternative tool. No filler or redundant information. Every sentence is valuable and 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?

For a read-only analytics tool with annotations providing safety guarantees, the description covers the main aspects: metrics, period, filtering, and alternatives. It lacks explicit mention of output format (no output schema), but given the simplicity and the presence of annotations, it is largely complete. Slight gap for output details.

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?

The schema has 100% description coverage for all 4 parameters. The description repeats the period format (dateFrom..dateTo YYYY-MM-DD) and itemIds behavior ('Without itemIds — across all of the user's listings'), which adds no new information beyond the schema. Baseline 3 is appropriate.

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 explicitly states it returns aggregated CALL statistics for listings over a period, listing the metrics (total/new/answered/new answered) and breakdown by day. It distinguishes itself from the sibling tool 'items_post_item_stats_shallow' for views/contacts, making its purpose clear and unique.

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 guidance on when to use this tool vs. alternatives: 'For views/contacts, use items_post_item_stats_shallow.' It also clarifies the behavior without itemIds (across all listings) and the period format, giving clear context for usage.

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