Skip to main content
Glama

Listing statistics

items_post_item_stats_shallow
Read-onlyIdempotent

Get unique views, contacts, and favorites counters for up to 200 listings over a custom period, grouped by day, week, or month for performance tracking.

Instructions

Returns counters (shallow statistics) for a list of listings over a period (post_item_stats_shallow / itemStatsShallow): unique views, contacts, favorites added. Read-only analytics. Use it for metrics on specific item_ids grouped by day/week/month; for extended profile analytics with filters and sorting, use items_post_item_analytics, and for calls, use items_post_calls_stats. Limits: no more than 200 listings per request, depth no more than 270 days back.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dateToYesEnd of the period, inclusive (YYYY-MM-DD).
fieldsNoWhich metrics (counters) to return: uniqViews (unique views), uniqContacts (unique contacts), uniqFavorites (unique favorites added), calls. If unspecified, all available ones are returned.
itemIdsYesList of listing IDs to get counters for (from 1 to 200 per request).
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.
periodGroupingNoGroup counters by period: day, week (by the first day of the week), month (by the first day of the month).
Behavior5/5

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

Description declares 'Read-only analytics' which matches annotations (readOnlyHint, destructiveHint=false). Adds extra behavioral info: limits (200 listings, 270 days) beyond annotations. No contradiction.

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?

Two sentences, front-loaded with core purpose, then metrics, alternatives, and limits. No wasted words.

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 6-param tool with no output schema, the description explains purpose, usage context, alternatives, and constraints. Lacks return format details, but acceptable given no output schema.

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% with detailed descriptions. Description adds grouping context (day/week/month) but mostly summarizes schema. Baseline 3 is appropriate as description adds marginal value over 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?

The description clearly states it returns counters (shallow statistics) for listings over a period, listing exact metrics (unique views, contacts, favorites). It distinguishes from siblings by naming alternatives for extended analytics (items_post_item_analytics) and calls (items_post_calls_stats).

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 this tool vs alternatives: for extended analytics or calls, point to specific other tools. Also provides limits (max 200 listings, 270 days back) to guide proper 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