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>;
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries full burden but only states what information is retrieved without disclosing behavioral traits like authentication requirements, rate limits, error conditions, or response format. It mentions 'authenticated user's username' in the schema, but the description doesn't elaborate on authentication needs or other operational details.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, well-structured sentence that efficiently conveys the tool's purpose and key outputs. It is front-loaded with the main action and resource, followed by specific details, with no wasted words or redundant information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given 1 parameter with full schema coverage and no output schema, the description adequately covers the tool's purpose and outputs. However, as a read operation with no annotations, it lacks details on authentication, error handling, or return structure, which are important for contextual understanding despite the simple parameter set.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema has 100% description coverage, so the baseline is 3. The description adds value by clarifying the scope of the check (repository existence, elements count, sync status, configuration details), which provides context beyond the single 'username' parameter documented in the schema. With 0 parameters requiring additional semantics, this exceeds baseline.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the action ('Check') and resource ('GitHub portfolio repository'), specifying what information is retrieved (existence, elements count, sync status, configuration details). It distinguishes from siblings like 'portfolio_config' (which likely manages configuration) and 'sync_portfolio' (which performs synchronization), but doesn't explicitly contrast them.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies usage for checking portfolio status, but doesn't explicitly state when to use this tool versus alternatives like 'portfolio_config' (for configuration details) or 'sync_portfolio' (for sync status). It provides basic context but lacks explicit when/when-not guidance or named alternatives.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

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

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