Skip to main content
Glama

Server Status

server-status
Read-onlyIdempotent

Reports host health and component availability without loading a workspace, helping diagnose startup, tool publication, configuration, plugin status, and unfinished recovery state.

Instructions

Reports Host health without requiring a loaded workspace. Use this to diagnose startup, component availability, tool publication or effective operational policy; use workspace-status for one workspace and get-diagnostics for source findings. detail defaults to Minimal, returning server/Roslyn versions, MSBuild and Code Action component status and toolCount. Full additionally returns effective non-sensitive configuration, startup warnings, plugin status and unfinished recovery records; Standard currently has the same projection as Minimal. This read-only query does not load a workspace, run source diagnostics or repair recovery state. Result: server diagnostics, effective configuration, plugin status, and unfinished recovery state.

Input Schema

NameRequiredDescriptionDefault
detailNoAmount of server status detail to return.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.0.4
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$defs": {
      +    "warningInfo": {
      +      "properties": {
      +        "code": {
      +          "description": "The stable machine-readable warning code.",
      +          "type": "string"
      +        },
      +        "message": {
      +          "description": "The human-readable warning message.",
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "code",
      +        "message"
      +      ],
      +      "type": "object"
      +    }
      +  },
      +  "oneOf": [
      +    {
      +      "properties": {
      +        "data": {
      +          "description": "Tool-specific result payload.",
      +          "properties": {
      +            "codeActions": {
      +              "description": "The code-action component status.",
      +              "properties": {
      +                "isAvailable": {
      +                  "description": "Whether the component is available.",
      +                  "type": "boolean"
      +                },
      +                "message": {
      +                  "description": "The optional status message.",
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "version": {
      +                  "description": "The component version, when available.",
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                }
      +              },
      +              "type": [
      +                "object",
      +                "null"
      +              ]
      +            },
      +            "configuration": {
      +              "description": "The effective non-sensitive server configuration.",
      +              "properties": {
      +                "allowedWorkspaceRootCount": {
      +                  "description": "The number of effective configured Workspace authority roots.",
      +                  "type": "integer"
      +                },
      +                "clientSupportsElicitation": {
      +                  "description": "Whether the connected client advertised MCP elicitation, when known.",
      +                  "type": [
      +                    "boolean",
      +                    "null"
      +                  ]
      +                },
      +                "codeActionReferenceLifetime": {
      +                  "$comment": "Represents a System.TimeSpan value.",
      +                  "description": "The configured code-action reference lifetime.",
      +                  "pattern": "^-?(\\d+\\.)?\\d{2}:\\d{2}:\\d{2}(\\.\\d{1,7})?$",
      +                  "type": "string"
      +                },
      +                "commitConfirmationRequired": {
      +                  "description": "Whether Host confirmation is required before transaction commit.",
      +                  "type": "boolean"
      +                },
      +                "commitConfirmationState": {
      +                  "description": "The current process-local transaction commit-confirmation state.",
      +                  "type": "string"
      +                },
      +                "compilerValidationRequired": {
      +                  "description": "Whether compiler validation is required before transaction commit.",
      +                  "type": "boolean"
      +                },
      +                "defaultMaxResults": {
      +                  "description": "The default maximum collection result count.",
      +                  "type": "integer"
      +                },
      +                "errorReporting": {
      +                  "description": "The effective non-sensitive error-reporting configuration and session state.",
      +                  "properties": {
      +                    "consentMode": {
      +                      "description": "Configured consent policy for submitting error reports.",
      +                      "type": "string"
      +                    },
      +                    "consentState": {
      +                      "description": "Current availability of user consent for error submission.",
      +                      "type": "string"
      +                    },
      +                    "provider": {
      +                      "description": "Configured error-reporting provider.",
      +                      "type": "string"
      +                    }
      +                  },
      +                  "required": [
      +                    "provider",
      +                    "consentMode",
      +                    "consentState"
      +                  ],
      +                  "type": [
      +                    "object",
      +                    "null"
      +                  ]
      +                },
      +                "externalDocumentPolicy": {
      +                  "description": "The policy applied to evaluated documents outside the effective Workspace root.",
      +                  "type": "string"
      +                },
      +                "externalPluginsEnabled": {
      +                  "description": "Whether loading external plugin packages was explicitly enabled at startup.",
      +                  "type": "boolean"
      +                },
      +                "generatedSourceExceptionCount": {
      +                  "description": "The number of configured generated-source path exceptions.",
      +                  "type": "integer"
      +                },
      +                "generatedSourcePolicy": {
      +                  "description": "The policy applied to generated-looking checked-in source.",
      +                  "type": "string"
      +                },
      +                "maxConcurrentQueries": {
      +                  "description": "The configured maximum concurrent query count.",
      +                  "type": "integer"
      +                },
      +                "maxTransactionRevisions": {
      +                  "description": "The configured transaction revision capacity.",
      +                  "type": "integer"
      +                },
      +                "operationalMode": {
      +                  "description": "The selected operational mode.",
      +                  "type": "string"
      +                },
      +                "receiptApprovalRequired": {
      +                  "description": "Whether receipt-bound approval is required before transaction commit.",
      +                  "type": "boolean"
      +                },
      +                "sourceMutationEnabled": {
      +                  "description": "Whether source mutation is enabled.",
      +                  "type": "boolean"
      +                },
      +                "toolOutputSchemaMode": {
      +                  "description": "The configured output schema publication mode.",
      +                  "enum": [
      +                    "Omit",
      +                    "Full"
      +                  ],
      +                  "type": "string"
      +                },
      +                "workspaceAdmission": {
      +                  "description": "Indicates whether Workspace admission is unrestricted or restricted by Host configuration.",
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "operationalMode",
      +                "commitConfirmationState",
      +                "workspaceAdmission",
      +                "externalDocumentPolicy",
      +                "generatedSourcePolicy"
      +              ],
      +              "type": [
      +                "object",
      +                "null"
      +              ]
      +            },
      +            "msBuild": {
      +              "description": "The MSBuild component status.",
      +              "properties": {
      +                "isAvailable": {
      +                  "description": "Whether the component is available.",
      +                  "type": "boolean"
      +                },
      +                "message": {
      +                  "description": "The optional status message.",
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "version": {
      +                  "description": "The component version, when available.",
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                }
      +              },
      +              "type": [
      +                "object",
      +                "null"
      +              ]
      +            },
      +            "plugins": {
      +              "description": "The plugin load results.",
      +              "items": {
      +                "properties": {
      +                  "diagnostics": {
      +                    "description": "The plugin load diagnostics.",
      +                    "items": {
      +                      "properties": {
      +                        "id": {
      +                          "description": "The diagnostic identifier.",
      +                          "type": "string"
      +                        },
      +                        "location": {
      +                          "description": "The optional source location of the diagnostic.",
      +                          "properties": {
      +                            "column": {
      +                              "description": "The one-based column number.",
      +                              "type": "integer"
      +                            },
      +                            "document": {
      +                              "description": "The resolved document.",
      +                              "properties": {
      +                                "documentId": {
      +                                  "description": "The document identifier.",
      +                                  "type": "string"
      +                                },
      +                                "path": {
      +                                  "description": "The normalized document path.",
      +                                  "type": "string"
      +                                },
      +                                "projectId": {
      +                                  "description": "The owning project identifier.",
      +                                  "type": "string"
      +                                }
      +                              },
      +                              "required": [
      +                                "documentId",
      +                                "path",
      +                                "projectId"
      +                              ],
      +                              "type": [
      +                                "object",
      +                                "null"
      +                              ]
      +                            },
      +                            "line": {
      +                              "description": "The one-based line number.",
      +                              "type": "integer"
      +                            },
      +                            "selector": {
      +                              "description": "The canonical selector that can resolve this source location again.",
      +                              "properties": {
      +                                "span": {
      +                                  "properties": {
      +                                    "document": {
      +                                      "description": "Provide exactly one of path or documentId.",
      +                                      "properties": {
      +                                        "documentId": {
      +                                          "description": "Workspace-local document ID.",
      +                                          "type": [
      +                                            "string",
      +                                            "null"
      +                                          ]
      +                                        },
      +                                        "path": {
      +                                          "description": "Workspace-relative path.",
      +                                          "type": [
      +                                            "string",
      +                                            "null"
      +                                          ]
      +                                        },
      +                                        "project": {
      +                                          "description": "Disambiguates documents with matching paths or IDs.",
      +                                          "properties": {
      +                                            "name": {
      +                                              "type": [
      +                                                "string",
      +                                                "null"
      +                                              ]
      +                                            },
      +                                            "path": {
      +                                              "description": "Workspace-relative path.",
      +                                              "type": [
      +                                                "string",
      +                                                "null"
      +                                              ]
      +                                            },
      +                                            "projectId": {
      +                                              "type": [
      +                                                "string",
      +                                                "null"
      +                                              ]
      +                                            },
      +                                            "targetFramework": {
      +                                              "type": [
      +                                                "string",
      +                                                "null"
      +                                              ]
      +                                            }
      +                                          },
      +                                          "type": [
      +                                            "object",
      +                                            "null"
      +                                          ]
      +                                        }
      +                                      },
      +                                      "type": "object"
      +                                    },
      +                                    "range": {
      +                                      "description": "Zero-based UTF-16 range.",
      +                                      "properties": {
      +                                        "length": {
      +                                          "description": "UTF-16 code-unit length.",
      +                                          "maximum": 2147483647,
      +                                          "minimum": 0,
      +                                          "type": "integer"
      +                                        },
      +                                        "start": {
      +                                          "description": "Zero-based UTF-16 offset.",
      +                                          "maximum": 2147483647,
      +                                          "minimum": 0,
      +                                          "type": "integer"
      +                                        }
      +                                      },
      +                                      "type": "object"
      +                                    }
      +                                  },
      +                                  "required": [
      +                                    "document",
      +                                    "range"
      +                                  ],
      +                                  "type": "object"
      +                                }
      +                              },
      +                              "required": [
      +                                "span"
      +                              ],
      +                              "type": [
      +                                "object",
      +                                "null"
      +                              ]
      +                            },
      +                            "snapshot": {
      +                              "description": "The exact immutable workspace snapshot associated with this location.",
      +                              "properties": {
      +                                "snapshotId": {
      +                                  "format": "uuid",
      +                                  "type": "string"
      +                                },
      +                                "transactionRevision": {
      +                                  "type": [
      +                                    "integer",
      +                                    "null"
      +                                  ]
      +                                },
      +                                "workspaceEpoch": {
      +                                  "type": "integer"
      +                                },
      +                                "workspaceId": {
      +                                  "format": "uuid",
      +                                  "type": "string"
      +                                }
      +                              },
      +                              "required": [
      +                                "workspaceId",
      +                                "workspaceEpoch",
      +                                "snapshotId",
      +                                "transactionRevision"
      +                              ],
      +                              "type": "object"
      +                            },
      +                            "span": {
      +                              "description": "The resolved text span.",
      +                              "properties": {
      +                                "length": {
      +                                  "description": "UTF-16 code-unit length.",
      +                                  "maximum": 2147483647,
      +                                  "minimum": 0,
      +                                  "type": "integer"
      +                                },
      +                                "start": {
      +                                  "description": "Zero-based UTF-16 offset.",
      +                                  "maximum": 2147483647,
      +                                  "minimum": 0,
      +                                  "type": "integer"
      +                                }
      +                              },
      +                              "type": [
      +                                "object",
      +                                "null"
      +                              ]
      +                            }
      +                          },
      +                          "required": [
      +                            "snapshot"
      +                          ],
      +                          "type": [
      +                            "object",
      +                            "null"
      +                          ]
      +                        },
      +                        "message": {
      +                          "description": "The diagnostic message.",
      +                          "type": "string"
      +                        },
      +                        "severity": {
      +                          "description": "The diagnostic severity.",
      +                          "enum": [
      +                            "Hidden",
      +                            "Info",
      +                            "Warning",
      +                            "Error"
      +                          ],
      +                          "type": "string"
      +                        }
      +                      },
      +                      "required": [
      +                        "id",
      +                        "message"
      +                      ],
      +                      "type": "object"
      +                    },
      +                    "type": "array"
      +                  },
      +                  "displayName": {
      +                    "description": "The display name, when supplied by the plugin.",
      +                    "type": [
      +                      "string",
      +                      "null"
      +                    ]
      +                  },
      +                  "enabled": {
      +                    "description": "Whether the plugin is enabled.",
      +                    "type": "boolean"
      +                  },
      +                  "pluginId": {
      +                    "description": "The stable plugin identifier, when supplied by the plugin.",
      +                    "type": [
      +                      "string",
      +                      "null"
      +                    ]
      +                  },
      +                  "supportedApiVersion": {
      +                    "description": "The supported plugin API version, when supplied by the plugin.",
      +                    "type": [
      +                      "string",
      +                      "null"
      +                    ]
      +                  },
      +                  "version": {
      +                    "description": "The semantic version, when supplied by the plugin.",
      +                    "type": [
      +                      "string",
      +                      "null"
      +                    ]
      +                  }
      +                },
      +                "type": "object"
      +              },
      +              "type": [
      +                "array",
      +                "null"
      +              ]
      +            },
      +            "recovery": {
      +              "description": "The unfinished recovery state, when present.",
      +              "items": {
      +                "properties": {
      +                  "code": {
      +                    "description": "Stable machine-readable recovery status code, when operator action is required.",
      +                    "type": [
      +                      "string",
      +                      "null"
      +                    ]
      +                  },
      +                  "commitId": {
      +                    "description": "Durable commit identifier associated with the recovery record.",
      +                    "type": "string"
      +                  },
      +                  "message": {
      +                    "description": "Human-readable recovery status or failure detail, when available.",
      +                    "type": [
      +                      "string",
      +                      "null"
      +                    ]
      +                  },
      +                  "solutionPath": {
      +                    "description": "Absolute solution or project path associated with the recovery record, or empty when malformed recovery evidence does not provide a safe path.",
      +                    "type": "string"
      +                  },
      +                  "state": {
      +                    "description": "Current durable commit recovery state.",
      +                    "enum": [
      +                      "Prepared",
      +                      "Applying",
      +                      "Committed",
      +                      "Restored",
      +                      "RecoveryConflict",
      +                      "RecoveryIncomplete"
      +                    ],
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "commitId"
      +                ],
      +                "type": "object"
      +              },
      +              "type": [
      +                "array",
      +                "null"
      +              ]
      +            },
      +            "roslynVersion": {
      +              "description": "The Roslyn version, when available from assembly metadata.",
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "serverVersion": {
      +              "description": "The server version, when available from assembly metadata.",
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "startupWarnings": {
      +              "description": "The startup configuration fallbacks, when expanded detail is requested.",
      +              "items": {
      +                "properties": {
      +                  "code": {
      +                    "description": "The stable machine-readable warning code.",
      +                    "type": "string"
      +                  },
      +                  "message": {
      +                    "description": "The human-readable warning message.",
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "code",
      +                  "message"
      +                ],
      +                "type": "object"
      +              },
      +              "type": [
      +                "array",
      +                "null"
      +              ]
      +            },
      +            "toolCount": {
      +              "description": "The loaded tool count.",
      +              "type": "integer"
      +            }
      +          },
      +          "type": [
      +            "object",
      +            "null"
      +          ]
      +        },
      +        "ok": {
      +          "const": true,
      +          "description": "Whether the tool invocation succeeded."
      +        },
      +        "snapshot": {
      +          "description": "Exact immutable workspace snapshot associated with the result, when available.",
      +          "properties": {
      +            "snapshotId": {
      +              "format": "uuid",
      +              "type": "string"
      +            },
      +            "transactionRevision": {
      +              "type": [
      +                "integer",
      +                "null"
      +              ]
      +            },
      +            "workspaceEpoch": {
      +              "type": "integer"
      +            },
      +            "workspaceId": {
      +              "format": "uuid",
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "workspaceId",
      +            "workspaceEpoch",
      +            "snapshotId",
      +            "transactionRevision"
      +          ],
      +          "type": "object"
      +        },
      +        "warnings": {
      +          "description": "Non-fatal warnings the agent should consider.",
      +          "items": {
      +            "$ref": "#/$defs/warningInfo"
      +          },
      +          "type": "array"
      +        }
      +      },
      +      "required": [
      +        "ok",
      +        "data"
      +      ],
      +      "type": "object"
      +    },
      +    {
      +      "properties": {
      +        "continuation": {
      +          "description": "Action the agent should take before retrying or continuing.",
      +          "oneOf": [
      +            {
      +              "additionalProperties": false,
      +              "properties": {
      +                "instruction": {
      +                  "description": "Agent-facing instruction explaining how to continue.",
      +                  "minLength": 1,
      +                  "type": "string"
      +                },
      +                "kind": {
      +                  "const": "CallTool",
      +                  "description": "Action required before the original request can continue."
      +                },
      +                "tool": {
      +                  "description": "Tool to call before continuing the original request.",
      +                  "minLength": 1,
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "kind",
      +                "tool",
      +                "instruction"
      +              ],
      +              "type": "object"
      +            },
      +            {
      +              "additionalProperties": false,
      +              "properties": {
      +                "instruction": {
      +                  "description": "Agent-facing instruction explaining how to continue.",
      +                  "minLength": 1,
      +                  "type": "string"
      +                },
      +                "kind": {
      +                  "const": "ChooseTool",
      +                  "description": "Action required before the original request can continue."
      +                },
      +                "tools": {
      +                  "description": "Allowed tool choices from which the agent must select one.",
      +                  "items": {
      +                    "description": "Name of a tool the agent may choose.",
      +                    "minLength": 1,
      +                    "type": "string"
      +                  },
      +                  "minItems": 1,
      +                  "type": "array",
      +                  "uniqueItems": true
      +                }
      +              },
      +              "required": [
      +                "kind",
      +                "tools",
      +                "instruction"
      +              ],
      +              "type": "object"
      +            },
      +            {
      +              "additionalProperties": false,
      +              "properties": {
      +                "instruction": {
      +                  "description": "Agent-facing instruction explaining how to continue.",
      +                  "minLength": 1,
      +                  "type": "string"
      +                },
      +                "kind": {
      +                  "const": "RetryRequest",
      +                  "description": "Action required before the original request can continue."
      +                }
      +              },
      +              "required": [
      +                "kind",
      +                "instruction"
      +              ],
      +              "type": "object"
      +            },
      +            {
      +              "additionalProperties": false,
      +              "properties": {
      +                "instruction": {
      +                  "description": "Agent-facing instruction explaining how to continue.",
      +                  "minLength": 1,
      +                  "type": "string"
      +                },
      +                "kind": {
      +                  "const": "ReviseRequest",
      +                  "description": "Action required before the original request can continue."
      +                }
      +              },
      +              "required": [
      +                "kind",
      +                "instruction"
      +              ],
      +              "type": "object"
      +            },
      +            {
      +              "additionalProperties": false,
      +              "properties": {
      +                "instruction": {
      +                  "description": "Agent-facing instruction explaining how to continue.",
      +                  "minLength": 1,
      +                  "type": "string"
      +                },
      +                "kind": {
      +                  "const": "ResolveExternally",
      +                  "description": "Action required before the original request can continue."
      +                }
      +              },
      +              "required": [
      +                "kind",
      +                "instruction"
      +              ],
      +              "type": "object"
      +            }
      +          ]
      +        },
      +        "diagnostics": {
      +          "description": "Diagnostics that explain the failed invocation.",
      +          "items": {
      +            "properties": {
      +              "id": {
      +                "description": "The diagnostic identifier.",
      +                "type": "string"
      +              },
      +              "location": {
      +                "description": "The optional source location of the diagnostic.",
      +                "properties": {
      +                  "column": {
      +                    "description": "The one-based column number.",
      +                    "type": "integer"
      +                  },
      +                  "document": {
      +                    "description": "The resolved document.",
      +                    "properties": {
      +                      "documentId": {
      +                        "description": "The document identifier.",
      +                        "type": "string"
      +                      },
      +                      "path": {
      +                        "description": "The normalized document path.",
      +                        "type": "string"
      +                      },
      +                      "projectId": {
      +                        "description": "The owning project identifier.",
      +                        "type": "string"
      +                      }
      +                    },
      +                    "required": [
      +                      "documentId",
      +                      "path",
      +                      "projectId"
      +                    ],
      +                    "type": [
      +                      "object",
      +                      "null"
      +                    ]
      +                  },
      +                  "line": {
      +                    "description": "The one-based line number.",
      +                    "type": "integer"
      +                  },
      +                  "selector": {
      +                    "description": "The canonical selector that can resolve this source location again.",
      +                    "properties": {
      +                      "span": {
      +                        "properties": {
      +                          "document": {
      +                            "description": "Provide exactly one of path or documentId.",
      +                            "properties": {
      +                              "documentId": {
      +                                "description": "Workspace-local document ID.",
      +                                "type": [
      +                                  "string",
      +                                  "null"
      +                                ]
      +                              },
      +                              "path": {
      +                                "description": "Workspace-relative path.",
      +                                "type": [
      +                                  "string",
      +                                  "null"
      +                                ]
      +                              },
      +                              "project": {
      +                                "description": "Disambiguates documents with matching paths or IDs.",
      +                                "properties": {
      +                                  "name": {
      +                                    "type": [
      +                                      "string",
      +                                      "null"
      +                                    ]
      +                                  },
      +                                  "path": {
      +                                    "description": "Workspace-relative path.",
      +                                    "type": [
      +                                      "string",
      +                                      "null"
      +                                    ]
      +                                  },
      +                                  "projectId": {
      +                                    "type": [
      +                                      "string",
      +                                      "null"
      +                                    ]
      +                                  },
      +                                  "targetFramework": {
      +                                    "type": [
      +                                      "string",
      +                                      "null"
      +                                    ]
      +                                  }
      +                                },
      +                                "type": [
      +                                  "object",
      +                                  "null"
      +                                ]
      +                              }
      +                            },
      +                            "type": "object"
      +                          },
      +                          "range": {
      +                            "description": "Zero-based UTF-16 range.",
      +                            "properties": {
      +                              "length": {
      +                                "description": "UTF-16 code-unit length.",
      +                                "maximum": 2147483647,
      +                                "minimum": 0,
      +                                "type": "integer"
      +                              },
      +                              "start": {
      +                                "description": "Zero-based UTF-16 offset.",
      +                                "maximum": 2147483647,
      +                                "minimum": 0,
      +                                "type": "integer"
      +                              }
      +                            },
      +                            "type": "object"
      +                          }
      +                        },
      +                        "required": [
      +                          "document",
      +                          "range"
      +                        ],
      +                        "type": "object"
      +                      }
      +                    },
      +                    "required": [
      +                      "span"
      +                    ],
      +                    "type": [
      +                      "object",
      +                      "null"
      +                    ]
      +                  },
      +                  "snapshot": {
      +                    "description": "The exact immutable workspace snapshot associated with this location.",
      +                    "properties": {
      +                      "snapshotId": {
      +                        "format": "uuid",
      +                        "type": "string"
      +                      },
      +                      "transactionRevision": {
      +                        "type": [
      +                          "integer",
      +                          "null"
      +                        ]
      +                      },
      +                      "workspaceEpoch": {
      +                        "type": "integer"
      +                      },
      +                      "workspaceId": {
      +                        "format": "uuid",
      +                        "type": "string"
      +                      }
      +                    },
      +                    "required": [
      +                      "workspaceId",
      +                      "workspaceEpoch",
      +                      "snapshotId",
      +                      "transactionRevision"
      +                    ],
      +                    "type": "object"
      +                  },
      +                  "span": {
      +                    "description": "The resolved text span.",
      +                    "properties": {
      +                      "length": {
      +                        "description": "UTF-16 code-unit length.",
      +                        "maximum": 2147483647,
      +                        "minimum": 0,
      +                        "type": "integer"
      +                      },
      +                      "start": {
      +                        "description": "Zero-based UTF-16 offset.",
      +                        "maximum": 2147483647,
      +                        "minimum": 0,
      +                        "type": "integer"
      +                      }
      +                    },
      +                    "type": [
      +                      "object",
      +                      "null"
      +                    ]
      +                  }
      +                },
      +                "required": [
      +                  "snapshot"
      +                ],
      +                "type": [
      +                  "object",
      +                  "null"
      +                ]
      +              },
      +              "message": {
      +                "description": "The diagnostic message.",
      +                "type": "string"
      +              },
      +              "severity": {
      +                "description": "The diagnostic severity.",
      +                "enum": [
      +                  "Hidden",
      +                  "Info",
      +                  "Warning",
      +                  "Error"
      +                ],
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "id",
      +              "message"
      +            ],
      +            "type": "object"
      +          },
      +          "type": "array"
      +        },
      +        "error": {
      +          "description": "Structured error details when the invocation failed.",
      +          "properties": {
      +            "code": {
      +              "description": "Stable machine-readable error code.",
      +              "type": "string"
      +            },
      +            "correlationId": {
      +              "description": "Correlation identifier for matching the failure to server-side diagnostics, when available.",
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "message": {
      +              "description": "Human-readable explanation of the failure.",
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "code",
      +            "message"
      +          ],
      +          "type": "object"
      +        },
      +        "ok": {
      +          "const": false,
      +          "description": "Whether the tool invocation succeeded."
      +        },
      +        "warnings": {
      +          "description": "Non-fatal warnings the agent should consider.",
      +          "items": {
      +            "$ref": "#/$defs/warningInfo"
      +          },
      +          "type": "array"
      +        }
      +      },
      +      "required": [
      +        "ok",
      +        "error"
      +      ],
      +      "type": "object"
      +    },
      +    {
      +      "properties": {
      +        "diagnostics": {
      +          "description": "Diagnostics that explain the failed invocation.",
      +          "properties": {
      +            "detailsAvailable": {
      +              "const": true
      +            },
      +            "detailsTool": {
      +              "const": "get-error-details"
      +            }
      +          },
      +          "required": [
      +            "detailsAvailable",
      +            "detailsTool"
      +          ],
      +          "type": "object"
      +        },
      +        "error": {
      +          "description": "Structured error details when the invocation failed.",
      +          "properties": {
      +            "code": {
      +              "const": "UnhandledException"
      +            },
      +            "correlationId": {
      +              "format": "uuid",
      +              "type": "string"
      +            },
      +            "message": {
      +              "const": "Tool execution failed."
      +            }
      +          },
      +          "required": [
      +            "code",
      +            "message",
      +            "correlationId"
      +          ],
      +          "type": "object"
      +        },
      +        "ok": {
      +          "const": false,
      +          "description": "Whether the tool invocation succeeded."
      +        },
      +        "reporting": {
      +          "description": "Error-reporting workflow available for an unhandled failure.",
      +          "properties": {
      +            "canPrepare": {
      +              "type": "boolean"
      +            },
      +            "prepareTool": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "state": {
      +              "enum": [
      +                "Available",
      +                "AlwaysApproved",
      +                "DisabledByConfiguration",
      +                "ApprovalUnavailable"
      +              ],
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "state"
      +          ],
      +          "type": "object"
      +        }
      +      },
      +      "required": [
      +        "ok",
      +        "error",
      +        "diagnostics"
      +      ],
      +      "type": "object"
      +    }
      +  ],
      +  "type": "object"
      +}
  2. First observedv1.0.2

TDQS

A4.9/5.0
Behavior5/5

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

Annotations already declare the read-only/idempotent/non-destructive profile, yet the description still adds substantive behavior: that no workspace is loaded, no diagnostics are run, and recovery state is not repaired, plus that "Full" redacts to non-sensitive configuration. These are operational facts an agent cannot get from the annotation block alone.

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

Conciseness4/5

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

Routing guidance is front-loaded and the detail-level breakdown follows logically. The closing "Result: ..." sentence largely restates the projection list already enumerated, costing some tightness in an otherwise dense paragraph.

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

Completeness5/5

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

An output schema exists, so return values did not need explaining, yet the description still characterizes the projection per detail level and what the tool deliberately will not do. For a single-optional-parameter diagnostic read, nothing an agent needs to invoke it correctly is missing.

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

Parameters5/5

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

Schema coverage is already 100%, so the baseline is 3, but the description goes further by spelling out what each enum value projects (Minimal = versions, MSBuild and Code Action component status, toolCount; Full = configuration, warnings, plugin status, recovery records) and notes Standard currently equals Minimal. That is meaning the one-line schema property description does not convey.

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

Purpose5/5

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

The description opens with a specific verb and resource ("Reports Host health") and immediately adds a scope qualifier ("without requiring a loaded workspace") that separates it from workspace-bound tools. It then explicitly names the siblings it is not (workspace-status, get-diagnostics), so an agent can discriminate without opening any schema.

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

Usage Guidelines5/5

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

It gives positive routing guidance ("use this to diagnose startup, component availability, tool publication or effective operational policy") and pairs each sibling with the condition that would select it instead. It also states exclusions clearly ("does not load a workspace, run source diagnostics or repair recovery state").

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