Skip to main content
Glama

Synapse Layer — Trust Infrastructure for AI Agents

slo_report

Read-only

Return uptime and SLO metrics for the MCP service.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
admin_tokenYesAdmin authentication token. Must match ADMIN_TOKEN environment variable.
window_hoursNoTime windows in hours for the report. Default: [24, 168] (24h + 7d).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
p50No
p95No
uptimeYes
windowNo
errorRateNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "errorRate": {
      +      "type": "number"
      +    },
      +    "p50": {
      +      "type": "number"
      +    },
      +    "p95": {
      +      "type": "number"
      +    },
      +    "uptime": {
      +      "type": "number"
      +    },
      +    "window": {
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "uptime"
      +  ],
      +  "type": "object"
      +}
  2. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -{
      -  "additionalProperties": true,
      -  "properties": {
      -    "code": {
      -      "description": "Error code on admin-auth failure.",
      -      "type": "string"
      -    },
      -    "error": {
      -      "description": "Present only on admin-auth failure.",
      -      "type": "string"
      -    },
      -    "generatedAt": {
      -      "type": "string"
      -    },
      -    "status": {
      -      "enum": [
      -        "nominal",
      -        "degraded",
      -        "insufficient_data"
      -      ],
      -      "type": "string"
      -    },
      -    "version": {
      -      "type": "string"
      -    },
      -    "windows": {
      -      "items": {
      -        "additionalProperties": true,
      -        "properties": {
      -          "avgLatencyMs": {
      -            "type": "number"
      -          },
      -          "errorRate": {
      -            "type": "number"
      -          },
      -          "p50LatencyMs": {
      -            "type": "number"
      -          },
      -          "p95LatencyMs": {
      -            "type": "number"
      -          },
      -          "p99LatencyMs": {
      -            "type": "number"
      -          },
      -          "toolBreakdown": {
      -            "additionalProperties": true,
      -            "type": "object"
      -          },
      -          "topErrors": {
      -            "items": {
      -              "additionalProperties": true,
      -              "properties": {
      -                "count": {
      -                  "type": "number"
      -                },
      -                "errorCode": {
      -                  "type": "string"
      -                }
      -              },
      -              "type": "object"
      -            },
      -            "type": "array"
      -          },
      -          "totalRequests": {
      -            "type": "number"
      -          },
      -          "windowHours": {
      -            "type": "number"
      -          }
      -        },
      -        "type": "object"
      -      },
      -      "type": "array"
      -    }
      -  },
      -  "type": "object"
      -}New value: +null
  3. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": true,
      +  "properties": {
      +    "code": {
      +      "description": "Error code on admin-auth failure.",
      +      "type": "string"
      +    },
      +    "error": {
      +      "description": "Present only on admin-auth failure.",
      +      "type": "string"
      +    },
      +    "generatedAt": {
      +      "type": "string"
      +    },
      +    "status": {
      +      "enum": [
      +        "nominal",
      +        "degraded",
      +        "insufficient_data"
      +      ],
      +      "type": "string"
      +    },
      +    "version": {
      +      "type": "string"
      +    },
      +    "windows": {
      +      "items": {
      +        "additionalProperties": true,
      +        "properties": {
      +          "avgLatencyMs": {
      +            "type": "number"
      +          },
      +          "errorRate": {
      +            "type": "number"
      +          },
      +          "p50LatencyMs": {
      +            "type": "number"
      +          },
      +          "p95LatencyMs": {
      +            "type": "number"
      +          },
      +          "p99LatencyMs": {
      +            "type": "number"
      +          },
      +          "toolBreakdown": {
      +            "additionalProperties": true,
      +            "type": "object"
      +          },
      +          "topErrors": {
      +            "items": {
      +              "additionalProperties": true,
      +              "properties": {
      +                "count": {
      +                  "type": "number"
      +                },
      +                "errorCode": {
      +                  "type": "string"
      +                }
      +              },
      +              "type": "object"
      +            },
      +            "type": "array"
      +          },
      +          "totalRequests": {
      +            "type": "number"
      +          },
      +          "windowHours": {
      +            "type": "number"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    }
      +  },
      +  "type": "object"
      +}
  4. Added

TDQS

B3.1/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true, so the description adds no further behavioral disclosure. It does not mention auth requirements beyond the schema, rate limits, or potential side effects. The description is purely a restatement of the tool's purpose.

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?

The description is a single sentence with no filler words. It is appropriately concise for a simple tool, though it could be slightly more informative without sacrificing conciseness.

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?

Despite having an output schema and simple parameters, the description omits important context such as the requirement for admin authentication, the default time windows, and the relationship to health_check. The agent is left with insufficient guidance for correct invocation beyond the schema.

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%, so the baseline is 3. The description adds no parameter information beyond what the schema already provides; it does not mention either admin_token or window_hours. The agent must rely entirely on the schema for parameter semantics.

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 clearly states the tool returns 'uptime and SLO metrics for the MCP service,' using a specific verb and resource. It distinguishes itself from sibling tools like health_check, which likely returns a simpler health status, and other tools focused on memory or text processing.

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?

The description provides no guidance on when to use this tool versus alternatives such as health_check, nor does it mention prerequisites (e.g., the need for an admin token) or when not to use it. The agent must infer usage from the parameter schema alone.

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.