Skip to main content
Glama

Prozorro Search Tenders

prozorro_search_tenders
Read-onlyIdempotent

Full-text search over ALL Ukraine ProZorro tenders back to 2015 (keyless). Searches ProZorro's own analyzed index, so Ukrainian queries stem correctly ("школа" also matches "школи", "шкільний"), pass Ukrainian keywords for best recall. Filter by buyer EDRPOU, by SUPPLIER/bidder EDRPOU (tenderer, this is the one for supplier due diligence: every tender a company has bid on or won), CPV code, status, value range, and date. date_from/date_to ALONE (no query/tenderer/buyer/cpv) is also valid and is the only live way to BROWSE historical ProZorro tenders by date, e.g. "what did ProZorro buy in March 2015", verified live: a bare 10-day 2015 window returns a correctly-dated, narrow result set, not the unfiltered corpus. Returns tenderID, title, value, buyer name + EDRPOU + region, status, and an id field (internal 32-hex id) that is NULL unless resolve_ids is passed, the search index itself never carries it (verified live); prozorro_get_tender with just the tenderID now attempts the same resolution automatically, so you usually don't need resolve_ids here. For an OLD tenderID found this way whose full award/contract detail prozorro_get_tender can't resolve (outside the recently-modified window), use prozorro_historical_release instead.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "query": "комп'ютер"
    },
    "name": "prozorro_search_tenders"
  }
}

Input Schema

NameRequiredDescriptionDefault
cpvNoExact CPV classification code, e.g. "09111100-1".
pageNoPage number, 1-500. Fixed 20 results per page.
buyerNoBuyer/procuring-entity EDRPOU code (8 digits).
orderNo"desc" (default) or "asc".
queryNoFree-text query, Ukrainian recommended (e.g. "вугілля", "школа"). Optional if you pass a filter such as tenderer, buyer, or a date range.
statusNoTender status: complete, active.tendering, cancelled, unsuccessful, ...
date_toNoEnd date YYYY-MM-DD. Same rules as date_from.
sort_byNo"dateCreated" (default) or "value.amount".
tendererNoSupplier/bidder EDRPOU code (8 digits, e.g. "00131305"), returns every tender this company bid on or won. The primary supplier due-diligence filter.
date_fromNoStart date YYYY-MM-DD. Valid ALONE (no other filter) to browse a historical window, e.g. date_from:"2015-03-01", date_to:"2015-03-10". Combined with a keyword/tenderer/buyer query, note it filters on tender PERIOD (or dateSigned for a tenderer query) and so drops any matching record with no tender period.
resolve_idsNoBest-effort: try to fill in each result's `id` (the internal 32-hex id prozorro_get_tender needs for full detail) by scanning the most-recently-modified few thousand ProZorro records. Only finds tenders that were THEMSELVES modified recently, an old, untouched tender will still come back with id:null. Default false.

Output Schema

