Skip to main content
Glama

project_status

Monitor active project TCP servers to track operational status and connectivity for project management oversight.

Instructions

Get status of all active project TCP servers

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • Registration of the 'project_status' tool, including its description, empty schema, and inline async handler that fetches active projects via serverManager.getActiveProjects() and returns a formatted Markdown status report or error message.
    server.tool(
      "project_status",
      "Get status of all active project TCP servers",
      {},
      async () => {
        try {
          const projects = serverManager.getActiveProjects();
          
          if (projects.length === 0) {
            return {
              content: [
                {
                  type: "text",
                  text: `šŸ“Š **Status Server Progetti**\n\nāŒ Nessun progetto attivo.`
                }
              ]
            };
          }
          
          let statusText = `šŸ“Š **Status Server Progetti** (${projects.length} attivi)\n\n`;
          
          projects.forEach((project, index) => {
            statusText += `**${index + 1}. ${project.projectName}**\n`;
            statusText += `   • ID: ${project.projectId}\n`;
            statusText += `   • Porta TCP: ${project.port}\n`;
            statusText += `   • PID: ${project.pid}\n`;
            statusText += `   • Status: ${project.status}\n`;
            statusText += `   • Avviato: ${project.startTime}\n`;
            statusText += `   • Path: \`${project.projectPath}\`\n\n`;
          });
          
          return {
            content: [
              {
                type: "text",
                text: statusText
              }
            ]
          };
        } catch (error) {
          return {
            content: [
              {
                type: "text",
                text: `āŒ **Errore:** ${error instanceof Error ? error.message : String(error)}`
              }
            ]
          };
        }
      }
    );
  • The getActiveProjects() method of the ProjectServerManager class (aliased as serverManager), which retrieves the list of currently active project servers with their details, used by the project_status tool handler.
    getActiveProjects() {
      const projects = [];
      for (const [projectId, serverInfo] of this.activeServers) {
        projects.push({
          projectId,
          projectName: serverInfo.projectName,
          projectPath: serverInfo.projectPath,
          port: serverInfo.port,
          pid: serverInfo.pid,
          status: serverInfo.status,
          startTime: serverInfo.startTimeString
        });
      }
      return projects;
Behavior2/5

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

No annotations are provided, so the description carries the full burden. It states it's a read operation ('Get'), implying it's non-destructive, but doesn't disclose any behavioral traits such as authentication needs, rate limits, or what the output format looks like (e.g., list of servers, health status). This leaves significant gaps for an agent to understand how to use it effectively.

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, clear sentence that directly states the tool's purpose without any unnecessary words. It's front-loaded and efficiently communicates the core functionality, making it easy for an agent to parse quickly.

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

Completeness2/5

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

Given the complexity of checking server statuses and the lack of annotations and output schema, the description is incomplete. It doesn't explain what 'status' entails (e.g., running, stopped, error codes) or the return format, leaving the agent uncertain about the tool's behavior and output. This is inadequate for a tool that likely returns structured data.

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 tool has 0 parameters, and the input schema has 100% description coverage (though empty). The description doesn't need to add parameter information, so it meets the baseline expectation for a parameterless tool. No additional semantic value is required or provided.

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 ('Get status') and resource ('all active project TCP servers'), making the purpose understandable. However, it doesn't differentiate from sibling tools like 'project_instances_status' or 'project_health_check' which might overlap in functionality, preventing a perfect score.

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

Usage Guidelines2/5

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

The description provides no guidance on when to use this tool versus alternatives. With siblings like 'project_instances_status' and 'project_health_check' that might offer similar status checks, there's no indication of when this specific tool is preferred or what distinguishes it from them.

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/multiluca2020/visum-thinker-mcp-server'

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