Skip to main content
Glama

page weight

page_weight
Read-only

Page weight and speed check: time to first byte, HTML size, every script, stylesheet, image and media file with sizes, third-party requests, the largest files, compression and caching, with concrete speed fixes. Costs $0.003 USDC per call (x402).

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": {
      "url": "<url>"
    },
    "name": "page_weight"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations only cover readOnly/openWorld, so the description carries real weight here — and it does disclose a critical behavioral trait: it costs $0.003 USDC per call via x402, which changes agent invocation strategy. It also implicitly describes the return payload by listing the measurements returned. It stops short of explaining auth/payment flow or rate limits.

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?

Front-loaded with the core purpose, then the measurement list, then cost. The enumeration is long but every item is informative rather than filler. Slightly run-on but no wasted sentences.

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?

With no output schema, the description partly serves as a return-value preview and adds the important cost model. Given one obvious parameter and read-only annotations, an agent has nearly everything needed; only URL format and payment mechanics are left unspecified.

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 0% and the single 'url' parameter is undocumented. The description implies the input is a page to be analyzed but gives no format guidance (scheme required, absolute vs relative, redirects). For a trivial single param this is borderline acceptable, but not fully compensating.

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?

States a specific verb+resource ('Page weight and speed check') and then enumerates exactly what is measured — TTFB, HTML size, scripts, stylesheets, images, media, third-party requests, compression and caching. This clearly separates it from adjacent siblings like seo, website_carbon, domain_audit, and page_actions.

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?

No when-to-use or when-not-to-use guidance, and no alternative sibling is named despite many overlapping tools (seo, website_carbon, report_website_audit, http_inspect). The agent must infer that this is the performance-focused page audit option purely from the content list.

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