Skip to main content
Glama

portfolio_status

Check GitHub portfolio repository status to verify existence, element counts, sync status, and configuration details for any GitHub user.

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

  • Tool registration, schema, and handler for 'portfolio_status'. Defines the tool name, description, input schema, and handler function that delegates to server.portfolioStatus(username).
    { 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 executing handler function for the portfolio_status tool.
    handler: (args: PortfolioStatusArgs) => server.portfolioStatus(args?.username)
  • Type definition for portfolio_status input arguments.
    interface PortfolioStatusArgs { username?: string; }
  • Registers all portfolio tools, including portfolio_status, via getPortfolioTools.
    // Portfolio tools (including sync_portfolio with new safety features) this.toolRegistry.registerMany(getPortfolioTools(instance));
  • Interface definition for the underlying portfolioStatus method called by the handler.
    portfolioStatus(username?: string): Promise<any>;

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

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