Skip to main content
Glama

Airlok

Метрики приложения

get_metrics
Read-only

Запросы к сайту, ошибки 4xx/5xx, время ответа p95 и доступность за окно 24h, 7d или 30d.

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": {
      "app": "<app>"
    },
    "name": "get_metrics"
  }
}

Input Schema

NameRequiredDescriptionDefault
appYesid приложения, его имя или «сервер/имя»
rangeNoокно, по умолчанию 24h

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so safety is covered. The description adds useful substance beyond that: the exact metric families and that results are scoped to a chosen window. It omits freshness/aggregation behavior and the shape of the returned data, so it earns a moderate rather than high score.

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?

A single short sentence with no filler, front-loading the metric list and putting the window choices last. It is a clipped noun phrase without a leading verb, which slightly reduces structural clarity but wastes nothing.

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

Completeness3/5

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

For a simple read-only two-parameter tool with a fully documented schema this is mostly adequate, and the enumerated metrics partially substitute for the missing output schema. However, with no output schema present, the description does not say how the metrics are returned (per-day series vs single aggregate), leaving a real gap for the agent.

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%, with both `app` and the `range` enum fully documented in the schema, so the baseline is 3. The description corroborates the three windows (24h/7d/30d) but adds no extra meaning about `app` identifier forms or default behavior beyond what the schema states.

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?

The description names the concrete data the tool returns — site requests, 4xx/5xx errors, p95 response time and availability — which is specific enough to identify the resource. It stops short of a verb+resource framing and never distinguishes itself from overlapping siblings such as get_visits or get_speed.

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 explicit when-to-use or when-not-to-use guidance. The agent can infer this tool yields aggregate metrics for a window, but nothing tells it to prefer this over get_visits or get_speed, nor what precondition (e.g. app must exist/deployed) applies.

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