psa_ph_table_info

Pack: psa-ph · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)

No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/psa_ph_table_info for the schema, then POST the same URL with its arguments for the data.

Describe one Philippine Statistics Authority (PSA) table: its title (which carries the unit and base year), its dimensions, how many values each has, and the valid value codes with labels so a selection can be written for psa_ph_get_data. Value codes are positional (“0”, “1”, …); labels are the real names. Pass dimension to list every value of one dimension (optionally filtered with match) when it has more than the preview shows.

Parameters

NameTypeRequiredDescription
table_idstringyesNative table id from psa_ph_search_tables, e.g. “2M/PI/CPI/2018/0012M4ACP09.px”.
dimensionstringnoOptional dimension code or label to list in full, e.g. “Commodity Description”.
matchstringnoWith dimension: only values whose label contains this text.

Example call

Arguments

{
  "table_id": "2M/PI/CPI/2018NEW/0012M4ACP22.px"
}

curl

curl -X POST https://gateway.pipeworx.io/psa-ph/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"psa_ph_table_info","arguments":{"table_id":"2M/PI/CPI/2018NEW/0012M4ACP22.px"}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('psa_ph_table_info', {
  "table_id": "2M/PI/CPI/2018NEW/0012M4ACP22.px"
});

Response shape

FieldTypeDescription
table_idstring
titlestring
data_as_ofstring
sourcestring
dimensionsarray
notestring
Full JSON Schema
{
  "type": "object",
  "properties": {
    "table_id": {
      "type": "string"
    },
    "title": {
      "type": "string"
    },
    "data_as_of": {
      "type": "string"
    },
    "source": {
      "type": "string"
    },
    "dimensions": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "code": {
            "type": "string"
          },
          "label": {
            "type": "string"
          },
          "is_time": {
            "type": "boolean"
          },
          "value_count": {
            "type": "number"
          },
          "values": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "code": {
                  "type": "string"
                },
                "label": {
                  "type": "string"
                }
              },
              "additionalProperties": true
            }
          },
          "values_truncated": {
            "type": "boolean"
          }
        },
        "additionalProperties": true
      }
    },
    "note": {
      "type": "string"
    }
  },
  "additionalProperties": true
}

Connect

Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:

{
  "mcpServers": {
    "pipeworx": {
      "url": "https://pipeworx.io/mcp"
    }
  }
}
Connect to just the psa-ph pack
{
  "mcpServers": {
    "psa-ph": {
      "url": "https://gateway.pipeworx.io/psa-ph/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build November 15, 2026