Skip to main content
Glama
PCWProps

Pressable MCP Server

by PCWProps

pressable_get_site_metrics

Retrieve performance metrics for a WordPress site to monitor speed, uptime, and resource usage. Provide the site ID to access detailed analytics.

Instructions

Get performance metrics for a specific site.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes

Implementation Reference

  • The handler for pressable_get_site_metrics executes an API GET request to fetch site metrics.
    handler: async (args) => {
        return await api.get(`/sites/${args.id}/metrics`);
    }
  • The input schema for pressable_get_site_metrics requiring a site 'id'.
    inputSchema: {
        type: 'object',
        properties: { id: { type: 'string' } },
        required: ['id']
    },
  • tools/usage.js:4-15 (registration)
    The tool definition and registration for pressable_get_site_metrics.
    {
        name: 'pressable_get_site_metrics',
        description: 'Get performance metrics for a specific site.',
        inputSchema: {
            type: 'object',
            properties: { id: { type: 'string' } },
            required: ['id']
        },
        handler: async (args) => {
            return await api.get(`/sites/${args.id}/metrics`);
        }
    },
Install Server

Other Tools

Latest Blog Posts

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/PCWProps/pressable-mcp-server'

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