Skip to main content
Glama
Observability Agent MCP

Observability Agent MCP

by hmrdkn-labs

observability.query_metrics

Read-onlyIdempotent

Run bounded named metrics queries over a selected time range with optional step and bounds to retrieve observability evidence for analysis.

Instructions

Run a bounded named metrics query.

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": {
      "queryTemplate": "<queryTemplate>"
    },
    "name": "observability.query_metrics"
  }
}

Input Schema

NameRequiredDescriptionDefault
atNo
toNo
fromNo
stepMsNo
queryTemplateYes

Output Schema

NameRequiredDescriptionDefault
dataYes
noticeNo
warningsYes
freshnessYes
truncatedYes
observedAtYes
providerClassYes
schemaVersionYes
redactionsAppliedYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changedv0.3.0
    • changedInput schema / properties / at / pattern
      Previous value: -"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?: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-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"New value: +"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?: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-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
    • changedInput schema / properties / from / pattern
      Previous value: -"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?: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-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"New value: +"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?: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-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
    • changedInput schema / properties / to / pattern
      Previous value: -"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?: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-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"New value: +"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?: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-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
    • changedOutput schema / properties / data / oneOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "queryKind": {
      -        "const": "instant",
      -        "type": "string"
      -      },
      -      "queryTemplate": {
      -        "maxLength": 64,
      -        "minLength": 1,
      -        "pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]*$",
      -        "type": "string"
      -      },
      -      "series": {
      -        "items": {
      -          "additionalProperties": false,
      -          "properties": {
      -            "labels": {
      -              "additionalProperties": {
      -                "maxLength": 256,
      -                "type": "string"
      -              },
      -              "propertyNames": {
      -                "maxLength": 64,
      -                "minLength": 1,
      -                "pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]*$",
      -                "type": "string"
      -              },
      -              "type": "object"
      -            },
      -            "name": {
      -              "maxLength": 64,
      -              "minLength": 1,
      -              "pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]*$",
      -              "type": "string"
      -            },
      -            "samples": {
      -              "items": {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "timestamp": {
      -                    "format": "date-time",
      -                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?: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-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
      -                    "type": "string"
      -                  },
      -                  "value": {
      -                    "type": "number"
      -                  }
      -                },
      -                "required": [
      -                  "timestamp",
      -                  "value"
      -                ],
      -                "type": "object"
      -              },
      -              "maxItems": 1440,
      -              "minItems": 1,
      -              "type": "array"
      -            }
      -          },
      -          "required": [
      -            "name",
      -            "labels",
      -            "samples"
      -          ],
      -          "type": "object"
      -        },
      -        "maxItems": 50,
      -        "type": "array"
      -      }
      -    },
      -    "required": [
      -      "queryTemplate",
      -      "series",
      -      "queryKind"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "from": {
      -        "format": "date-time",
      -        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?: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-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
      -        "type": "string"
      -      },
      -      "queryKind": {
      -        "const": "range",
      -        "type": "string"
      -      },
      -      "queryTemplate": {
      -        "maxLength": 64,
      -        "minLength": 1,
      -        "pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]*$",
      -        "type": "string"
      -      },
      -      "series": {
      -        "items": {
      -          "additionalProperties": false,
      -          "properties": {
      -            "labels": {
      -              "additionalProperties": {
      -                "maxLength": 256,
      -                "type": "string"
      -              },
      -              "propertyNames": {
      -                "maxLength": 64,
      -                "minLength": 1,
      -                "pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]*$",
      -                "type": "string"
      -              },
      -              "type": "object"
      -            },
      -            "name": {
      -              "maxLength": 64,
      -              "minLength": 1,
      -              "pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]*$",
      -              "type": "string"
      -            },
      -            "samples": {
      -              "items": {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "timestamp": {
      -                    "format": "date-time",
      -                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?: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-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
      -                    "type": "string"
      -                  },
      -                  "value": {
      -                    "type": "number"
      -                  }
      -                },
      -                "required": [
      -                  "timestamp",
      -                  "value"
      -                ],
      -                "type": "object"
      -              },
      -              "maxItems": 1440,
      -              "minItems": 1,
      -              "type": "array"
      -            }
      -          },
      -          "required": [
      -            "name",
      -            "labels",
      -            "samples"
      -          ],
      -          "type": "object"
      -        },
      -        "maxItems": 50,
      -        "type": "array"
      -      },
      -      "stepMs": {
      -        "maximum": 3600000,
      -        "minimum": 1000,
      -        "type": "integer"
      -      },
      -      "to": {
      -        "format": "date-time",
      -        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?: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-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "queryTemplate",
      -      "series",
      -      "queryKind",
      -      "from",
      -      "to",
      -      "stepMs"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "queryKind": {
      +        "const": "instant",
      +        "type": "string"
      +      },
      +      "queryTemplate": {
      +        "maxLength": 64,
      +        "minLength": 1,
      +        "pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]*$",
      +        "type": "string"
      +      },
      +      "series": {
      +        "items": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "labels": {
      +              "additionalProperties": {
      +                "maxLength": 256,
      +                "type": "string"
      +              },
      +              "propertyNames": {
      +                "maxLength": 64,
      +                "minLength": 1,
      +                "pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]*$",
      +                "type": "string"
      +              },
      +              "type": "object"
      +            },
      +            "name": {
      +              "maxLength": 64,
      +              "minLength": 1,
      +              "pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]*$",
      +              "type": "string"
      +            },
      +            "samples": {
      +              "items": {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "timestamp": {
      +                    "format": "date-time",
      +                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?: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-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
      +                    "type": "string"
      +                  },
      +                  "value": {
      +                    "type": "number"
      +                  }
      +                },
      +                "required": [
      +                  "timestamp",
      +                  "value"
      +                ],
      +                "type": "object"
      +              },
      +              "maxItems": 1440,
      +              "minItems": 1,
      +              "type": "array"
      +            }
      +          },
      +          "required": [
      +            "name",
      +            "labels",
      +            "samples"
      +          ],
      +          "type": "object"
      +        },
      +        "maxItems": 50,
      +        "type": "array"
      +      }
      +    },
      +    "required": [
      +      "queryTemplate",
      +      "series",
      +      "queryKind"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "from": {
      +        "format": "date-time",
      +        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?: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-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
      +        "type": "string"
      +      },
      +      "queryKind": {
      +        "const": "range",
      +        "type": "string"
      +      },
      +      "queryTemplate": {
      +        "maxLength": 64,
      +        "minLength": 1,
      +        "pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]*$",
      +        "type": "string"
      +      },
      +      "series": {
      +        "items": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "labels": {
      +              "additionalProperties": {
      +                "maxLength": 256,
      +                "type": "string"
      +              },
      +              "propertyNames": {
      +                "maxLength": 64,
      +                "minLength": 1,
      +                "pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]*$",
      +                "type": "string"
      +              },
      +              "type": "object"
      +            },
      +            "name": {
      +              "maxLength": 64,
      +              "minLength": 1,
      +              "pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]*$",
      +              "type": "string"
      +            },
      +            "samples": {
      +              "items": {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "timestamp": {
      +                    "format": "date-time",
      +                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?: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-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
      +                    "type": "string"
      +                  },
      +                  "value": {
      +                    "type": "number"
      +                  }
      +                },
      +                "required": [
      +                  "timestamp",
      +                  "value"
      +                ],
      +                "type": "object"
      +              },
      +              "maxItems": 1440,
      +              "minItems": 1,
      +              "type": "array"
      +            }
      +          },
      +          "required": [
      +            "name",
      +            "labels",
      +            "samples"
      +          ],
      +          "type": "object"
      +        },
      +        "maxItems": 50,
      +        "type": "array"
      +      },
      +      "stepMs": {
      +        "maximum": 3600000,
      +        "minimum": 1000,
      +        "type": "integer"
      +      },
      +      "to": {
      +        "format": "date-time",
      +        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?: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-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "queryTemplate",
      +      "series",
      +      "queryKind",
      +      "from",
      +      "to",
      +      "stepMs"
      +    ],
      +    "type": "object"
      +  }
      +]
    • addedOutput schema / properties / notice
      Added value: +{
      +  "maxLength": 256,
      +  "type": "string"
      +}
    • changedOutput schema / properties / observedAt / pattern
      Previous value: -"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?: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-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"New value: +"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?: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-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
  2. Changed6 schema fields changedv0.2.1
    • removedOutput schema / properties / data / additionalProperties
      Removed value: -false
    • addedOutput schema / properties / data / oneOf
      Added value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "queryKind": {
      +        "const": "instant",
      +        "type": "string"
      +      },
      +      "queryTemplate": {
      +        "maxLength": 64,
      +        "minLength": 1,
      +        "pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]*$",
      +        "type": "string"
      +      },
      +      "series": {
      +        "items": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "labels": {
      +              "additionalProperties": {
      +                "maxLength": 256,
      +                "type": "string"
      +              },
      +              "propertyNames": {
      +                "maxLength": 64,
      +                "minLength": 1,
      +                "pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]*$",
      +                "type": "string"
      +              },
      +              "type": "object"
      +            },
      +            "name": {
      +              "maxLength": 64,
      +              "minLength": 1,
      +              "pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]*$",
      +              "type": "string"
      +            },
      +            "samples": {
      +              "items": {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "timestamp": {
      +                    "format": "date-time",
      +                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?: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-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
      +                    "type": "string"
      +                  },
      +                  "value": {
      +                    "type": "number"
      +                  }
      +                },
      +                "required": [
      +                  "timestamp",
      +                  "value"
      +                ],
      +                "type": "object"
      +              },
      +              "maxItems": 1440,
      +              "minItems": 1,
      +              "type": "array"
      +            }
      +          },
      +          "required": [
      +            "name",
      +            "labels",
      +            "samples"
      +          ],
      +          "type": "object"
      +        },
      +        "maxItems": 50,
      +        "type": "array"
      +      }
      +    },
      +    "required": [
      +      "queryTemplate",
      +      "series",
      +      "queryKind"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "from": {
      +        "format": "date-time",
      +        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?: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-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
      +        "type": "string"
      +      },
      +      "queryKind": {
      +        "const": "range",
      +        "type": "string"
      +      },
      +      "queryTemplate": {
      +        "maxLength": 64,
      +        "minLength": 1,
      +        "pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]*$",
      +        "type": "string"
      +      },
      +      "series": {
      +        "items": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "labels": {
      +              "additionalProperties": {
      +                "maxLength": 256,
      +                "type": "string"
      +              },
      +              "propertyNames": {
      +                "maxLength": 64,
      +                "minLength": 1,
      +                "pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]*$",
      +                "type": "string"
      +              },
      +              "type": "object"
      +            },
      +            "name": {
      +              "maxLength": 64,
      +              "minLength": 1,
      +              "pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]*$",
      +              "type": "string"
      +            },
      +            "samples": {
      +              "items": {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "timestamp": {
      +                    "format": "date-time",
      +                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?: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-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
      +                    "type": "string"
      +                  },
      +                  "value": {
      +                    "type": "number"
      +                  }
      +                },
      +                "required": [
      +                  "timestamp",
      +                  "value"
      +                ],
      +                "type": "object"
      +              },
      +              "maxItems": 1440,
      +              "minItems": 1,
      +              "type": "array"
      +            }
      +          },
      +          "required": [
      +            "name",
      +            "labels",
      +            "samples"
      +          ],
      +          "type": "object"
      +        },
      +        "maxItems": 50,
      +        "type": "array"
      +      },
      +      "stepMs": {
      +        "maximum": 3600000,
      +        "minimum": 1000,
      +        "type": "integer"
      +      },
      +      "to": {
      +        "format": "date-time",
      +        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?: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-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "queryTemplate",
      +      "series",
      +      "queryKind",
      +      "from",
      +      "to",
      +      "stepMs"
      +    ],
      +    "type": "object"
      +  }
      +]
    • removedOutput schema / properties / data / properties
      Removed value: -{
      -  "from": {
      -    "format": "date-time",
      -    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?: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-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
      -    "type": "string"
      -  },
      -  "queryKind": {
      -    "enum": [
      -      "instant",
      -      "range"
      -    ],
      -    "type": "string"
      -  },
      -  "queryTemplate": {
      -    "maxLength": 64,
      -    "minLength": 1,
      -    "pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]*$",
      -    "type": "string"
      -  },
      -  "series": {
      -    "items": {
      -      "additionalProperties": false,
      -      "properties": {
      -        "labels": {
      -          "additionalProperties": {
      -            "maxLength": 256,
      -            "type": "string"
      -          },
      -          "propertyNames": {
      -            "maxLength": 64,
      -            "minLength": 1,
      -            "pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]*$",
      -            "type": "string"
      -          },
      -          "type": "object"
      -        },
      -        "name": {
      -          "maxLength": 64,
      -          "minLength": 1,
      -          "pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]*$",
      -          "type": "string"
      -        },
      -        "samples": {
      -          "items": {
      -            "additionalProperties": false,
      -            "properties": {
      -              "timestamp": {
      -                "format": "date-time",
      -                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?: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-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
      -                "type": "string"
      -              },
      -              "value": {
      -                "type": "number"
      -              }
      -            },
      -            "required": [
      -              "timestamp",
      -              "value"
      -            ],
      -            "type": "object"
      -          },
      -          "maxItems": 1440,
      -          "minItems": 1,
      -          "type": "array"
      -        }
      -      },
      -      "required": [
      -        "name",
      -        "labels",
      -        "samples"
      -      ],
      -      "type": "object"
      -    },
      -    "maxItems": 50,
      -    "type": "array"
      -  },
      -  "stepMs": {
      -    "maximum": 3600000,
      -    "minimum": 1000,
      -    "type": "integer"
      -  },
      -  "to": {
      -    "format": "date-time",
      -    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?: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-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
      -    "type": "string"
      -  }
      -}
    • removedOutput schema / properties / data / required
      Removed value: -[
      -  "queryTemplate",
      -  "queryKind",
      -  "series"
      -]
    • removedOutput schema / properties / data / type
      Removed value: -"object"
    • changedOutput schema / properties / providerClass / enum
      Previous value: -[
      -  "fake",
      -  "grafana",
      -  "prometheus-compatible",
      -  "composite"
      -]New value: +[
      +  "fake",
      +  "grafana",
      +  "prometheus-compatible",
      +  "grafana-alertmanager",
      +  "composite"
      +]
  3. First observedv0.1.0

