Skip to main content
Glama

portfolio_status

Check your GitHub portfolio repository status to verify its existence, element counts, sync status, and configuration details for proper maintenance.

Instructions

Check the status of your GitHub portfolio repository including repository existence, elements count, sync status, and configuration details.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
usernameNoGitHub username to check portfolio for. If not provided, uses the authenticated user's username.

Implementation Reference

  • Registration of the portfolio_status tool including name, description, input schema, and handler function that delegates to server.portfolioStatus
    { tool: { name: "portfolio_status", description: "Check the status of your GitHub portfolio repository including repository existence, elements count, sync status, and configuration details.", inputSchema: { type: "object", properties: { username: { type: "string", description: "GitHub username to check portfolio for. If not provided, uses the authenticated user's username.", }, }, }, }, handler: (args: PortfolioStatusArgs) => server.portfolioStatus(args?.username) },
  • The core handler function for the portfolio_status tool. It extracts the optional username argument and calls the server's portfolioStatus method.
    handler: (args: PortfolioStatusArgs) => server.portfolioStatus(args?.username)
  • TypeScript interface defining the input arguments for the portfolio_status tool.
    interface PortfolioStatusArgs { username?: string;
  • Interface definition for the server.portfolioStatus method called by the tool handler.
    portfolioStatus(username?: string): Promise<any>;
  • Registration of all portfolio tools (including portfolio_status) into the MCP ToolRegistry during server setup.
    // Portfolio tools (including sync_portfolio with new safety features) this.toolRegistry.registerMany(getPortfolioTools(instance));

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

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