Skip to main content
Glama

PI API MCP Server

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Schema

Prompts

Interactive templates invoked by user choice

NameDescription
analyze-categoriesAnalyze categories in the dashboard
analyze-chartsAnalyze charts in the dashboard
compare-chartsCompare data between two charts
category-usage-analysisAnalyze how categories are being used in charts
use-filtersShows how to use filters effectively with this API

Resources

Contextual data attached and managed by the client

NameDescription
auth-status
categories-list
charts-list

Tools

Functions exposed to the LLM to take actions

NameDescription
get-filterable-attributes

Get the list of attributes that can be used for filtering by examining a sample entity

check-connection

Check if the current API URL and authentication are valid

set-api-url

Set the API base URL for all requests

authenticate

Guide for authenticating with the PI API

keep-session-alive

Verify and refresh the current authentication token (also used for token-based authentication)

authenticate-with-credentials

Authenticate with the PI API using username and password (last resort option)

logout

Invalidate the current token and end the session

set-organization

Set the organization ID for subsequent requests

list-categories

List all categories with filtering support

get-category

Get a category by ID

create-category

Create a new category

update-category

Update an existing category

delete-category

Delete a category

list-category-objects

List all objects for a specific category

list-charts

List all charts with filtering support

get-chart

Get a chart by ID

delete-chart

Delete a chart

export-chart

Export a chart in various formats

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/mingzilla/pi-api-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server