NameRequiredDescriptionDefault
pageNo
notesNo
queryNo
staleNo
totalNo
sourceNo
filtersNo
tendersNo
per_pageNo
returnedNo
served_fromNo
cache_age_secNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "cache_age_sec": {
      +      "type": "number"
      +    },
      +    "filters": {
      +      "properties": {
      +        "buyer": {
      +          "description": "Null in every sampled response; type not observed, so left unconstrained."
      +        },
      +        "cpv": {
      +          "description": "Null in every sampled response; type not observed, so left unconstrained."
      +        },
      +        "status": {
      +          "type": [
      +            "null",
      +            "string"
      +          ]
      +        },
      +        "tenderer": {
      +          "type": [
      +            "null",
      +            "string"
      +          ]
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "notes": {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "page": {
      +      "type": "number"
      +    },
      +    "per_page": {
      +      "type": "number"
      +    },
      +    "query": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "returned": {
      +      "type": "number"
      +    },
      +    "served_from": {
      +      "type": "string"
      +    },
      +    "source": {
      +      "type": "string"
      +    },
      +    "stale": {
      +      "type": "boolean"
      +    },
      +    "tenders": {
      +      "items": {
      +        "properties": {
      +          "buyer": {
      +            "type": "string"
      +          },
      +          "buyer_edrpou": {
      +            "description": "Null in every sampled response; type not observed, so left unconstrained."
      +          },
      +          "id": {
      +            "description": "Null in every sampled response; type not observed, so left unconstrained."
      +          },
      +          "interpretation": {
      +            "type": "string"
      +          },
      +          "region": {
      +            "description": "Null in every sampled response; type not observed, so left unconstrained."
      +          },
      +          "status": {
      +            "type": "string"
      +          },
      +          "tenderID": {
      +            "type": "string"
      +          },
      +          "tender_period": {
      +            "properties": {
      +              "endDate": {
      +                "type": "string"
      +              }
      +            },
      +            "type": [
      +              "null",
      +              "object"
      +            ]
      +          },
      +          "tender_value": {
      +            "properties": {
      +              "amount": {
      +                "type": "number"
      +              },
      +              "currency": {
      +                "type": "string"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "title": {
      +            "type": "string"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "total": {
      +      "type": "number"
      +    }
      +  },
      +  "type": "object"
      +}
  2. Changed4 schema fields changed
    • changedInput schema / properties / date_from / description
      Previous value: -"Start date YYYY-MM-DD. Valid ALONE (no other filter) to browse a historical window — e.g. date_from:\"2015-03-01\", date_to:\"2015-03-10\". Combined with a keyword/tenderer/buyer query, note it filters on tender PERIOD (or dateSigned for a tenderer query) and so drops any matching record with no tender period."New value: +"Start date YYYY-MM-DD. Valid ALONE (no other filter) to browse a historical window, e.g. date_from:\"2015-03-01\", date_to:\"2015-03-10\". Combined with a keyword/tenderer/buyer query, note it filters on tender PERIOD (or dateSigned for a tenderer query) and so drops any matching record with no tender period."
    • changedInput schema / properties / resolve_ids / description
      Previous value: -"Best-effort: try to fill in each result's `id` (the internal 32-hex id prozorro_get_tender needs for full detail) by scanning the most-recently-modified few thousand ProZorro records. Only finds tenders that were THEMSELVES modified recently — an old, untouched tender will still come back with id:null. Default false."New value: +"Best-effort: try to fill in each result's `id` (the internal 32-hex id prozorro_get_tender needs for full detail) by scanning the most-recently-modified few thousand ProZorro records. Only finds tenders that were THEMSELVES modified recently, an old, untouched tender will still come back with id:null. Default false."
    • changedInput schema / properties / status / description
      Previous value: -"Tender status: complete, active.tendering, cancelled, unsuccessful, …"New value: +"Tender status: complete, active.tendering, cancelled, unsuccessful, ..."
    • changedInput schema / properties / tenderer / description
      Previous value: -"Supplier/bidder EDRPOU code (8 digits, e.g. \"00131305\") — returns every tender this company bid on or won. The primary supplier due-diligence filter."New value: +"Supplier/bidder EDRPOU code (8 digits, e.g. \"00131305\"), returns every tender this company bid on or won. The primary supplier due-diligence filter."
  3. Changed5 schema fields changed
    • changedInput schema / examples
      Previous value: -[
      -  {
      -    "query": "комп'ютер"
      -  },
      -  {
      -    "query": "вугілля",
      -    "status": "complete"
      -  },
      -  {
      -    "tenderer": "00131305"
      -  }
      -]New value: +[
      +  {
      +    "query": "комп'ютер"
      +  },
      +  {
      +    "query": "вугілля",
      +    "status": "complete"
      +  },
      +  {
      +    "tenderer": "00131305"
      +  },
      +  {
      +    "date_from": "2015-03-01",
      +    "date_to": "2015-03-10"
      +  }
      +]
    • changedInput schema / properties / date_from / description
      Previous value: -"Start date YYYY-MM-DD. NOTE: date filtering DROPS records that have no tender period — leave both dates off unless you need them."New value: +"Start date YYYY-MM-DD. Valid ALONE (no other filter) to browse a historical window — e.g. date_from:\"2015-03-01\", date_to:\"2015-03-10\". Combined with a keyword/tenderer/buyer query, note it filters on tender PERIOD (or dateSigned for a tenderer query) and so drops any matching record with no tender period."
    • changedInput schema / properties / date_to / description
      Previous value: -"End date YYYY-MM-DD. Same caveat as date_from."New value: +"End date YYYY-MM-DD. Same rules as date_from."
    • changedInput schema / properties / query / description
      Previous value: -"Free-text query, Ukrainian recommended (e.g. \"вугілля\", \"школа\"). Optional if you pass a filter such as tenderer or buyer."New value: +"Free-text query, Ukrainian recommended (e.g. \"вугілля\", \"школа\"). Optional if you pass a filter such as tenderer, buyer, or a date range."
    • addedInput schema / properties / resolve_ids
      Added value: +{
      +  "description": "Best-effort: try to fill in each result's `id` (the internal 32-hex id prozorro_get_tender needs for full detail) by scanning the most-recently-modified few thousand ProZorro records. Only finds tenders that were THEMSELVES modified recently — an old, untouched tender will still come back with id:null. Default false.",
      +  "type": "boolean"
      +}
  4. Changed13 schema fields changed
    • changedInput schema / examples
      Previous value: -[
      -  {
      -    "query": "комп'ютер"
      -  },
      -  {
      -    "query": "школа",
      -    "scan": 150
      -  }
      -]New value: +[
      +  {
      +    "query": "комп'ютер"
      +  },
      +  {
      +    "query": "вугілля",
      +    "status": "complete"
      +  },
      +  {
      +    "tenderer": "00131305"
      +  }
      +]
    • addedInput schema / properties / buyer
      Added value: +{
      +  "description": "Buyer/procuring-entity EDRPOU code (8 digits).",
      +  "type": "string"
      +}
    • addedInput schema / properties / cpv
      Added value: +{
      +  "description": "Exact CPV classification code, e.g. \"09111100-1\".",
      +  "type": "string"
      +}
    • addedInput schema / properties / date_from
      Added value: +{
      +  "description": "Start date YYYY-MM-DD. NOTE: date filtering DROPS records that have no tender period — leave both dates off unless you need them.",
      +  "type": "string"
      +}
    • addedInput schema / properties / date_to
      Added value: +{
      +  "description": "End date YYYY-MM-DD. Same caveat as date_from.",
      +  "type": "string"
      +}
    • addedInput schema / properties / order
      Added value: +{
      +  "description": "\"desc\" (default) or \"asc\".",
      +  "type": "string"
      +}
    • addedInput schema / properties / page
      Added value: +{
      +  "description": "Page number, 1-500. Fixed 20 results per page.",
      +  "type": [
      +    "number",
      +    "string"
      +  ]
      +}
    • changedInput schema / properties / query / description
      Previous value: -"Keyword(s) to match against title/buyer/tenderID. Ukrainian recommended (e.g. \"комп'ютер\", \"школа\"). Matches by substring."New value: +"Free-text query, Ukrainian recommended (e.g. \"вугілля\", \"школа\"). Optional if you pass a filter such as tenderer or buyer."
    • removedInput schema / properties / scan
      Removed value: -{
      -  "description": "How many recent tenders to scan (1-200). Default 100. Higher = deeper but slower.",
      -  "type": [
      -    "number",
      -    "string"
      -  ]
      -}
    • addedInput schema / properties / sort_by
      Added value: +{
      +  "description": "\"dateCreated\" (default) or \"value.amount\".",
      +  "type": "string"
      +}
    • addedInput schema / properties / status
      Added value: +{
      +  "description": "Tender status: complete, active.tendering, cancelled, unsuccessful, …",
      +  "type": "string"
      +}
    • addedInput schema / properties / tenderer
      Added value: +{
      +  "description": "Supplier/bidder EDRPOU code (8 digits, e.g. \"00131305\") — returns every tender this company bid on or won. The primary supplier due-diligence filter.",
      +  "type": "string"
      +}
    • removedInput schema / required
      Removed value: -[
      -  "query"
      -]
  5. Changed1 schema field changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "query": "комп'ютер"
      +  },
      +  {
      +    "query": "школа",
      +    "scan": 150
      +  }
      +]
  6. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the readOnly/idempotent/openWorld annotations, it discloses that the service is keyless, that the index is Ukrainian-stemmed, that the `id` field is NULL unless resolve_ids is passed, and that resolve_ids is a best-effort scan of recently-modified records. It even flags a non-obvious filtering hazard: a date range combined with a keyword drops matching records that lack a tender period.

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?

Front-loaded with the core capability and the key recall advice, and nearly every sentence carries decision-relevant information. It is dense and long with heavy parentheticals, and some of the resolve_ids/date_from material duplicates the schema, costing a point.

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?

An 11-parameter, all-optional search tool with an output schema and full schema coverage — the description covers auth model, index behavior, filtering edge cases, and cross-tool routing. Nothing an agent needs to call it correctly is missing.

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 description coverage is 100%, so the schema already documents all 11 parameters, including the tenderer/buyer EDRPOU distinction and the date_from-alone behavior. The description largely restates that same guidance (resolve_ids caveat, date period semantics) rather than adding syntax or constraints the schema lacks, so the baseline of 3 applies.

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?

States a specific verb and resource ("Full-text search over ALL Ukraine ProZorro tenders back to 2015") and immediately scopes it as the complete historical index rather than a recent-items feed. It explicitly names siblings prozorro_get_tender and prozorro_historical_release and the conditions that route to them, so an agent can distinguish it without opening another schema.

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?

Gives concrete when-to-use guidance: pass Ukrainian keywords for stemming recall, use `tenderer` for supplier due diligence, and use date_from/date_to alone to browse historical windows. It also gives explicit when-not/alternatives — prozorro_get_tender for full detail, prozorro_historical_release for old tenderIDs outside the recently-modified window.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.