Skip to main content
Glama

Przetargowy Janusz — Polish public tenders

Szczegóły przetargu

get_tender
Read-onlyIdempotent

Fetch full detail for one tender by its public slug (from search_tenders/list_tenders results): metadata, the 12-section AI SWZ summary, the OPZ scope brief, full award results (winner, value, offer price band, rejected offers, whether the cheapest offer won), the cancelled predecessor it re-issues (with that procedure's offer band — a price signal), the EU project funding it, and the bidders' Q&A. A tender without an AI summary (has_summary=false) returns its notice data with summary_sections and scope_brief null, like its public page. Returns not-found for non-public tenders. Requires OAuth authentication and a trial or paid plan.

Input Schema

NameRequiredDescriptionDefault
slugYespublic_slug from a listing result

Output Schema

NameRequiredDescriptionDefault
qaYes
cpvYes
urlYes
slugYes
titleYes
regionYes
sourceYes
resultsYes
currencyYes
authorityYes
eu_projectYes
has_summaryYes
scope_briefYes
opening_dateYes
published_atYes
estimated_valueYes
summary_sectionsYes
submission_deadlineYes
cancelled_predecessorYes
submission_deadline_plYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • removedOutput schema / properties / winners
      Removed value: -{
      -  "items": {
      -    "additionalProperties": false,
      -    "properties": {
      -      "awarded_at": {
      -        "anyOf": [
      -          {
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "company": {
      -        "anyOf": [
      -          {
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "nip": {
      -        "anyOf": [
      -          {
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "part": {
      -        "anyOf": [
      -          {
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "value": {
      -        "anyOf": [
      -          {
      -            "type": "number"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      }
      -    },
      -    "required": [
      -      "part",
      -      "company",
      -      "nip",
      -      "value",
      -      "awarded_at"
      -    ],
      -    "type": "object"
      -  },
      -  "type": "array"
      -}
  2. Changed1 schema field changed
    • addedOutput schema / properties / winners
      Added value: +{
      +  "items": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "awarded_at": {
      +        "anyOf": [
      +          {
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "company": {
      +        "anyOf": [
      +          {
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "nip": {
      +        "anyOf": [
      +          {
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "part": {
      +        "anyOf": [
      +          {
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "value": {
      +        "anyOf": [
      +          {
      +            "type": "number"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      }
      +    },
      +    "required": [
      +      "part",
      +      "company",
      +      "nip",
      +      "value",
      +      "awarded_at"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
  3. Changed2 schema fields changed
    • addedOutput schema / properties / submission_deadline_pl
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "slug",
      -  "url",
      -  "title",
      -  "source",
      -  "authority",
      -  "cpv",
      -  "region",
      -  "estimated_value",
      -  "currency",
      -  "submission_deadline",
      -  "opening_date",
      -  "published_at",
      -  "has_summary",
      -  "scope_brief",
      -  "summary_sections",
      -  "results",
      -  "cancelled_predecessor",
      -  "eu_project",
      -  "qa"
      -]New value: +[
      +  "slug",
      +  "url",
      +  "title",
      +  "source",
      +  "authority",
      +  "cpv",
      +  "region",
      +  "estimated_value",
      +  "currency",
      +  "submission_deadline",
      +  "submission_deadline_pl",
      +  "opening_date",
      +  "published_at",
      +  "has_summary",
      +  "scope_brief",
      +  "summary_sections",
      +  "results",
      +  "cancelled_predecessor",
      +  "eu_project",
      +  "qa"
      +]
  4. Changed2 schema fields changed
    • addedOutput schema / properties / has_summary
      Added value: +{
      +  "type": "boolean"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "slug",
      -  "url",
      -  "title",
      -  "source",
      -  "authority",
      -  "cpv",
      -  "region",
      -  "estimated_value",
      -  "currency",
      -  "submission_deadline",
      -  "opening_date",
      -  "published_at",
      -  "scope_brief",
      -  "summary_sections",
      -  "results",
      -  "cancelled_predecessor",
      -  "eu_project",
      -  "qa"
      -]New value: +[
      +  "slug",
      +  "url",
      +  "title",
      +  "source",
      +  "authority",
      +  "cpv",
      +  "region",
      +  "estimated_value",
      +  "currency",
      +  "submission_deadline",
      +  "opening_date",
      +  "published_at",
      +  "has_summary",
      +  "scope_brief",
      +  "summary_sections",
      +  "results",
      +  "cancelled_predecessor",
      +  "eu_project",
      +  "qa"
      +]
  5. Changed14 schema fields changed
    • addedOutput schema / properties / cancelled_predecessor
      Added value: +{
      +  "anyOf": [
      +    {
      +      "additionalProperties": false,
      +      "properties": {
      +        "currency": {
      +          "anyOf": [
      +            {
      +              "type": "string"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        },
      +        "highest_value": {
      +          "anyOf": [
      +            {
      +              "type": "number"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        },
      +        "lowest_value": {
      +          "anyOf": [
      +            {
      +              "type": "number"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        },
      +        "offers_count": {
      +          "anyOf": [
      +            {
      +              "type": "number"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        },
      +        "partially_awarded": {
      +          "type": "boolean"
      +        },
      +        "submission_deadline": {
      +          "anyOf": [
      +            {
      +              "type": "string"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        },
      +        "title": {
      +          "type": "string"
      +        },
      +        "url": {
      +          "anyOf": [
      +            {
      +              "type": "string"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        }
      +      },
      +      "required": [
      +        "title",
      +        "url",
      +        "submission_deadline",
      +        "lowest_value",
      +        "highest_value",
      +        "offers_count",
      +        "currency",
      +        "partially_awarded"
      +      ],
      +      "type": "object"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
    • addedOutput schema / properties / eu_project
      Added value: +{
      +  "anyOf": [
      +    {
      +      "additionalProperties": false,
      +      "properties": {
      +        "beneficiary_name": {
      +          "anyOf": [
      +            {
      +              "type": "string"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        },
      +        "contract_number": {
      +          "type": "string"
      +        },
      +        "ends_on": {
      +          "anyOf": [
      +            {
      +              "type": "string"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        },
      +        "eu_cofinancing_pct": {
      +          "anyOf": [
      +            {
      +              "type": "number"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        },
      +        "eu_cofinancing_pln": {
      +          "anyOf": [
      +            {
      +              "type": "number"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        },
      +        "fund_name": {
      +          "anyOf": [
      +            {
      +              "type": "string"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        },
      +        "measure_name": {
      +          "anyOf": [
      +            {
      +              "type": "string"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        },
      +        "priority_name": {
      +          "anyOf": [
      +            {
      +              "type": "string"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        },
      +        "programme_name": {
      +          "anyOf": [
      +            {
      +              "type": "string"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        },
      +        "project_name": {
      +          "type": "string"
      +        },
      +        "started_on": {
      +          "anyOf": [
      +            {
      +              "type": "string"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        },
      +        "total_value_pln": {
      +          "anyOf": [
      +            {
      +              "type": "number"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        }
      +      },
      +      "required": [
      +        "contract_number",
      +        "project_name",
      +        "beneficiary_name",
      +        "programme_name",
      +        "priority_name",
      +        "measure_name",
      +        "fund_name",
      +        "total_value_pln",
      +        "eu_cofinancing_pln",
      +        "eu_cofinancing_pct",
      +        "started_on",
      +        "ends_on"
      +      ],
      +      "type": "object"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
    • addedOutput schema / properties / qa
      Added value: +{
      +  "anyOf": [
      +    {
      +      "additionalProperties": false,
      +      "properties": {
      +        "items": {
      +          "items": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "answer": {
      +                "type": "string"
      +              },
      +              "published_at": {
      +                "anyOf": [
      +                  {
      +                    "type": "string"
      +                  },
      +                  {
      +                    "type": "null"
      +                  }
      +                ]
      +              },
      +              "question": {
      +                "type": "string"
      +              },
      +              "question_no": {
      +                "type": "number"
      +              }
      +            },
      +            "required": [
      +              "question_no",
      +              "question",
      +              "answer",
      +              "published_at"
      +            ],
      +            "type": "object"
      +          },
      +          "type": "array"
      +        },
      +        "total": {
      +          "type": "number"
      +        }
      +      },
      +      "required": [
      +        "total",
      +        "items"
      +      ],
      +      "type": "object"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
    • addedOutput schema / properties / results / items / properties / awarded_value_total
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "number"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
    • addedOutput schema / properties / results / items / properties / created_at
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
    • addedOutput schema / properties / results / items / properties / currency
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
    • addedOutput schema / properties / results / items / properties / highest_value
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "number"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
    • addedOutput schema / properties / results / items / properties / lowest_value
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "number"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
    • addedOutput schema / properties / results / items / properties / offers_rejected
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "number"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
    • addedOutput schema / properties / results / items / properties / winner_foreign_id
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
    • addedOutput schema / properties / results / items / properties / winner_offer_value
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "number"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
    • addedOutput schema / properties / results / items / properties / winner_was_cheapest
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "boolean"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
    • changedOutput schema / properties / results / items / required
      Previous value: -[
      -  "winner_name",
      -  "winner_nip",
      -  "winning_value",
      -  "offers_count"
      -]New value: +[
      +  "winner_name",
      +  "winner_nip",
      +  "winner_foreign_id",
      +  "winning_value",
      +  "awarded_value_total",
      +  "offers_count",
      +  "lowest_value",
      +  "highest_value",
      +  "winner_offer_value",
      +  "offers_rejected",
      +  "winner_was_cheapest",
      +  "currency",
      +  "created_at"
      +]
    • changedOutput schema / required
      Previous value: -[
      -  "slug",
      -  "url",
      -  "title",
      -  "source",
      -  "authority",
      -  "cpv",
      -  "region",
      -  "estimated_value",
      -  "currency",
      -  "submission_deadline",
      -  "opening_date",
      -  "published_at",
      -  "scope_brief",
      -  "summary_sections",
      -  "results"
      -]New value: +[
      +  "slug",
      +  "url",
      +  "title",
      +  "source",
      +  "authority",
      +  "cpv",
      +  "region",
      +  "estimated_value",
      +  "currency",
      +  "submission_deadline",
      +  "opening_date",
      +  "published_at",
      +  "scope_brief",
      +  "summary_sections",
      +  "results",
      +  "cancelled_predecessor",
      +  "eu_project",
      +  "qa"
      +]
  6. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Goes well beyond the readOnly/idempotent annotations: discloses the has_summary=false degradation (summary_sections and scope_brief null), the not-found behavior for non-public tenders, and the OAuth plus trial/paid plan prerequisites. These are exactly the preconditions an agent needs before calling.

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-loads verb, resource, and identifier, then packs edge cases and auth into the tail. It's dense rather than wasteful, though the long enumeration of returned sections partly duplicates the output schema and could be trimmed.

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 an output schema present, the description doesn't need to explain return shape, yet it covers the failure mode, the null-summary case, and access requirements. Nothing an agent needs to invoke this 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 coverage is 100% and the single parameter is already documented as 'public_slug from a listing result'. The description only reinforces provenance ('from search_tenders/list_tenders results'), adding no format, casing, or constraint detail beyond the schema, so the baseline 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 ('Fetch full detail for one tender by its public slug') and enumerates the payload so an agent can distinguish it from siblings like get_tender_results, get_tender_documents, or get_company_profile. The scope (single tender, by slug) is unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly tells where the slug comes from ('from search_tenders/list_tenders results'), which routes the agent to the right discovery tool first, and states when it fails ('Returns not-found for non-public tenders'). It doesn't explicitly name a sibling to prefer for partial needs (e.g. results-only), but the retrieval context is clear.

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