Skip to main content
Glama
xmpuspus

ph-civic-data-mcp

by xmpuspus

Official Gazette RSS feed

get_official_gazette_feed
Read-onlyIdempotent

Fetch official Philippine gazette issuances with pagination, returning titles and links, and handling invalid pages or upstream errors.

Instructions

Latest issuances from the Official Gazette of the Republic of the Philippines.

Reads the government's own RSS feed of proclamations, memorandum circulars, and other issuances, ten items per page, newest first. Examples:

get_official_gazette_feed() # page 1, the newest 10 issuances get_official_gazette_feed(page=2) # the next 10 issuances

On failure: a page outside 1 to 50 returns data_status "invalid_request" with validation_error true and no fetch attempted. A Cloudflare block page, the only other response this host sends on a bad call, returns data_status "unavailable" with upstream_error true and the real status and content type in caveats. An item with neither a title nor a link is dropped and counted in caveats. A page 1 response that parses as valid RSS but keeps zero issuances, whether the feed sent none or every item was dropped, is drift and returns data_status "indeterminate". A page above 1 with zero issuances is a genuine empty page and returns data_status "empty".

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageNoPage of the feed, 1 to 50. Page 1 reads /feed/, a page above 1 reads /feed/?paged=<page>. Default 1.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.8.0

TDQS

A4.3/5.0
Behavior5/5

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

Beyond the annotations (readOnly, idempotent, non-destructive), the description thoroughly discloses runtime behavior: it details pagination URL patterns, all failure modes (invalid_request, unavailable, indeterminate, empty), and specific handling of items lacking title or link. This goes well beyond the basic annotations.

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 description is detailed yet well-organized, starting with purpose, then examples, then failure modes. While slightly long, every sentence adds value and there is minimal redundancy with the schema description. The structure is logical and front-loaded with the core purpose.

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?

The description covers all key operational aspects: pagination, error handling, data_status values, and item filtering. It does not detail the output schema fields, but that may be provided separately. For a feed-reading tool, the description is sufficiently complete to guide correct usage.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema already provides comprehensive description of the 'page' parameter (range, URL mapping, default). The tool description adds meaning by explaining the consequences of out-of-range pages (invalid_request) and behavior for pages above 1 with zero items (empty), enriching the semantic understanding beyond the schema.

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?

Clearly states the tool reads the Official Gazette RSS feed of Philippine issuances. The verb 'Reads' and resource 'Official Gazette' are specific, and it is easily distinguished from sibling tools focused on earthquakes, weather, or procurement.

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?

The description provides examples and explains pagination and failure modes, but it does not explicitly state when to use this tool over alternatives (e.g., no comparative guidance against other government data tools). The usage context is implied by the tool's unique purpose but not explicitly contrasted with siblings.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.