Skip to main content
Glama

Get current notices

get_current_notices
Read-onlyIdempotent

List dated notices in effect on a date (today in Asia/Shanghai unless date is given) for places in China Footnotes, such as holiday traffic controls, temporary closures and special opening hours, each with its sources. Filter by city or place. Only notices the editors have entered are included; this is not a live news feed, and an empty list does not mean nothing has changed.

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": "get_current_notices"
  }
}

Input Schema

NameRequiredDescriptionDefault
cityNoLowercase city id, as listed in cities when search_places is called with no arguments. Omit for all cities.
dateNoDate in Asia/Shanghai, YYYY-MM-DD; default today. Stored notices only; not a live feed.
placeIdNoOnly notices for this place id (from search_places).

Output Schema

NameRequiredDescriptionDefault
dateYes
noticesYes
sourcesNoSource id index. Dates are stored evidence dates, not rendering dates; null means unavailable.
timezoneNo
dataVersionNo
renderedForNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed7 schema fields changed
    • addedOutput schema / properties / notices / items / properties / checkedAt
      Added value: +{
      +  "description": "For openEnded notices: day the notice source was last read. null otherwise; see each source's accessedAt.",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / notices / items / properties / expiresAt / description
      Added value: +"Last day of the stored window. null when openEnded: the source gives no end date."
    • addedOutput schema / properties / notices / items / properties / needsRecheck
      Added value: +{
      +  "description": "true: an openEnded notice past reviewBy; it may be out of date and has not been reconfirmed.",
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / notices / items / properties / openEnded
      Added value: +{
      +  "description": "true: the source gives no end or reopening date. Do not infer that it has ended.",
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / notices / items / properties / reviewBy
      Added value: +{
      +  "description": "For openEnded notices: our internal re-check date, not an end date.",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / notices / items / properties / startBasis
      Added value: +{
      +  "description": "\"published\": startsAt is the date the notice was published, not a stated first day.",
      +  "enum": [
      +    "published",
      +    null
      +  ],
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / notices / items / properties / startsAt / description
      Added value: +"First day the notice applies (Asia/Shanghai). When startBasis is \"published\" it is the publication date; the source gave no start date."
  2. Changed3 schema fields changed
    • changedInput schema / properties / city / description
      Previous value: -"City id. Covered: shanghai, beijing, xian, chengdu, chongqing, hangzhou."New value: +"Lowercase city id, as listed in cities when search_places is called with no arguments. Omit for all cities."
    • changedInput schema / properties / date / description
      Previous value: -"Date in Asia/Shanghai, YYYY-MM-DD. Stored rules only; not live availability."New value: +"Date in Asia/Shanghai, YYYY-MM-DD; default today. Stored notices only; not a live feed."
    • changedInput schema / properties / placeId / description
      Previous value: -"Only notices for this place id."New value: +"Only notices for this place id (from search_places)."
  3. Changed11 schema fields changed
    • addedInput schema / properties / city / maxLength
      Added value: +200
    • addedInput schema / properties / date
      Added value: +{
      +  "description": "Date in Asia/Shanghai, YYYY-MM-DD. Stored rules only; not live availability.",
      +  "maxLength": 10,
      +  "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      +  "type": "string"
      +}
    • addedInput schema / properties / placeId / maxLength
      Added value: +100
    • addedOutput schema / properties / dataVersion
      Added value: +{
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / notices / items / properties / sources / items / properties / accessedAt
      Added value: +{
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / notices / items / properties / sources / items / properties / checkedAt
      Added value: +{
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / notices / items / properties / sources / items / properties / id
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / notices / items / properties / sources / items / properties / verificationMethod
      Added value: +{
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / renderedFor
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / sources
      Added value: +{
      +  "additionalProperties": {
      +    "properties": {
      +      "accessedAt": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "checkedAt": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "kind": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "label": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "publishedAt": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "url": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "verificationMethod": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      }
      +    },
      +    "type": [
      +      "object",
      +      "null"
      +    ]
      +  },
      +  "description": "Source id index. Dates are stored evidence dates, not rendering dates; null means unavailable.",
      +  "type": "object"
      +}
    • addedOutput schema / properties / timezone
      Added value: +{
      +  "const": "Asia/Shanghai"
      +}
  4. Changed1 schema field changed
    • changedOutput schema / properties / notices / items / properties / sources / items / properties / url / type
      Previous value: -"string"New value: +[
      +  "string",
      +  "null"
      +]
  5. 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 closed-world behavior, so the safety profile is covered. The description adds meaningful context beyond that: only editor-entered notices are returned, each result carries its sources, and an empty result has a specific non-obvious interpretation. It does not discuss pagination or result volume.

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-loaded with the core action and scope, and the caveats are placed after the purpose where they are most useful. The first sentence is long and packs the examples, timezone default, and sourcing into one clause chain, but no sentence is wasted.

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?

Given an output schema exists, return values need not be explained, and the description still notes results include sources. Default date behavior, filtering options, and the editor-entered/not-live-feed limitation are all covered; only pagination or result-size expectations are unaddressed.

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 coverage is 100% and each parameter already documents format, defaults, and sourcing (e.g. city ids from search_places with no arguments). The description only restates 'filter by city or place' and the today-default timezone, adding little beyond the schema, so the baseline of 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: 'List dated notices in effect on a date' for places in China Footnotes, with concrete examples (holiday traffic controls, temporary closures, special opening hours). This is clearly distinguishable from get_place (single place details) or the pretrip topic tools, which cover different resources.

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 use context: filter by city or place, default to today in Asia/Shanghai, and explicitly warns 'this is not a live news feed' and that an empty list does not imply nothing changed. It does not name a sibling to route to instead (e.g. get_place for details on one place), so no explicit exclusions are provided.

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