Skip to main content
Glama

UK contract awards (Contracts Finder)

query_uk_contract_awards
Read-onlyIdempotent

Who won which UK public-sector contract, for how much: award notices from the official Contracts Finder OCDS feed flattened to one row per award and supplier — buyer, supplier and its company number, award value and date, contract period, CPV codes, category and procurement method. Rolling window of the last two weeks of awards, refreshed daily. Organisation-level data only. Filters combine with AND; q searches all text fields. Costs 1 credit(s) per call with an API key; without one, a preview of up to 5 rows (30 calls/day).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "query_uk_contract_awards"
  }
}

Input Schema

NameRequiredDescriptionDefault
qNo
pageNo
buyerNo
categoryNo
per_pageNo
supplierNo
cpv_codesNo
award_date_afterNo
award_date_beforeNo
procurement_methodNo
published_at_afterNo
published_at_beforeNo
award_value_amount_maxNo
award_value_amount_minNo
supplier_company_numberNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive/openWorld=false, so the remaining burden is data behaviour and cost. The description adds genuine value there: two-week rolling window, daily refresh, 1 credit per call with a key, and an unauthenticated preview capped at 5 rows / 30 calls per day. It stops short of describing pagination limits or result-size behaviour.

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 the value proposition before the field inventory, then the scope, then the cost/limits. Dense but every clause carries information; the parenthetical field list is long but earns its space given 15 undocumented parameters.

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

Completeness3/5

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

For a 15-parameter tool with no output schema and zero schema descriptions, the description covers scope, currency of data, row grain and pricing well. It is still incomplete on pagination behaviour, default result size, and accepted date formats for the four date filters, which an agent must guess.

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 0%, so the description must carry parameter meaning. It maps many params to real-world fields (buyer, supplier and company number, award value, award date, contract period, CPV codes, category, procurement method) and explains q and AND-combination, but leaves page/per_page and the distinction between award_date_* and published_at_* filters unaddressed.

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 precise verb+resource: 'Who won which UK public-sector contract, for how much: award notices from the official Contracts Finder OCDS feed flattened to one row per award and supplier'. The grain (one row per award and supplier) and the enumerated fields distinguish it from a tenders tool without the agent needing to open the 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?

Gives clear operational context for deciding fitness: a rolling two-week window refreshed daily, organisation-level data only, filters combine with AND, and q searches all text fields. It does not name an alternative (e.g. the tenders sibling) or state when-not to use it, 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.

Resources