TDQS

C2.4/5.0
Behavior2/5

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

Annotations already fully declare the safety profile (readOnly, idempotent, non-destructive, closed-world), so the description need only add operational context, and it adds almost none. "Bounded" implies limits on the time range or step, but the actual bounds, defaults, rate limits, or failure behavior are never stated. The one word of added meaning is not enough for a tool with four undocumented operational parameters.

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

Conciseness3/5

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

One short sentence with no padding, so nothing is wasted, but the terseness is under-specification rather than discipline. There is no front-loaded statement of what a caller must supply or what the bounds are.

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?

An output schema exists, so return values need not be explained, but the description omits the essentials an agent needs to call a five-parameter query tool: whether at is exclusive with from/to, what the default time window is, and what "bounded" actually constrains. Relative to the schema's complexity, this is inadequate.

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

Parameters2/5

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

Schema description coverage is 0% across five parameters, so the description must carry the burden and does not. "Named" gestures at queryTemplate and "bounded" at at/from/to/stepMs, but it never explains the template naming convention, how the three timestamp parameters differ (instant vs range), or what unit stepMs expects.

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

Purpose3/5

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

"Run a bounded named metrics query" gives a verb (run) and a resource (metrics query), and the words "named" and "bounded" hint at the template-plus-window shape. But neither term is defined, and nothing distinguishes this from observability.render_panel or observability.render_dashboard, which plausibly also surface metric data. The purpose is only vaguely conveyed.

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?

There is no when-to-use guidance, no mention of when not to use it, and no reference to any sibling tool. An agent has no stated basis for choosing this over render_panel or health_snapshot.

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