Skip to main content
Glama

Prozorro Get Tender

prozorro_get_tender
Read-onlyIdempotent

Full detail for a single Ukraine ProZorro tender by id (via the keyless OpenProcurement public API). Returns tenderID, title, description, status, procurementMethod + procurementMethodType (raw OCDS fields, broad method vs ProZorro's specific type, e.g. aboveThresholdUA/aboveThresholdEU), tender_value (the ORIGINAL ASKING PRICE, not money spent), the buyer/procuring entity (name, EDR identifier, region, contact), tender period (start/end), enquiry period, number of bids, line items (description, CPV classification, quantity, unit, relatedLot), lots (id/title/status/value, when the tender is lotted), and the OCDS award/contract stage: award (operative award: status, date, value, winning supplier, lotID, bid_id, null if none) plus the full awards history (each with the FULL suppliers[] array, name + identifier scheme/id, alongside the single-supplier supplier field kept for backward compatibility), and contract (signed contract value/date, with its CURRENT status and amountPaid read from the contract record, the tender's own copy goes stale after signing; use prozorro_get_contract for amendments, termination and contract documents). An interpretation line states plainly whether the tender_value was ever actually spent. Pass raw:true to also get the complete, unshaped upstream OCDS tender object under raw, for any field not shaped above. Text is largely Ukrainian. Accepts the internal 32-char tender id OR a human tenderID ("UA-2026-09-20-000012-a"), for a tenderID this now tries to resolve the internal id by scanning the most-recently-modified feed records first (cheap, usually one call for anything modified in the last few hours) and returns FULL detail when that succeeds; it falls back to the search index's summary (detail_available:false, no awards) only when the tender wasn't modified recently enough to be found that way.

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": {
      "id": "156db6e773ba4b6e925d00f9ad3b13f4"
    },
    "name": "prozorro_get_tender"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesTender id, the internal 32-hex id (e.g. "156db6e773ba4b6e925d00f9ad3b13f4") from prozorro_recent_tenders always returns full detail. A human tenderID ("UA-2026-09-20-000012-a") from prozorro_search_tenders is also accepted; full detail depends on whether it can be resolved (see tool description), detail_available in the response says which case you got.
rawNoInclude the complete, unshaped upstream OCDS tender JSON under `raw`. Only applies when full detail is available (detail_available:true). Default false, the raw object can be large (documents, full bids, etc).

Output Schema

