Skip to main content
Glama
VladyslavMykhailyshyn

Prozorro.Sale MCP Server

Aggregate statistics over a period

analyze_auction_market
Read-onlyIdempotent

Aggregate auction activity over a time window to compute counts, price stats, and sold share, grouped by region, seller, or direction. Identify volume and success trends for market analysis.

Instructions

Counts, price statistics and sold-share over a window of auction activity, broken down by a dimension of your choice.

WHEN TO USE: questions about volume and trends rather than individual lots — "how much land was auctioned last week", "which regions are most active", "what share of timber lots actually sell", "who are the biggest sellers".

KEY PARAMETERS

  • group_by: the breakdown dimension. "direction" (asset programme, default), "sellingMethod", "status", "region" or "seller".

  • since / until: the period to analyse. Omit both to analyse the most recent activity.

  • procedure_type / status / region / keyword: narrow the population before aggregating.

  • scan_pages: default 15. Raise for a larger, more representative sample.

EXAMPLE — which regions had the most land activity recently: {"procedure_type":["landRental","landSell"],"group_by":"region","scan_pages":25}

EXAMPLE — how privatisation performed in July 2026: {"procedure_type":["smallPrivatization"],"since":"2026-07-01","until":"2026-07-31", "group_by":"sellingMethod","scan_pages":30}

RETURNS: totals with count/total/mean/median/min/max starting prices, a status histogram, soldSharePercentOfSettled (settled = complete, unsuccessful or cancelled only), and the same figures per group. CRITICAL: these describe only auctions CHANGED inside the scanned window, not the whole catalogue. Always report the window and coverage alongside any number.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sinceNoStart of the window to analyse, ISO date or instant. Defaults to 7 days ago.
untilNoEnd of the window, ISO date or instant. Defaults to now.
regionNoSubstring of the oblast or settlement name.
statusNoRestrict to these procedure statuses.
keywordNoFree-text filter applied before aggregating.
group_byNoDimension for the breakdown table. "seller" groups by the body running the auction, "propertyOwner" by the organisation the asset belongs to (lease programmes only). Default "direction".
scan_pagesNoFeed pages (100 auctions each) to aggregate over. Higher gives a more representative sample. Default 15.
procedure_typeNoRestrict to an asset programme or exact selling method, e.g. ["landRental"].
Behavior5/5

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

Annotations already declare readOnlyHint and idempotentHint, but the description adds crucial behavioral context: results cover only auctions changed in the scanned window, not the whole catalogue, and instructs to 'Always report the window and coverage alongside any number.' This exceeds the baseline safety hints and prevents misuse.

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 longer than average but every section earns its place: when-to-use, key parameters, examples, returns, and a critical caveat. Clear formatting with headers and bullet-like structures makes it scannable without redundant filler.

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?

With 8 parameters and no output schema, the description thoroughly covers return structure (totals, status histogram, soldSharePercentOfSettled) and the critical sampling caveat. It provides enough information for an agent to correctly select, invoke, and interpret results, leaving no major gaps.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema covers 100% of parameters, but the description adds substantial meaning: explains 'since / until' omission behavior, 'scan_pages' default and sampling trade-off, and clarifies group_by semantics with examples. This goes far beyond the schema's field descriptions.

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: 'Counts, price statistics and sold-share over a window of auction activity, broken down by a dimension of your choice.' It clearly distinguishes from siblings by emphasizing 'volume and trends rather than individual lots', with concrete example questions like 'how much land was auctioned last week'.

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?

An explicit 'WHEN TO USE' section lists question types, and the description implies not to use it for single-lot queries (which siblings like get_auction handle). Two example JSON payloads demonstrate realistic invocations, providing clear guidance on when this tool is appropriate.

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/VladyslavMykhailyshyn/prozorro-sale-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server