Skip to main content
Glama

listDiagnoses

Read-onlyIdempotent

Lists the diagnoses by rule engines for one violator of rules belonging to one issue in one report, each with a description and severity. Call this after listViolators to continue drilling down. Requires a reportID, issueID, and catalogIndex (element identifier) from listViolators. After this tool, if you want to question a diagnosis, call questionDiagnosis. If you want the entire JSON report for analysis outside Kilotest, call getReport instead of listIssues, listViolators, or this tool.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "issueID": "<issueID>",
      "reportID": "<reportID>",
      "catalogIndex": "<catalogIndex>"
    },
    "name": "listDiagnoses"
  }
}

Input Schema

NameRequiredDescriptionDefault
issueIDYesIssue identifier (example: contrastPoor), as listed in the listIssues output for the same report
reportIDYesIdentifier of the report, formatted YYMMDDTHHMM-xxx (example: 260503T0432-x9z), as shown in the listPages output or a listIssues report history
catalogIndexYesIdentifier of the issue-exhibiting element in the catalog of elements on the page (example: 372), as shown in the listViolators output

Output Schema

NameRequiredDescriptionDefault
tool nameYes
this requestYes
tool collectionYes
response contentYes
response metadataYes
URLs of similar requests for web usersYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed7 schema fields changed
    • addedOutput schema / definitions / PageSite
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "identifier": {
      +      "description": "Identifier of the site (example: s-2fw2ea).",
      +      "type": "string"
      +    },
      +    "name": {
      +      "description": "Current name of the site.",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "identifier",
      +    "name"
      +  ],
      +  "type": "object"
      +}
    • addedOutput schema / definitions / ReportBasics / properties / tested web page / $ref
      Added value: +"#/definitions/TestedPage"
    • removedOutput schema / definitions / ReportBasics / properties / tested web page / additionalProperties
      Removed value: -false
    • removedOutput schema / definitions / ReportBasics / properties / tested web page / properties
      Removed value: -{
      -  "URL": {
      -    "type": "string"
      -  },
      -  "description": {
      -    "type": "string"
      -  }
      -}
    • removedOutput schema / definitions / ReportBasics / properties / tested web page / required
      Removed value: -[
      -  "description",
      -  "URL"
      -]
    • removedOutput schema / definitions / ReportBasics / properties / tested web page / type
      Removed value: -"object"
    • addedOutput schema / definitions / TestedPage
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "URL": {
      +      "description": "URL of the page as tested for this report.",
      +      "type": "string"
      +    },
      +    "identifier": {
      +      "description": "Identifier of the page (example: p-l6vni7ua).",
      +      "type": "string"
      +    },
      +    "name": {
      +      "description": "Current name of the page, distinguishing it from the other pages of its site.",
      +      "type": "string"
      +    },
      +    "sites": {
      +      "description": "The sites that the page belongs to (currently always one).",
      +      "items": {
      +        "$ref": "#/definitions/PageSite"
      +      },
      +      "type": "array"
      +    }
      +  },
      +  "required": [
      +    "identifier",
      +    "name",
      +    "sites",
      +    "URL"
      +  ],
      +  "type": "object"
      +}
  2. Changed7 schema fields changed
    • changedInput schema / properties / catalogIndex / description
      Previous value: -"Identifier of the issue-exhibiting element in the catalog of elements on the page (example: 372)"New value: +"Identifier of the issue-exhibiting element in the catalog of elements on the page (example: 372), as shown in the listViolators output"
    • addedInput schema / properties / catalogIndex / pattern
      Added value: +"^\\d+$"
    • changedInput schema / properties / issueID / description
      Previous value: -"Issue identifier (example: contrastPoor)"New value: +"Issue identifier (example: contrastPoor), as listed in the listIssues output for the same report"
    • changedInput schema / properties / reportID / description
      Previous value: -"Identifier of the report (example: 260503T0432-x9z)"New value: +"Identifier of the report, formatted YYMMDDTHHMM-xxx (example: 260503T0432-x9z), as shown in the listPages output or a listIssues report history"
    • addedInput schema / properties / reportID / pattern
      Added value: +"^\\d{2}(?:(?:0[13578]|1[02])(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)(?:0[1-9]|[12]\\d|30)|02(?:0[1-9]|1\\d|2[0-9]))T(?:[01]\\d|2[0-3])[0-5]\\d-[a-z0-9]{3}$"
    • changedInput schema / required
      Previous value: -[
      -  "catalogIndex",
      -  "issueID",
      -  "reportID"
      -]New value: +[
      +  "issueID",
      +  "reportID",
      +  "catalogIndex"
      +]
    • changedOutput schema / properties / response content / properties / diagnoses of how the element exhibited the issue / anyOf
      Previous value: -[
      -  {
      -    "anyOf": [
      -      {
      -        "items": {
      -          "additionalProperties": false,
      -          "properties": {
      -            "count of violations of the rule by the element": {
      -              "type": "number"
      -            },
      -            "description of the violation": {
      -              "description": "Copied from the report instance (what); type not guaranteed."
      -            },
      -            "how to report that you disagree with this diagnosis": {
      -              "additionalProperties": false,
      -              "properties": {
      -                "URL": {
      -                  "type": "string"
      -                },
      -                "method": {
      -                  "const": "POST",
      -                  "type": "string"
      -                },
      -                "request body": {
      -                  "additionalProperties": false,
      -                  "properties": {
      -                    "engineID": {
      -                      "type": "string"
      -                    },
      -                    "reason": {
      -                      "type": "string"
      -                    },
      -                    "ruleID": {
      -                      "type": "string"
      -                    }
      -                  },
      -                  "required": [
      -                    "engineID",
      -                    "ruleID",
      -                    "reason"
      -                  ],
      -                  "type": "object"
      -                }
      -              },
      -              "required": [
      -                "method",
      -                "URL",
      -                "request body"
      -              ],
      -              "type": "object"
      -            },
      -            "identifier of the rule engine": {
      -              "description": "Copied from the report act (which); type not guaranteed."
      -            },
      -            "identifier of the violated rule": {
      -              "description": "Copied from the report instance (ruleID); type not guaranteed."
      -            },
      -            "severity of the violation on a 0-to-3 scale": {
      -              "description": "Copied from the report instance (ordinalSeverity); type not guaranteed."
      -            }
      -          },
      -          "required": [
      -            "identifier of the rule engine",
      -            "identifier of the violated rule",
      -            "description of the violation",
      -            "severity of the violation on a 0-to-3 scale",
      -            "count of violations of the rule by the element",
      -            "how to report that you disagree with this diagnosis"
      -          ],
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      {
      -        "additionalProperties": false,
      -        "properties": {
      -          "error": {
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "error"
      -        ],
      -        "type": "object"
      -      }
      -    ]
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "anyOf": [
      +      {
      +        "items": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "count of violations of the rule by the element": {
      +              "type": "number"
      +            },
      +            "description of the violation": {
      +              "description": "Copied from the report instance (what); type not guaranteed."
      +            },
      +            "how to question this diagnosis": {
      +              "additionalProperties": false,
      +              "properties": {
      +                "URL": {
      +                  "type": "string"
      +                },
      +                "method": {
      +                  "const": "POST",
      +                  "type": "string"
      +                },
      +                "request body": {
      +                  "additionalProperties": false,
      +                  "properties": {
      +                    "engineID": {
      +                      "type": "string"
      +                    },
      +                    "reason": {
      +                      "type": "string"
      +                    },
      +                    "ruleID": {
      +                      "type": "string"
      +                    }
      +                  },
      +                  "required": [
      +                    "engineID",
      +                    "ruleID",
      +                    "reason"
      +                  ],
      +                  "type": "object"
      +                }
      +              },
      +              "required": [
      +                "method",
      +                "URL",
      +                "request body"
      +              ],
      +              "type": "object"
      +            },
      +            "identifier of the rule engine": {
      +              "description": "Copied from the report act (which); type not guaranteed."
      +            },
      +            "identifier of the violated rule": {
      +              "description": "Copied from the report instance (ruleID); type not guaranteed."
      +            },
      +            "severity of the violation on a 0-to-3 scale": {
      +              "description": "Copied from the report instance (ordinalSeverity); type not guaranteed."
      +            }
      +          },
      +          "required": [
      +            "identifier of the rule engine",
      +            "identifier of the violated rule",
      +            "description of the violation",
      +            "severity of the violation on a 0-to-3 scale",
      +            "count of violations of the rule by the element",
      +            "how to question this diagnosis"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      {
      +        "additionalProperties": false,
      +        "properties": {
      +          "error": {
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "error"
      +        ],
      +        "type": "object"
      +      }
      +    ]
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
  3. Changed6 schema fields changed
    • addedOutput schema / definitions / ToolsFacts / properties / description / properties / how to generate more findings / properties / approval
      Added value: +{
      +  "type": "string"
      +}
    • removedOutput schema / definitions / ToolsFacts / properties / description / properties / how to generate more findings / properties / confirmation
      Removed value: -{
      -  "type": "string"
      -}
    • addedOutput schema / definitions / ToolsFacts / properties / description / properties / how to generate more findings / properties / order confirmation
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / definitions / ToolsFacts / properties / description / properties / how to generate more findings / properties / request confirmation
      Added value: +{
      +  "type": "string"
      +}
    • changedOutput schema / definitions / ToolsFacts / properties / description / properties / how to generate more findings / required
      Previous value: -[
      -  "new testing",
      -  "retesting",
      -  "latency",
      -  "confirmation"
      -]New value: +[
      +  "new testing",
      +  "retesting",
      +  "approval",
      +  "latency",
      +  "request confirmation",
      +  "order confirmation"
      +]
    • changedOutput schema / properties / response content / properties / diagnoses of how the element exhibited the issue / anyOf
      Previous value: -[
      -  {
      -    "anyOf": [
      -      {
      -        "items": {
      -          "additionalProperties": false,
      -          "properties": {
      -            "count of violations of the rule by the element": {
      -              "type": "number"
      -            },
      -            "description of the violation": {
      -              "description": "Copied from the report instance (what); type not guaranteed."
      -            },
      -            "identifier of the violated rule": {
      -              "description": "Copied from the report instance (ruleID); type not guaranteed."
      -            },
      -            "severity of the violation on a 0-to-3 scale": {
      -              "description": "Copied from the report instance (ordinalSeverity); type not guaranteed."
      -            }
      -          },
      -          "required": [
      -            "identifier of the violated rule",
      -            "description of the violation",
      -            "severity of the violation on a 0-to-3 scale",
      -            "count of violations of the rule by the element"
      -          ],
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      {
      -        "additionalProperties": false,
      -        "properties": {
      -          "error": {
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "error"
      -        ],
      -        "type": "object"
      -      }
      -    ]
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "anyOf": [
      +      {
      +        "items": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "count of violations of the rule by the element": {
      +              "type": "number"
      +            },
      +            "description of the violation": {
      +              "description": "Copied from the report instance (what); type not guaranteed."
      +            },
      +            "how to report that you disagree with this diagnosis": {
      +              "additionalProperties": false,
      +              "properties": {
      +                "URL": {
      +                  "type": "string"
      +                },
      +                "method": {
      +                  "const": "POST",
      +                  "type": "string"
      +                },
      +                "request body": {
      +                  "additionalProperties": false,
      +                  "properties": {
      +                    "engineID": {
      +                      "type": "string"
      +                    },
      +                    "reason": {
      +                      "type": "string"
      +                    },
      +                    "ruleID": {
      +                      "type": "string"
      +                    }
      +                  },
      +                  "required": [
      +                    "engineID",
      +                    "ruleID",
      +                    "reason"
      +                  ],
      +                  "type": "object"
      +                }
      +              },
      +              "required": [
      +                "method",
      +                "URL",
      +                "request body"
      +              ],
      +              "type": "object"
      +            },
      +            "identifier of the rule engine": {
      +              "description": "Copied from the report act (which); type not guaranteed."
      +            },
      +            "identifier of the violated rule": {
      +              "description": "Copied from the report instance (ruleID); type not guaranteed."
      +            },
      +            "severity of the violation on a 0-to-3 scale": {
      +              "description": "Copied from the report instance (ordinalSeverity); type not guaranteed."
      +            }
      +          },
      +          "required": [
      +            "identifier of the rule engine",
      +            "identifier of the violated rule",
      +            "description of the violation",
      +            "severity of the violation on a 0-to-3 scale",
      +            "count of violations of the rule by the element",
      +            "how to report that you disagree with this diagnosis"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      {
      +        "additionalProperties": false,
      +        "properties": {
      +          "error": {
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "error"
      +        ],
      +        "type": "object"
      +      }
      +    ]
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
  4. Changed5 schema fields changed
    • removedInput schema / properties / jobID
      Removed value: -{
      -  "description": "Job identifier of the report (example: x9z)",
      -  "type": "string"
      -}
    • addedInput schema / properties / reportID
      Added value: +{
      +  "description": "Identifier of the report (example: 260503T0432-x9z)",
      +  "type": "string"
      +}
    • removedInput schema / properties / timeStamp
      Removed value: -{
      -  "description": "Timestamp of the report in YYMMDDTHHmm format (example: 260503T0432)",
      -  "type": "string"
      -}
    • changedInput schema / required
      Previous value: -[
      -  "catalogIndex",
      -  "issueID",
      -  "timeStamp",
      -  "jobID"
      -]New value: +[
      +  "catalogIndex",
      +  "issueID",
      +  "reportID"
      +]
    • changedOutput schema / definitions / ReportBasics / properties / identifier / description
      Previous value: -"timeStamp-jobID identifier of the report."New value: +"Identifier of the report (example: 260503T0432-x9z)."
  5. Changed2 schema fields changed
    • removedOutput schema / definitions / RequestReference / properties / method / const
      Removed value: -"GET"
    • addedOutput schema / definitions / RequestReference / properties / method / enum
      Added value: +[
      +  "GET",
      +  "POST"
      +]
  6. Changed2 schema fields changed
    • changedOutput schema / definitions / ReportBasics / properties / days since the report was completed / type
      Previous value: -"number"New value: +[
      +  "number",
      +  "null"
      +]
    • changedOutput schema / properties / response content / properties / diagnoses of how the element exhibited the issue / anyOf
      Previous value: -[
      -  {
      -    "items": {
      -      "additionalProperties": false,
      -      "properties": {
      -        "count of violations of the rule by the element": {
      -          "type": "number"
      -        },
      -        "description of the violation": {
      -          "description": "Copied from the report instance (what); type not guaranteed."
      -        },
      -        "identifier of the violated rule": {
      -          "description": "Copied from the report instance (ruleID); type not guaranteed."
      -        },
      -        "severity of the violation on a 0-to-3 scale": {
      -          "description": "Copied from the report instance (ordinalSeverity); type not guaranteed."
      -        }
      -      },
      -      "required": [
      -        "identifier of the violated rule",
      -        "description of the violation",
      -        "severity of the violation on a 0-to-3 scale",
      -        "count of violations of the rule by the element"
      -      ],
      -      "type": "object"
      -    },
      -    "type": "array"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "error": {
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "error"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "anyOf": [
      +      {
      +        "items": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "count of violations of the rule by the element": {
      +              "type": "number"
      +            },
      +            "description of the violation": {
      +              "description": "Copied from the report instance (what); type not guaranteed."
      +            },
      +            "identifier of the violated rule": {
      +              "description": "Copied from the report instance (ruleID); type not guaranteed."
      +            },
      +            "severity of the violation on a 0-to-3 scale": {
      +              "description": "Copied from the report instance (ordinalSeverity); type not guaranteed."
      +            }
      +          },
      +          "required": [
      +            "identifier of the violated rule",
      +            "description of the violation",
      +            "severity of the violation on a 0-to-3 scale",
      +            "count of violations of the rule by the element"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      {
      +        "additionalProperties": false,
      +        "properties": {
      +          "error": {
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "error"
      +        ],
      +        "type": "object"
      +      }
      +    ]
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
  7. First observed

TDQS

A4.4/5.0
Behavior4/5

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

The annotations already declare read-only, idempotent, closed-world, non-destructive behavior, so the description only needs to add context. It does: it explains the dependency chain that must be satisfied before calling, what each returned diagnosis carries, and the escape hatch to getReport for offline analysis. It does not mention pagination or result-size limits, which is the only remaining behavioral gap.

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?

Front-loaded with the purpose, then sequencing, then alternatives — a logical order with no wasted filler. The final sentence about getReport is comparatively dense but still earns its place as a routing instruction.

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?

For a three-required-parameter drill-down tool with an output schema and full annotation coverage, nothing an agent needs is missing: prerequisites, next step, alternative, and return contents are all stated. The output schema handles return value structure.

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

Parameters3/5

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

Schema coverage is 100% and the schema descriptions already give examples and state that each identifier comes from listIssues, listViolators, or listPages output. The description restates that all three IDs are required and originate from listViolators, adding provenance confirmation but no new syntax or format meaning. Baseline 3 is appropriate when the schema does the heavy lifting.

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?

States a specific verb and resource ('Lists the diagnoses by rule engines') and narrows the scope precisely: one violator, from one issue, in one report. It also says what each item contains (description and severity), which lets an agent distinguish it from listIssues and listViolators without opening the 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?

Explicit sequencing ('Call this after listViolators to continue drilling down'), an explicit follow-up for the natural next action ('if you want to question a diagnosis, call questionDiagnosis'), and an explicit alternative ('call getReport instead of listIssues, listViolators, or this tool'). Both when-to-use and when-to-use-something-else are covered.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.