Skip to main content
Glama

Airlok

Скорость сайта

get_speed
Read-only

Скорость сайта у настоящих посетителей за окно 24h, 7d или 30d: 75-й перцентиль Web Vitals (ttfb, fcp, lcp, inp — мс; cls — тысячные) и доли «хорошо»/«плохо» по порогам Google, по устройствам и страницам, публикации и как изменилась скорость после последней. Плюс последняя проверка с серверов Airlok (check_speed): время ответа, пробуждение уснувшего сайта, вес страницы и что исправить. Замер у посетителей включается set_speed_insights — на хостинге и на своём сервере.

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_speed"
  }
}

Input Schema

NameRequiredDescriptionDefault
appYesid приложения, его имя или «сервер/имя»
rangeNoокно, по умолчанию 7d
deviceNoтолько телефоны или компьютеры; по умолчанию все

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.2/5.0
Behavior4/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 genuinely useful behavior beyond that: the data only exists if set_speed_insights has been enabled (on hosting or on a self-managed server), and it spells out the shape of the payload — percentiles, threshold shares, per-device/per-page breakdowns, and post-publication deltas. It does not discuss latency or data freshness beyond the window itself.

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?

Three dense but front-loaded sentences: what is measured, what extra server check is included, and how the data gets enabled. Every clause carries information, though the final sentence about set_speed_insights reads partly as a cross-reference rather than pure tool description.

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?

There is no output schema, so the description must explain returns — and it does so thoroughly, covering metrics, units (ms, thousandths for cls), aggregation (75th percentile), segmentation, and the embedded server check. Combined with the stated enabling prerequisite, an agent has everything needed to call it and interpret the result.

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 enums and defaults documented for range and device, so the schema carries the parameter burden. The description mentions the same three windows and the device split but adds no format, default, or interaction semantics beyond what the schema already states — baseline 3 applies.

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 states a specific verb+resource (site speed for real visitors) and enumerates the exact metrics returned: 75th-percentile Web Vitals (ttfb, fcp, lcp, inp, cls) plus good/poor shares by Google thresholds, split by device and page. It also carves out the server-side portion by naming check_speed as the source of the response-time/wake-up/page-weight check, so an agent can separate it from that sibling without opening either schema.

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

Usage Guidelines4/5

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

Usage context is clear: this is the field-data view over a 24h/7d/30d window, with check_speed supplying the synthetic server check and set_speed_insights being the switch that turns visitor measurement on. That precondition is exactly the kind of routing hint an agent needs, but there is no explicit 'use this instead of X when Y' exclusion statement.

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