Skip to main content
Glama

Opsphere — DevOps & SRE Intelligence

Resumen de errores del entorno

env_errors_overview
Read-only

Devuelve un resumen enfocado en errores de un entorno: top servicios con errores, mensajes frecuentes, y posibles causas raíz. El resultado incluye _signatureAscii: un gráfico ASCII de barras. Incluye siempre el contenido de _signatureAscii al final de tu respuesta en un bloque de código (```text) para que el usuario vea el gráfico.

Input Schema

NameRequiredDescriptionDefault
envYesNombre del entorno (INT, TST, PRE, PRD, etc.)
hoursNoVentana temporal hacia atrás en horas
context_idNoOptional explicit Connection Hub work context (ctx_*). Omit to use the conversation's active workspace; global Hub tools ignore it.

Output Schema

NameRequiredDescriptionDefault
okYes
dataYes
contractVersionYes
dataSchemaVersionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed26 schema fields changed
    • changedOutput schema / properties / data / additionalProperties
      Previous value: -trueNew value: +false
    • removedOutput schema / properties / data / properties / count
      Removed value: -{
      -  "type": "number"
      -}
    • removedOutput schema / properties / data / properties / data
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "$ref": "#/properties/data/properties/items"
      -    },
      -    {
      -      "$ref": "#/properties/data/properties/items/items"
      -    }
      -  ]
      -}
    • removedOutput schema / properties / data / properties / error
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "type": "string"
      -    },
      -    {
      -      "$ref": "#/properties/data/properties/items/items"
      -    }
      -  ]
      -}
    • addedOutput schema / properties / data / properties / family
      Added value: +{
      +  "const": "environment",
      +  "type": "string"
      +}
    • addedOutput schema / properties / data / properties / gaps
      Added value: +{
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • removedOutput schema / properties / data / properties / items
      Removed value: -{
      -  "items": {
      -    "additionalProperties": true,
      -    "properties": {},
      -    "type": "object"
      -  },
      -  "type": "array"
      -}
    • removedOutput schema / properties / data / properties / message
      Removed value: -{
      -  "type": "string"
      -}
    • removedOutput schema / properties / data / properties / meta
      Removed value: -{
      -  "$ref": "#/properties/data/properties/items/items"
      -}
    • removedOutput schema / properties / data / properties / nextCursor
      Removed value: -{
      -  "type": [
      -    "string",
      -    "null"
      -  ]
      -}
    • removedOutput schema / properties / data / properties / ok
      Removed value: -{
      -  "type": "boolean"
      -}
    • addedOutput schema / properties / data / properties / operation
      Added value: +{
      +  "const": "env_errors_overview",
      +  "type": "string"
      +}
    • removedOutput schema / properties / data / properties / pageInfo
      Removed value: -{
      -  "$ref": "#/properties/data/properties/items/items"
      -}
    • addedOutput schema / properties / data / properties / partial
      Added value: +{
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / data / properties / records
      Added value: +{
      +  "items": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "createdAt": {
      +        "type": "string"
      +      },
      +      "environment": {
      +        "type": "string"
      +      },
      +      "facts": {
      +        "items": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "name": {
      +              "type": "string"
      +            },
      +            "value": {
      +              "anyOf": [
      +                {
      +                  "type": "string"
      +                },
      +                {
      +                  "type": "number"
      +                },
      +                {
      +                  "type": "boolean"
      +                },
      +                {
      +                  "type": "null"
      +                },
      +                {
      +                  "items": {
      +                    "type": [
      +                      "string",
      +                      "number",
      +                      "boolean",
      +                      "null"
      +                    ]
      +                  },
      +                  "type": "array"
      +                }
      +              ]
      +            }
      +          },
      +          "required": [
      +            "name",
      +            "value"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "id": {
      +        "type": "string"
      +      },
      +      "key": {
      +        "type": "string"
      +      },
      +      "message": {
      +        "type": "string"
      +      },
      +      "metric": {
      +        "type": "string"
      +      },
      +      "name": {
      +        "type": "string"
      +      },
      +      "severity": {
      +        "type": "string"
      +      },
      +      "status": {
      +        "type": "string"
      +      },
      +      "summary": {
      +        "type": "string"
      +      },
      +      "tags": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "timestamp": {
      +        "type": "string"
      +      },
      +      "title": {
      +        "type": "string"
      +      },
      +      "type": {
      +        "type": "string"
      +      },
      +      "unit": {
      +        "type": "string"
      +      },
      +      "updatedAt": {
      +        "type": "string"
      +      },
      +      "url": {
      +        "type": "string"
      +      },
      +      "value": {
      +        "type": "number"
      +      }
      +    },
      +    "required": [
      +      "facts"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • removedOutput schema / properties / data / properties / results
      Removed value: -{
      -  "$ref": "#/properties/data/properties/items"
      -}
    • removedOutput schema / properties / data / properties / status
      Removed value: -{
      -  "type": [
      -    "string",
      -    "number"
      -  ]
      -}
    • addedOutput schema / properties / data / properties / summary
      Added value: +{
      +  "type": "string"
      +}
    • removedOutput schema / properties / data / properties / text
      Removed value: -{
      -  "type": "string"
      -}
    • addedOutput schema / properties / data / properties / total / minimum
      Added value: +0
    • changedOutput schema / properties / data / properties / total / type
      Previous value: -"number"New value: +"integer"
    • addedOutput schema / properties / data / properties / truncated
      Added value: +{
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / data / properties / warnings
      Added value: +{
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / data / required
      Added value: +[
      +  "family",
      +  "operation",
      +  "records",
      +  "total",
      +  "partial",
      +  "truncated",
      +  "warnings",
      +  "gaps"
      +]
    • addedOutput schema / properties / dataSchemaVersion
      Added value: +{
      +  "const": 2,
      +  "type": "number"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "contractVersion",
      -  "ok",
      -  "data"
      -]New value: +[
      +  "contractVersion",
      +  "dataSchemaVersion",
      +  "ok",
      +  "data"
      +]
  2. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so safety is covered. The description adds behavior those annotations don't contain: the result always includes a field _signatureAscii and the agent must paste it at the end of its answer in a ```text block. That is a concrete output contract that meaningfully changes how the tool is used.

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?

Two sentences, front-loaded with what is returned, followed by the mandatory output instruction. The second sentence about _signatureAscii is longer but earns its place since omitting the chart would be a real failure mode.

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

Completeness4/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 needn't be explained, and the one thing the schema can't express — the mandatory ASCII chart rendering — is stated. The gap is domain placement: with dozens of overlapping observability/environment siblings, the description never says what data source backs 'posibles causas raíz' or when this beats env_health_summary.

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 description coverage is 100%: env, hours (1-168, default 24) and context_id are all documented in the schema. The description adds nothing about parameters, so baseline 3 applies — the schema does all the work.

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

Purpose4/5

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

States a specific verb (devuelve), a specific resource (resumen de errores de un entorno), and enumerates the content: top error services, frequent messages, and possible root causes. That is concrete, but it never names or distinguishes itself from equally disjoint siblings such as env_health_summary, dd_errors_by_service or env_capacity_overview, which all deal with the same domain.

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

Usage Guidelines3/5

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

Usage is only implied by the subject matter (error-focused summary of an environment). There are no when-to-use vs when-not-to-use rules, no mention of env_health_summary or the Datadog error tools, and no stated prerequisites . The agent has to infer that env_errors_overview is chosen when errors are the focus.

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.

Resources