Skip to main content
Glama

South Africa Tenders

Za Get Release

za_get_release
Read-onlyIdempotent

Get the full OCDS release for a single South African government tender by its ocid, from the National Treasury eTenders OCDS API. Returns the shaped tender plus supporting detail: description, tender period, documents (bid pack PDFs), procuring entity, contact person, awards, and contracts. Get an ocid from za_search_tenders (e.g. "ocds-9t57fa-160595").

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": {
      "ocid": "ocds-9t57fa-160595"
    },
    "name": "za_get_release"
  }
}

Input Schema

NameRequiredDescriptionDefault
ocidYesThe OCDS contracting process id, e.g. "ocds-9t57fa-160595".

Output Schema

NameRequiredDescriptionDefault
ocidNo
buyerNo
titleNo
valueNo
awardsNo
statusNo
categoryNo
contractsNo
documentsNo
publishedNo
descriptionNo
closing_dateNo
tender_periodNo
procurement_methodNo
procurement_method_detailsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "awards": {
      +      "items": {},
      +      "type": "array"
      +    },
      +    "buyer": {
      +      "type": "string"
      +    },
      +    "category": {
      +      "type": "string"
      +    },
      +    "closing_date": {
      +      "type": "string"
      +    },
      +    "contracts": {
      +      "items": {},
      +      "type": "array"
      +    },
      +    "description": {
      +      "type": "string"
      +    },
      +    "documents": {
      +      "items": {
      +        "properties": {
      +          "format": {
      +            "type": "string"
      +          },
      +          "published": {
      +            "type": "string"
      +          },
      +          "title": {
      +            "type": "string"
      +          },
      +          "url": {
      +            "type": "string"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "ocid": {
      +      "type": "string"
      +    },
      +    "procurement_method": {
      +      "type": "string"
      +    },
      +    "procurement_method_details": {
      +      "type": "string"
      +    },
      +    "published": {
      +      "type": "string"
      +    },
      +    "status": {
      +      "type": "string"
      +    },
      +    "tender_period": {
      +      "properties": {
      +        "end": {
      +          "type": "string"
      +        },
      +        "start": {
      +          "type": "string"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "title": {
      +      "type": "string"
      +    },
      +    "value": {
      +      "properties": {
      +        "amount": {
      +          "type": "number"
      +        },
      +        "currency": {
      +          "type": "string"
      +        }
      +      },
      +      "type": "object"
      +    }
      +  },
      +  "type": "object"
      +}
  2. Changed1 schema field changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "ocid": "ocds-9t57fa-160595"
      +  }
      +]
  3. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and open-world behavior, so the safety profile is covered. The description adds that data comes from an external government API and enumerates the payload contents (tender period, bid pack documents, awards, contracts), which is useful context beyond the annotations, though it says nothing about error or empty-result behavior.

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?

Two front-loaded sentences with no filler; the purpose and input source come first. The field enumeration in the second sentence is partly redundant with the output schema, but it is compact and helps set expectations.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a single-parameter read tool with rich annotations and an output schema, the definition covers purpose, input provenance and payload scope. Nothing essential is missing, though a note on unknown-ocid behavior would make it fully complete.

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% and the single ocid parameter is fully documented in the schema, including the same example format. The description's 'by its ocid' and example repeat rather than extend the schema, so 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 ('Get the full OCDS release for a single ... tender by its ocid') and names the upstream source (National Treasury eTenders OCDS API). It clearly distinguishes itself from the sibling za_search_tenders, which is identified as the way to obtain the ocid.

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 the agent where the required input comes from ('Get an ocid from za_search_tenders') and gives a concrete example id. It does not state any when-not-to-use condition or what happens for an unknown ocid, so it falls short of full routing guidance.

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.