Skip to main content
Glama
ebowwa

Xcode MCP Server

by ebowwa

web_monitor_status

Check the current operational status of web monitoring services to verify availability and identify potential issues in real-time.

Instructions

Get the current status of the web monitor

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • MCP CallToolRequest handler specifically for 'web_monitor_status': calls WebMonitorManager.getStatus() and returns formatted status text.
    if (name === 'web_monitor_status') {
      const status = this.webMonitorManager.getStatus();
      let text = status.running 
        ? `Web monitor is running at ${status.url} (port ${status.port})`
        : 'Web monitor is not running';
      return {
        content: [
          {
            type: 'text',
            text: text
          }
        ]
      };
    }
  • src/index.ts:77-84 (registration)
    Tool registration in webMonitorTools array: defines name, description, and input schema (empty object) for ListTools response.
      name: 'web_monitor_status',
      description: 'Get the current status of the web monitor',
      inputSchema: {
        type: 'object',
        properties: {},
        required: []
      }
    }
  • Input schema for web_monitor_status tool: empty object (no parameters required).
    inputSchema: {
      type: 'object',
      properties: {},
      required: []
    }
  • WebMonitorManager.getStatus(): core logic returning the running status, port, and URL of the web monitor.
    getStatus(): { running: boolean; port?: number; url?: string } {
      if (this.isRunning && this.webServerProcess) {
        return {
          running: true,
          port: this.port,
          url: `http://localhost:${this.port}`
        };
      }
      return { running: false };
    }
  • src/index.ts:87-89 (registration)
    Registers the list of tools including webMonitorTools (with web_monitor_status) for ListToolsRequest.
    this.server.setRequestHandler(ListToolsRequestSchema, async () => ({
      tools: [...tools, ...webMonitorTools],
    }));
Behavior2/5

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

With no annotations provided, the description carries the full burden but only states the basic action without disclosing behavioral traits. It lacks details such as whether this is a read-only operation, what the status output includes (e.g., uptime, errors), or any rate limits, making it insufficient for informed use.

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, direct sentence with no wasted words, making it highly concise and front-loaded. It efficiently communicates the core purpose without unnecessary elaboration.

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 tool's simplicity (0 parameters, no output schema, no annotations), the description is minimal but incomplete. It does not explain what the status entails (e.g., metrics, state) or how it relates to sibling tools, leaving gaps in contextual understanding for effective agent use.

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 with 100% schema description coverage, so no parameter information is needed. The description does not add any parameter details, which is appropriate, but it could have mentioned implicit context (e.g., no inputs required), keeping it slightly above 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 ('Get') and resource ('current status of the web monitor'), making the purpose evident. However, it does not differentiate from siblings like 'start_web_monitor' or 'stop_web_monitor' in terms of scope or output, which prevents 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?

No guidance is provided on when to use this tool versus alternatives. For example, it does not mention if it should be used before starting/stopping the monitor or in conjunction with other tools, leaving usage context unclear.

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/ebowwa/xcode-mcp'

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