Skip to main content
Glama

Medir várias

analyze_pages
Read-onlyIdempotent

Mede até cinco páginas ao mesmo tempo e devolve uma linha por página: as quatro notas, o LCP, o CLS e a sugestão de maior economia. Acha a página mais lenta de um site; o detalhe de uma página fica em analyze_page.

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": {
      "urls": "<urls>"
    },
    "name": "analyze_pages"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlsYesAté cinco endereços públicos.
strategyNoCelular ou computador. Padrão: mobile, que é o que o Google usa para indexar.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so safety is covered. The description adds value beyond them by disclosing the return shape (one row per URL containing four scores, LCP, CLS and the largest savings suggestion) and by restating the five-page batch ceiling; it does not mention error behavior or rate limits, keeping it at 4.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two tight sentences with the batch scope and return shape front-loaded, followed by the routing constraint. No filler, and the sibling pointer is placed last where it is most useful.

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 carries the burden of explaining return values and it does so concretely (four scores, LCP, CLS, savings suggestion). Combined with the batch limit and the analyze_page routing, the agent has enough to invoke it correctly; only failure modes and any quota behavior are unaddressed.

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 params documented and the strategy enum explaining the mobile default. The description only reinforces the maxItems=5 limit and adds nothing about the strategy parameter or URL format, so the schema does the heavy lifting and 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?

States a concrete verb and resource ('mede até cinco páginas ao mesmo tempo') with the batch size explicit, and immediately distinguishes itself from the sibling analyze_page, which handles per-page detail. An agent can tell from the description alone that this is the bulk/overview variant.

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

Usage Guidelines5/5

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

Gives an explicit use case ('acha a página mais lenta de um site') and an explicit routing rule away from this tool ('o detalhe de uma página fica em analyze_page'). That is the when-to-use / when-not / alternative triple, which is exactly what an agent needs to choose between the sibling pair.

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