Skip to main content
Glama

Search Notices

search_notices
Read-onlyIdempotent

Full-text search of UK government procurement from Contracts Finder (Cabinet Office) — what the public sector bought, who supplied it, and for how much, plus open opportunities still out to tender. Covers NHS trusts, councils, police forces, universities and central government departments. Search by keyword ("MRI scanner", "agency nursing", "school catering", "cloud hosting") across notice title, description and awarded supplier, and narrow by publication date. Returns awarded contracts with supplier name and contract value by default, because a question about "contracts" usually means what was actually awarded. Keyless. The UK complement to EU tenders.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMax notices to return, 1–100 (default 20). `total_matches` reports the full hit count regardless.
statusNoWhich notices: "awarded" (contracts actually awarded, with supplier and value — the DEFAULT, and what a question about "contracts" nearly always means), "open" (opportunities still accepting bids), "closed" (bidding shut, award not yet published), "withdrawn", or "any". A niche keyword often has zero OPEN notices while having hundreds of awarded ones — "MRI" is 0 open, 151 closed, 495 awarded, 9 withdrawn — so an empty "open" result says nothing about whether the buying happened.
keywordNoFree-text search over notice title, description and awarded supplier name, e.g. "MRI", "magnetic resonance imaging", "agency nursing". Server-side and properly indexed. Omit to browse the newest notices for the chosen status.
notice_typeNoOptional notice type. "Contract" is a real procurement; "PreProcurement" is market engagement; "Pipeline"/"Planning"/"Future" are intentions to buy later.
published_toNoOptional ISO date (YYYY-MM-DD) upper bound on publication date, e.g. "2026-08-01".
published_fromNoOptional ISO date (YYYY-MM-DD) lower bound on publication date, e.g. "2025-01-01".

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed8 schema fields changed
    • changedInput schema / examples
      Previous value: -[
      -  {
      -    "limit": 20,
      -    "stage": "tender"
      -  },
      -  {
      -    "keyword": "cloud services",
      -    "limit": 50,
      -    "published_from": "2026-01-01",
      -    "published_to": "2026-06-30",
      -    "stage": "award"
      -  }
      -]New value: +[
      +  {
      +    "keyword": "MRI",
      +    "limit": 20
      +  },
      +  {
      +    "keyword": "magnetic resonance imaging",
      +    "limit": 50,
      +    "published_from": "2025-01-01",
      +    "status": "awarded"
      +  },
      +  {
      +    "keyword": "cloud hosting",
      +    "status": "open"
      +  }
      +]
    • changedInput schema / properties / keyword / description
      Previous value: -"Optional case-insensitive substring filtered client-side over each notice title + description (the API has no keyword search)."New value: +"Free-text search over notice title, description and awarded supplier name, e.g. \"MRI\", \"magnetic resonance imaging\", \"agency nursing\". Server-side and properly indexed. Omit to browse the newest notices for the chosen status."
    • changedInput schema / properties / limit / description
      Previous value: -"Max notices to scan/return, 1–100 (default 20)."New value: +"Max notices to return, 1–100 (default 20). `total_matches` reports the full hit count regardless."
    • addedInput schema / properties / notice_type
      Added value: +{
      +  "description": "Optional notice type. \"Contract\" is a real procurement; \"PreProcurement\" is market engagement; \"Pipeline\"/\"Planning\"/\"Future\" are intentions to buy later.",
      +  "enum": [
      +    "Contract",
      +    "PreProcurement",
      +    "Pipeline",
      +    "Planning",
      +    "Future"
      +  ],
      +  "type": "string"
      +}
    • changedInput schema / properties / published_from / description
      Previous value: -"Optional ISO date (YYYY-MM-DD) lower bound on publication date, e.g. \"2026-05-01\"."New value: +"Optional ISO date (YYYY-MM-DD) lower bound on publication date, e.g. \"2025-01-01\"."
    • changedInput schema / properties / published_to / description
      Previous value: -"Optional ISO date (YYYY-MM-DD) upper bound on publication date, e.g. \"2026-06-01\"."New value: +"Optional ISO date (YYYY-MM-DD) upper bound on publication date, e.g. \"2026-08-01\"."
    • removedInput schema / properties / stage
      Removed value: -{
      -  "description": "Notice stage: \"tender\" (open opportunities) or \"award\" (awarded contracts). Default \"tender\".",
      -  "enum": [
      -    "tender",
      -    "award"
      -  ],
      -  "type": "string"
      -}
    • addedInput schema / properties / status
      Added value: +{
      +  "description": "Which notices: \"awarded\" (contracts actually awarded, with supplier and value — the DEFAULT, and what a question about \"contracts\" nearly always means), \"open\" (opportunities still accepting bids), \"closed\" (bidding shut, award not yet published), \"withdrawn\", or \"any\". A niche keyword often has zero OPEN notices while having hundreds of awarded ones — \"MRI\" is 0 open, 151 closed, 495 awarded, 9 withdrawn — so an empty \"open\" result says nothing about whether the buying happened.",
      +  "enum": [
      +    "awarded",
      +    "open",
      +    "closed",
      +    "withdrawn",
      +    "any"
      +  ],
      +  "type": "string"
      +}
  2. Changed1 schema field changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "limit": 20,
      +    "stage": "tender"
      +  },
      +  {
      +    "keyword": "cloud services",
      +    "limit": 50,
      +    "published_from": "2026-01-01",
      +    "published_to": "2026-06-30",
      +    "stage": "award"
      +  }
      +]
  3. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare read-only, open-world, idempotent, and non-destructive behavior. The description adds useful behavioral context: it returns awarded contracts with supplier and value by default, requires no API key, and covers a specific procurement dataset. It does not mention rate limits or pagination, but the annotations lower the burden and the added context is genuinely helpful.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is dense and front-loaded with the core action, then efficiently adds scope, examples, default behavior, and auth context. Each clause serves a purpose; the UK-vs-EU note and keyless statement are short and meaningful. It is long enough to be instructive without becoming bloated.

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 six-parameter, no-output-schema search tool with no required parameters, the description covers essentially everything an agent needs: domain, coverage, search targets, examples, default status rationale, auth requirements, and positioning relative to EU tenders. The schema handles parameter details, and annotations handle safety, leaving no critical behavioral gap.

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?

The schema already describes all six parameters in detail, including status meanings, date formats, limit bounds, and keyword behavior. The description adds example keywords and restates the default awarded rationale, but that rationale also appears in the schema's status description, so the incremental value over the schema is modest.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly identifies a full-text search tool for UK government procurement notices from Contracts Finder, with concrete keyword examples and scope. It distinguishes the tool conceptually from sibling retrieval tools by emphasizing search semantics, but does not explicitly name or contrast siblings such as find_a_tender_notice or recent_notices.

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

Usage Guidelines3/5

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

It provides clear context for when to search—by keyword, date range, and status—and explains the default awarded status. However, it does not explicitly state when to prefer this tool over alternatives like find_a_tender_notice, recent_notices, or search_within; usage is implied rather than contrasted.

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.