Skip to main content
Glama

Prozorro Historical Release

prozorro_historical_release
Read-onlyIdempotent

Detail for a Ukraine ProZorro tender that prozorro_get_tender can't resolve from a human tenderID, its tenderID-to-internal-id lookup only scans the most-recently-modified few thousand records (fleet #2762/#2768), so a tenderID found via prozorro_search_tenders' date-range browsing (e.g. a 2015 tender) comes back detail_available:false there. An internal 32-hex id ALWAYS resolves immediately regardless of age (a direct lookup, no scan needed). For a human tenderID this tries TWO live strategies before giving up: the same recently-modified scan prozorro_get_tender uses, then a bounded forward scan seeded from the DATE THE TENDERID ITSELF ENCODES ("UA-2015-02-16-..." -> search from 2015-02-16), this finds it when the tender's last modification happened reasonably soon after that date, and does not when a later amendment moved it far down the feed; both are live, keyless, no stored data (fleet #3244). source says which path answered; detail_available:false (never a crash, never an empty object) means neither reached it, and only the search-index summary is available.

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": "09076ffc415e4d57ad7046aacc91b6e1"
    },
    "name": "prozorro_historical_release"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesTender id, internal 32-hex (e.g. "09076ffc415e4d57ad7046aacc91b6e1") or human tenderID (e.g. "UA-2015-02-16-000001").

Output Schema

NameRequiredDescriptionDefault
idNo
lotsNo
awardNoNull in every sampled response; type not observed, so left unconstrained.
buyerNo
itemsNo
titleNo
awardsNo
sourceNo
statusNo
contractNoNull in every sampled response; type not observed, so left unconstrained.
tenderIDNo
descriptionNo
dateModifiedNo
resolved_viaNo
tenderPeriodNo
tender_valueNo
enquiryPeriodNo
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": {
      +      "description": "Null in every sampled response; type not observed, so left unconstrained."
      +    },
      +    "awards": {
      +      "items": {},
      +      "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": {
      +      "description": "Null in every sampled response; type not observed, so left unconstrained."
      +    },
      +    "dateModified": {
      +      "type": "string"
      +    },
      +    "description": {
      +      "type": "string"
      +    },
      +    "detail_available": {
      +      "type": "boolean"
      +    },
      +    "enquiryPeriod": {
      +      "properties": {
      +        "endDate": {
      +          "type": "string"
      +        },
      +        "startDate": {
      +          "type": "string"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "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"
      +    },
      +    "source": {
      +      "type": "string"
      +    },
      +    "status": {
      +      "type": "string"
      +    },
      +    "tenderID": {
      +      "type": "string"
      +    },
      +    "tenderPeriod": {
      +      "properties": {
      +        "endDate": {
      +          "type": "string"
      +        },
      +        "startDate": {
      +          "type": "string"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "tender_value": {
      +      "properties": {
      +        "amount": {
      +          "type": "number"
      +        },
      +        "currency": {
      +          "type": "string"
      +        },
      +        "vatIncluded": {
      +          "type": "boolean"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "title": {
      +      "type": "string"
      +    }
      +  },
      +  "type": "object"
      +}
  2. Changed1 schema field changed
    • changedInput schema / properties / id / description
      Previous value: -"Tender id — internal 32-hex (e.g. \"09076ffc415e4d57ad7046aacc91b6e1\") or human tenderID (e.g. \"UA-2015-02-16-000001\")."New value: +"Tender id, internal 32-hex (e.g. \"09076ffc415e4d57ad7046aacc91b6e1\") or human tenderID (e.g. \"UA-2015-02-16-000001\")."
  3. Added

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, open-world and non-destructive, yet the description adds substantial context: keyless live calls with no stored data, two bounded strategies, and a guaranteed non-crash failure mode of detail_available:false rather than an empty object. It loses a point for burying these facts in dense operational narrative and for including internal fleet ticket references that add no behavioral value to an agent.

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?

The core routing information is front-loaded, but the body is a single dense run-on packed with parentheticals and internal fleet numbers (#2762/#2768, #3244) that do not help tool selection. The key failure contract (detail_available:false) appears late in a long sentence and would be better as its own short statement.

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?

For a one-parameter read tool with an output schema, the description covers everything needed: which id forms resolve fast, why the fallback exists, that both strategies are live and keyless, and that the output carries a `source` field indicating which path answered. Plus a referenced output field (source) and the failure value, no ambiguity remains for correct invocation.

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% and the parameter already documents both id formats with examples, so the baseline is 3. The description earns above baseline by explaining the consequence of each form: a 32-hex id resolves via direct lookup regardless of age, while a human tenderID triggers scans seeded from the date the tenderID encodes. It does not discuss format validation or error strings for malformed ids.

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+resource (detail for a Ukraine ProZorro tender) and immediately scopes it as the fallback for tenderIDs that prozorro_get_tender cannot resolve, naming the sibling by name. An agent can distinguish this from prozorro_get_tender and prozorro_search_tenders without opening any 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?

Explicitly says when to use it (a tenderID obtained from prozorro_search_tenders date-range browsing returns detail_available:false elsewhere) and when it is unnecessary (an internal 32-hex id always resolves immediately, so no fallback needed). It also names the alternative path and its limitation, satisfying the when/when-not/alternatives bar.

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.