Skip to main content
Glama

Przetargowy Janusz — Polish public tenders

Szukaj przetargów

search_tenders
Read-onlyIdempotent

Search active Polish public tenders (przetargi) by keywords — the same search as the tender list in Przetargowy Janusz: a tender matches when it contains every word of the query, in any inflection, in its title or contracting authority (the whole query also in CPV and description); words like 'dla' or 'oraz' are skipped. After those come open tenders close in meaning to the query that use other words (e.g. 'ambulans' → 'środki transportu sanitarnego'). Query: 1–3 Polish keywords naming the subject of the tender, e.g. 'catering', 'wywóz odpadów', 'remont dachu' — not sentences, lists of services or a description of the company: every extra word removes tenders. Narrow with the filters instead: CPV codes with all their sub-codes (take them from cpv_search), voivodeships, works / supplies / services, type of contracting authority, notice type (tenders, market research, corrections), submission-deadline and publication-date ranges, bid deposit, estimated value; sort by relevance, deadline, value or publication date. Tenders the company already has in 'Moje przetargi' are found too. For the tenders that fit the user's company use list_matched_tenders — it is built from the company's matching profile (set once in the app or with set_matching_profile). Returns up to 10 pages of 25 tender cards, each with a public URL. Tenders without an AI summary yet are included: their card has has_summary=false and no teaser, get_tender returns their notice data, and a signed-in user on a trial or paid plan can order the summary in Przetargowy Janusz. mode is 'semantic' when tenders close in meaning were added, 'lexical' when only words searched; hint says how to search again when nothing or too much matches. When the search engine is temporarily unavailable, a simpler search answers and unapplied_filters lists the filters it could not apply. Requires OAuth authentication and a trial or paid plan.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "query": "<query>"
    },
    "name": "search_tenders"
  }
}

Input Schema

NameRequiredDescriptionDefault
cpvNoRestrict to tenders whose CPV includes this code, with or without the check digit: '79952000' or '79952000-2'
dirNo
kindNoworks (roboty), supplies (dostawy), services (uslugi)
pageNo
sortNoDefault: relevance
queryYesNatural-language query in Polish — the tenders are in Polish, e.g. 'budowa hali sportowej z basenem'
regionNoVoivodeship (województwo): slug or name from list_facets, e.g. 'slaskie' or 'śląskie'
depositNoWhether a bid deposit (wadium) is required
regionsNoVoivodeships (slug or name from list_facets); a tender matches any of them
cpv_codesNoCPV codes from cpv_search, each with all its sub-codes ('79952000' also finds 79952100); a tender matches any of them
max_valueNoMaximum estimated value (PLN)
min_valueNoMinimum estimated value (PLN)
buyer_typesNoType of contracting authority — codes from list_facets buyer_types, e.g. 'gminy_miasta', 'szpitale_przychodnie'
notice_typeNotenders (przetargi), market research (rozeznania rynku) or corrections (sprostowania)
deadline_afterNoYYYY-MM-DD; submission deadline on or after that day
deadline_beforeNoISO date; only tenders with submission deadline before it
published_afterNoYYYY-MM-DD; published on or after that day
published_beforeNoYYYY-MM-DD; published on or before that day

Output Schema