NameRequiredDescriptionDefault
idNo
lotsNo
awardNo
buyerNo
itemsNo
titleNo
awardsNo
statusNo
contractNo
tenderIDNo
descriptionNo
dateModifiedNo
resolved_viaNo
tender_valueNo
interpretationNo
detail_availableNo
procurementMethodNo
procurementMethodTypeNo
procurementMethodBroadNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "award": {
      +      "properties": {
      +        "date": {
      +          "type": "string"
      +        },
      +        "id": {
      +          "type": "string"
      +        },
      +        "status": {
      +          "type": "string"
      +        },
      +        "supplier": {
      +          "properties": {
      +            "edrpou": {
      +              "type": "string"
      +            },
      +            "name": {
      +              "type": "string"
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "suppliers": {
      +          "items": {
      +            "properties": {
      +              "edrpou": {
      +                "type": "string"
      +              },
      +              "identifier_scheme": {
      +                "type": "string"
      +              },
      +              "name": {
      +                "type": "string"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "type": "array"
      +        },
      +        "value": {
      +          "properties": {
      +            "amount": {
      +              "type": "number"
      +            },
      +            "currency": {
      +              "type": "string"
      +            },
      +            "vatIncluded": {
      +              "type": "boolean"
      +            }
      +          },
      +          "type": "object"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "awards": {
      +      "items": {
      +        "properties": {
      +          "date": {
      +            "type": "string"
      +          },
      +          "id": {
      +            "type": "string"
      +          },
      +          "status": {
      +            "type": "string"
      +          },
      +          "supplier": {
      +            "properties": {
      +              "edrpou": {
      +                "type": "string"
      +              },
      +              "name": {
      +                "type": "string"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "suppliers": {
      +            "items": {
      +              "properties": {
      +                "edrpou": {
      +                  "type": "string"
      +                },
      +                "identifier_scheme": {
      +                  "type": "string"
      +                },
      +                "name": {
      +                  "type": "string"
      +                }
      +              },
      +              "type": "object"
      +            },
      +            "type": "array"
      +          },
      +          "value": {
      +            "properties": {
      +              "amount": {
      +                "type": "number"
      +              },
      +              "currency": {
      +                "type": "string"
      +              },
      +              "vatIncluded": {
      +                "type": "boolean"
      +              }
      +            },
      +            "type": "object"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "buyer": {
      +      "properties": {
      +        "edr": {
      +          "type": "string"
      +        },
      +        "email": {
      +          "type": "string"
      +        },
      +        "locality": {
      +          "type": "string"
      +        },
      +        "name": {
      +          "type": "string"
      +        },
      +        "region": {
      +          "type": "string"
      +        },
      +        "telephone": {
      +          "type": "string"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "contract": {
      +      "properties": {
      +        "amountPaid": {
      +          "description": "Null in every sampled response; type not observed, so left unconstrained."
      +        },
      +        "changes_count": {
      +          "type": "number"
      +        },
      +        "date": {
      +          "type": "string"
      +        },
      +        "dateModified": {
      +          "type": "string"
      +        },
      +        "id": {
      +          "type": "string"
      +        },
      +        "note": {
      +          "type": "string"
      +        },
      +        "status": {
      +          "type": "string"
      +        },
      +        "status_in_tender_record": {
      +          "type": "string"
      +        },
      +        "value": {
      +          "properties": {
      +            "amount": {
      +              "type": "number"
      +            },
      +            "currency": {
      +              "type": "string"
      +            },
      +            "vatIncluded": {
      +              "type": "boolean"
      +            }
      +          },
      +          "type": "object"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "dateModified": {
      +      "type": "string"
      +    },
      +    "description": {
      +      "type": "string"
      +    },
      +    "detail_available": {
      +      "type": "boolean"
      +    },
      +    "id": {
      +      "type": "string"
      +    },
      +    "interpretation": {
      +      "type": "string"
      +    },
      +    "items": {
      +      "items": {
      +        "properties": {
      +          "cpv": {
      +            "type": "string"
      +          },
      +          "cpvDescription": {
      +            "type": "string"
      +          },
      +          "description": {
      +            "type": "string"
      +          },
      +          "quantity": {
      +            "type": "number"
      +          },
      +          "unit": {
      +            "type": "string"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "lots": {
      +      "items": {},
      +      "type": "array"
      +    },
      +    "procurementMethod": {
      +      "type": "string"
      +    },
      +    "procurementMethodBroad": {
      +      "type": "string"
      +    },
      +    "procurementMethodType": {
      +      "type": "string"
      +    },
      +    "resolved_via": {
      +      "type": "string"
      +    },
      +    "status": {
      +      "type": "string"
      +    },
      +    "tenderID": {
      +      "type": "string"
      +    },
      +    "tender_value": {
      +      "properties": {
      +        "amount": {
      +          "type": "number"
      +        },
      +        "currency": {
      +          "type": "string"
      +        },
      +        "vatIncluded": {
      +          "type": "boolean"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "title": {
      +      "type": "string"
      +    }
      +  },
      +  "type": "object"
      +}
  2. Changed2 schema fields changed
    • changedInput schema / properties / id / description
      Previous value: -"Tender id — the internal 32-hex id (e.g. \"156db6e773ba4b6e925d00f9ad3b13f4\") from prozorro_recent_tenders always returns full detail. A human tenderID (\"UA-2026-09-20-000012-a\") from prozorro_search_tenders is also accepted; full detail depends on whether it can be resolved (see tool description) — detail_available in the response says which case you got."New value: +"Tender id, the internal 32-hex id (e.g. \"156db6e773ba4b6e925d00f9ad3b13f4\") from prozorro_recent_tenders always returns full detail. A human tenderID (\"UA-2026-09-20-000012-a\") from prozorro_search_tenders is also accepted; full detail depends on whether it can be resolved (see tool description), detail_available in the response says which case you got."
    • changedInput schema / properties / raw / description
      Previous value: -"Include the complete, unshaped upstream OCDS tender JSON under `raw`. Only applies when full detail is available (detail_available:true). Default false — the raw object can be large (documents, full bids, etc)."New value: +"Include the complete, unshaped upstream OCDS tender JSON under `raw`. Only applies when full detail is available (detail_available:true). Default false, the raw object can be large (documents, full bids, etc)."
  3. Changed2 schema fields changed
    • changedInput schema / properties / id / description
      Previous value: -"Tender id (32-hex, e.g. \"156db6e773ba4b6e925d00f9ad3b13f4\"). Not the human tenderID like \"UA-2026-...\"."New value: +"Tender id — the internal 32-hex id (e.g. \"156db6e773ba4b6e925d00f9ad3b13f4\") from prozorro_recent_tenders always returns full detail. A human tenderID (\"UA-2026-09-20-000012-a\") from prozorro_search_tenders is also accepted; full detail depends on whether it can be resolved (see tool description) — detail_available in the response says which case you got."
    • addedInput schema / properties / raw
      Added value: +{
      +  "description": "Include the complete, unshaped upstream OCDS tender JSON under `raw`. Only applies when full detail is available (detail_available:true). Default false — the raw object can be large (documents, full bids, etc).",
      +  "type": "boolean"
      +}
  4. Changed1 schema field changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "id": "156db6e773ba4b6e925d00f9ad3b13f4"
      +  }
      +]
  5. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Well beyond the annotations: it discloses the tenderID resolution path and its cheap-recent-feed-then-fallback behavior, the detail_available:false degraded mode with no awards, that tender_value is the original asking price rather than money spent, that the tender's own contract copy goes stale after signing (status/amountPaid read from the contract record), and that raw can be large. These are substantive operational traits an agent could not infer from readOnlyHint/idempotentHint.

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?

Purpose is front-loaded and every clause is informative, but it is one dense block with deep parenthetical nesting and multiple forward references ('see tool description'). The raw:true and detail_available behavior is stated in both the prose and the schema parameter descriptions, which is duplicated effort.

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?

Given an output schema exists, the description still covers the non-obvious parts an agent needs: interpretation of tender_value, award vs awards history with backward-compatible supplier field, stale contract status, and the degraded-response path. Nothing required to call it correctly or interpret the result 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 100%, so the baseline is 3, but the description adds genuine semantics: it explains why the 32-hex form always yields full detail while a tenderID depends on resolvability, and it constrains raw:true to detail_available:true cases where the object may be large. The overlap with the schema's own parameter text is the main deduction.

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?

Opens with a specific verb and resource: 'Full detail for a single Ukraine ProZorro tender by id', and scopes it to the keyless OpenProcurement public API. It then enumerates the returned fields, so an agent can tell this apart from prozorro_search_tenders (list) and prozorro_get_contract (contract amendments) without opening a schema.

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 routes contract-level questions to prozorro_get_contract for amendments, termination and documents, and recommends the internal 32-hex id from prozorro_recent_tenders for guaranteed full detail. It also explains what to expect when passing a human tenderID. It lacks an explicit 'do not use this to find tenders' statement, but the sibling routing is otherwise 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.