Skip to main content
Glama

Psa Ph Search Tables

psa_ph_search_tables
Read-onlyIdempotent

Find Philippine Statistics Authority (PSA) statistical tables by keyword, consumer prices and inflation, labour force, population, poverty, GDP, trade, agriculture, tourism and the rest of the Philippine official statistics. Returns each table's native id (e.g. "2M/PI/CPI/2018/0012M4ACP09.px"), title and last-updated date; pass that id unchanged to psa_ph_table_info and psa_ph_get_data. Index hits for tables the publisher has since removed are dropped and counted; results in a frozen old-series folder carry newer_series_folder. Pass folder to browse the tree. Philippines only.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "limit": 5,
      "query": "consumer price index"
    },
    "name": "psa_ph_search_tables"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax tables to return (default 10, max 15).
queryNoKeywords, e.g. "consumer price index", "unemployment rate", "palay production".
folderNoBrowse instead of searching: a folder path such as "2M/PI/CPI/2018NEW" (empty string lists the theme folders). Ignores query.

Output Schema

NameRequiredDescriptionDefault
noteNo
queryNo
sourceNo
tablesNo
total_hitsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. 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, openWorld and non-destructive, so the safety profile is covered. The description adds real behavior beyond that: index hits for removed tables are dropped and counted, stale-series results carry a `newer_series_folder` marker, ids must be passed through unchanged, and scope is Philippines-only. Pagination/truncation behavior beyond the schema's limit field is the main omission.

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?

It is dense and front-loaded, leading with the verb and resource before edge cases. The middle clauses about dropped index hits and `newer_series_folder` are compact but slightly packed together; no sentence is filler.

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?

With an output schema present, the description needn't explain return values, yet it usefully summarizes id/title/last-updated. It covers workflow, edge cases, and geographic scope for a moderately complex search tool. Minor gaps remain around empty-result behavior and result ordering, but nothing blocks correct invocation.

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%, so all three parameters are already documented, including that `folder` ignores `query`. The description reinforces the folder-browsing mode and the id pass-through contract but adds no new syntax or format guidance 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?

The description uses a specific verb ("Find") with a specific resource ("PSA statistical tables") and enumerates the subject domains covered. It also distinguishes itself from siblings by naming psa_ph_table_info and psa_ph_get_data as the downstream consumers of the returned id, so an agent knows this is the discovery entry point rather than a data-retrieval tool.

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?

It gives clear usage context: search by keyword, or pass `folder` to browse the tree instead, and hand the returned id unchanged to the info/data tools. It does not spell out exclusions (e.g. when to prefer company_register_search or ask_pipeworx), but the search-vs-browse-vs-fetch split is unambiguous.

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.