Skip to main content
Glama

Get Gazette Notice Text and Fields

gazette_notice
Read-onlyIdempotent

Fetch a Gazette notice's full legal wording and labelled fields by notice ID.

Returns text (the full notice wording), title, notice_code, notice_type, category, publication_date (YYYY-MM-DD), company_number, company_name, previous_company_name and notice_url. Fields the notice does not carry are null. Legacy notices (L-.../E-... IDs) usually carry no structured company number: a null company_number means the notice has no structured number, not that it concerns a different company; read the text. Use gazette_insolvency first to find notice_numeric_id values.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "notice_id": "<notice_id>"
    },
    "name": "gazette_notice"
  }
}

Input Schema

NameRequiredDescriptionDefault
notice_idYesGazette notice ID: numeric (e.g. '4420724') or legacy (e.g. 'L-57793-2040', 'E-26343-2431-168'). Returned as notice_numeric_id by gazette_insolvency.

Output Schema

NameRequiredDescriptionDefault
textYesThe full notice wording, as published, with whitespace collapsed. Read it before drawing any legal conclusion from the notice type.
titleNoThe notice's title. Modern notices use the company name; legacy notices use the notice type (e.g. 'Winding-Up Orders').
categoryNoThe Gazette's category label (e.g. 'Corporate Insolvency').
notice_idYesThe Gazette notice ID as requested: numeric (e.g. '4420724') or legacy (e.g. 'L-57793-2040').
notice_urlYesThe notice's page on The Gazette (https://www.thegazette.co.uk/notice/{id}).
notice_codeNoGazette notice code (e.g. '2410' appointment of administrators, '2452' winding-up order).
notice_typeNoThe Gazette's own notice type label (e.g. 'Appointment of Administrators').
company_nameNoCompany name from the notice's structured data; null when absent.
company_numberNoCompanies House number from the notice's structured data. Null means the notice carries no structured number (common on legacy notices), not that it is about a different company: check the text. Never parsed from the text.
publication_dateNoPublication date (ISO YYYY-MM-DD); null when the notice states none.
previous_company_nameNoPrevious company name from the notice's structured data; null when absent.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • changedInput schema / properties / notice_id / description
      Previous value: -"Numeric Gazette notice ID. Returned as notice_numeric_id by gazette_insolvency."New value: +"Gazette notice ID: numeric (e.g. '4420724') or legacy (e.g. 'L-57793-2040', 'E-26343-2431-168'). Returned as notice_numeric_id by gazette_insolvency."
    • removedInput schema / properties / notice_id / maxLength
      Removed value: -20
    • removedOutput schema / additionalProperties
      Removed value: -true
    • addedOutput schema / description
      Added value: +"One Gazette notice: its full wording plus the labelled fields it carries.\n\nRead from the notice's XHTML+RDFa page (GET /notice/{id}, Accept:\napplication/xml). A field the notice does not carry is null (unknown),\nnever an empty string."
    • addedOutput schema / properties
      Added value: +{
      +  "category": {
      +    "anyOf": [
      +      {
      +        "type": "string"
      +      },
      +      {
      +        "type": "null"
      +      }
      +    ],
      +    "default": null,
      +    "description": "The Gazette's category label (e.g. 'Corporate Insolvency')."
      +  },
      +  "company_name": {
      +    "anyOf": [
      +      {
      +        "type": "string"
      +      },
      +      {
      +        "type": "null"
      +      }
      +    ],
      +    "default": null,
      +    "description": "Company name from the notice's structured data; null when absent."
      +  },
      +  "company_number": {
      +    "anyOf": [
      +      {
      +        "type": "string"
      +      },
      +      {
      +        "type": "null"
      +      }
      +    ],
      +    "default": null,
      +    "description": "Companies House number from the notice's structured data. Null means the notice carries no structured number (common on legacy notices), not that it is about a different company: check the text. Never parsed from the text."
      +  },
      +  "notice_code": {
      +    "anyOf": [
      +      {
      +        "type": "string"
      +      },
      +      {
      +        "type": "null"
      +      }
      +    ],
      +    "default": null,
      +    "description": "Gazette notice code (e.g. '2410' appointment of administrators, '2452' winding-up order)."
      +  },
      +  "notice_id": {
      +    "description": "The Gazette notice ID as requested: numeric (e.g. '4420724') or legacy (e.g. 'L-57793-2040').",
      +    "type": "string"
      +  },
      +  "notice_type": {
      +    "anyOf": [
      +      {
      +        "type": "string"
      +      },
      +      {
      +        "type": "null"
      +      }
      +    ],
      +    "default": null,
      +    "description": "The Gazette's own notice type label (e.g. 'Appointment of Administrators')."
      +  },
      +  "notice_url": {
      +    "description": "The notice's page on The Gazette (https://www.thegazette.co.uk/notice/{id}).",
      +    "type": "string"
      +  },
      +  "previous_company_name": {
      +    "anyOf": [
      +      {
      +        "type": "string"
      +      },
      +      {
      +        "type": "null"
      +      }
      +    ],
      +    "default": null,
      +    "description": "Previous company name from the notice's structured data; null when absent."
      +  },
      +  "publication_date": {
      +    "anyOf": [
      +      {
      +        "type": "string"
      +      },
      +      {
      +        "type": "null"
      +      }
      +    ],
      +    "default": null,
      +    "description": "Publication date (ISO YYYY-MM-DD); null when the notice states none."
      +  },
      +  "text": {
      +    "description": "The full notice wording, as published, with whitespace collapsed. Read it before drawing any legal conclusion from the notice type.",
      +    "type": "string"
      +  },
      +  "title": {
      +    "anyOf": [
      +      {
      +        "type": "string"
      +      },
      +      {
      +        "type": "null"
      +      }
      +    ],
      +    "default": null,
      +    "description": "The notice's title. Modern notices use the company name; legacy notices use the notice type (e.g. 'Winding-Up Orders')."
      +  }
      +}
    • addedOutput schema / required
      Added value: +[
      +  "notice_id",
      +  "notice_url",
      +  "text"
      +]
  2. Added
  3. Removed
  4. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is covered. The description adds genuine behavioral context beyond that: null semantics for absent fields, and the legacy-ID caveat that a null company_number means no structured number rather than a different company, plus an instruction to read the text. Listing the return fields is somewhat redundant given an output schema exists, which keeps it from a 5.

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?

The first sentence front-loads purpose and the remaining sentences are a compact field list plus the two highest-value caveats. The field enumeration is slightly redundant against the output schema, but nothing is padded or circular.

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 single-parameter read tool with full schema coverage, complete annotations and an output schema, the description supplies everything an agent still needs: the prerequisite ID source and how to interpret null company_number on legacy notices. Nothing required for a correct call is missing.

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%: notice_id is already documented with numeric and legacy format examples and provenance from gazette_insolvency. The description's "by notice ID" and the closing routing hint largely restate 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?

"Fetch a Gazette notice's full legal wording and labelled fields by notice ID" states a specific verb (fetch), a specific resource (Gazette notice), and the scope (text plus labelled fields). It is clearly distinguishable from siblings like gazette_insolvency, which the description positions as the ID-discovery step rather than a duplicate.

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?

The description explicitly routes the agent: "Use gazette_insolvency first to find notice_numeric_id values," which tells the agent the prerequisite workflow. It stops short of stating when not to use this tool or naming a fully interchangeable alternative, so a 4 rather than a 5.

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.