NameRequiredDescriptionDefault
hintNo
modeNo
pageYes
queryNo
totalYes
filterNo
tendersYes
has_moreYes
per_pageYes
unapplied_filtersNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed13 schema fields changed
    • addedInput schema / properties / buyer_types
      Added value: +{
      +  "description": "Type of contracting authority — codes from list_facets buyer_types, e.g. 'gminy_miasta', 'szpitale_przychodnie'",
      +  "items": {
      +    "enum": [
      +      "gminy_miasta",
      +      "szkoly_przedszkola",
      +      "firmy_prywatne",
      +      "wojsko_policja_straze",
      +      "powiaty_wojewodztwa",
      +      "sady_prokuratura",
      +      "szpitale_przychodnie",
      +      "pomoc_spoleczna",
      +      "lasy_srodowisko",
      +      "spolki_komunalne",
      +      "kultura_sport",
      +      "uczelnie_instytuty",
      +      "drogi_transport",
      +      "nierozpoznane"
      +    ],
      +    "type": "string"
      +  },
      +  "maxItems": 14,
      +  "type": "array"
      +}
    • addedInput schema / properties / cpv_codes
      Added value: +{
      +  "description": "CPV codes from cpv_search, each with all its sub-codes ('79952000' also finds 79952100); a tender matches any of them",
      +  "items": {
      +    "pattern": "^\\d{8}(-\\d)?$",
      +    "type": "string"
      +  },
      +  "maxItems": 20,
      +  "type": "array"
      +}
    • addedInput schema / properties / deadline_after
      Added value: +{
      +  "description": "YYYY-MM-DD; submission deadline on or after that day",
      +  "type": "string"
      +}
    • addedInput schema / properties / deposit
      Added value: +{
      +  "description": "Whether a bid deposit (wadium) is required",
      +  "enum": [
      +    "required",
      +    "none"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / dir
      Added value: +{
      +  "enum": [
      +    "asc",
      +    "desc"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / kind
      Added value: +{
      +  "description": "works (roboty), supplies (dostawy), services (uslugi)",
      +  "items": {
      +    "enum": [
      +      "roboty",
      +      "dostawy",
      +      "uslugi"
      +    ],
      +    "type": "string"
      +  },
      +  "maxItems": 3,
      +  "type": "array"
      +}
    • addedInput schema / properties / notice_type
      Added value: +{
      +  "description": "tenders (przetargi), market research (rozeznania rynku) or corrections (sprostowania)",
      +  "enum": [
      +    "tenders",
      +    "market_research",
      +    "corrections"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / published_after
      Added value: +{
      +  "description": "YYYY-MM-DD; published on or after that day",
      +  "type": "string"
      +}
    • addedInput schema / properties / published_before
      Added value: +{
      +  "description": "YYYY-MM-DD; published on or before that day",
      +  "type": "string"
      +}
    • changedInput schema / properties / query / description
      Previous value: -"Natural-language query, e.g. 'budowa hali sportowej z basenem'"New value: +"Natural-language query in Polish — the tenders are in Polish, e.g. 'budowa hali sportowej z basenem'"
    • addedInput schema / properties / regions
      Added value: +{
      +  "description": "Voivodeships (slug or name from list_facets); a tender matches any of them",
      +  "items": {
      +    "maxLength": 40,
      +    "minLength": 2,
      +    "type": "string"
      +  },
      +  "maxItems": 16,
      +  "type": "array"
      +}
    • addedInput schema / properties / sort
      Added value: +{
      +  "description": "Default: relevance",
      +  "enum": [
      +    "relevance",
      +    "deadline",
      +    "value",
      +    "published_at"
      +  ],
      +  "type": "string"
      +}
    • addedOutput schema / properties / hint
      Added value: +{
      +  "type": "string"
      +}
  2. Changed1 schema field changed
    • changedInput schema / properties / page / maximum
      Previous value: -200New value: +10
  3. Changed2 schema fields changed
    • changedInput schema / properties / cpv / description
      Previous value: -"Restrict to tenders whose CPV includes this code"New value: +"Restrict to tenders whose CPV includes this code, with or without the check digit: '79952000' or '79952000-2'"
    • changedInput schema / properties / cpv / pattern
      Previous value: -"^\\d{8}-\\d$"New value: +"^\\d{8}(-\\d)?$"
  4. Changed2 schema fields changed
    • addedOutput schema / properties / tenders / items / properties / submission_deadline_pl
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
    • changedOutput schema / properties / tenders / items / required
      Previous value: -[
      -  "slug",
      -  "url",
      -  "title",
      -  "buyer",
      -  "buyer_city",
      -  "region",
      -  "cpv",
      -  "estimated_value",
      -  "currency",
      -  "submission_deadline",
      -  "published_at",
      -  "teaser"
      -]New value: +[
      +  "slug",
      +  "url",
      +  "title",
      +  "buyer",
      +  "buyer_city",
      +  "region",
      +  "cpv",
      +  "estimated_value",
      +  "currency",
      +  "submission_deadline",
      +  "submission_deadline_pl",
      +  "published_at",
      +  "teaser"
      +]
  5. Changed3 schema fields changed
    • addedInput schema / properties / region
      Added value: +{
      +  "description": "Voivodeship (województwo): slug or name from list_facets, e.g. 'slaskie' or 'śląskie'",
      +  "maxLength": 40,
      +  "minLength": 2,
      +  "type": "string"
      +}
    • addedOutput schema / properties / tenders / items / properties / has_summary
      Added value: +{
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / unapplied_filters
      Added value: +{
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
  6. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, non-destructive traits, yet the description adds substantial behavior: the semantic fallback and mode/hint fields, the degraded search with unapplied_filters, has_summary=false cards, the 10-page/25-card pagination cap, and OAuth plus trial/paid plan requirements. The matching semantics are described carefully enough that an agent can predict result loss from extra query words.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the purpose, which is good, but the text becomes a dense wall of em-dash clauses, and some material (summary ordering, trial plan, has_summary behavior) is lengthy relative to what an agent needs to invoke the tool. Structure is serviceable but not tight.

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?

Complete for an 18-parameter search with an output schema: it covers query construction, filter families, semantic fallback, degraded mode, auth and plan requirements, and pagination. 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.

Parameters4/5

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

Schema coverage is 89% (baseline 3), but the description genuinely adds value: it explains what a good query looks like (1–3 Polish subject keywords, not sentences), that every extra word removes tenders, and it maps the filter families (CPV with sub-codes, voivodeships, kind, buyer type, notice type, deposit, date ranges, value). It doesn't clarify sort direction or the `region` vs `regions` distinction.

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 (search Polish public tenders) with the exact matching model — all words, any inflection, in title or contracting authority, with the whole query also in CPV and description. It clearly distinguishes itself from search_archived_tenders, list_tenders and list_matched_tenders, the latter of which it names explicitly.

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 explicit when-to-use guidance: 'For the tenders that fit the user's company use list_matched_tenders', 'take CPV codes from cpv_search', and 'Narrow with the filters instead' of extra words. It also states a when-not rule — extra query words remove results — which is a real selection constraint.

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.

Resources