Skip to main content
Glama

get_usage_stats

Retrieve usage statistics for PromptCore, including total prompts generated, framework and category distribution, and average complexity scores.

Instructions

Get usage statistics for PromptCore.

Shows total prompts generated, distribution by framework and category, and average complexity scores.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The get_usage_stats function serves as the MCP tool handler for retrieving usage statistics. It calls the storage layer via dependency injection.
    @mcp.tool()
    def get_usage_stats() -> dict:
        """
        Get usage statistics for PromptCore.
    
        Shows total prompts generated, distribution by framework and category,
        and average complexity scores.
        """
        deps = get_dependencies()
        return deps.storage.get_stats()

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/BlinkVoid/PromptSmith'

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